Skip to content

Sound design audio engine and Module 1 tools

Created by: jedmund

Summary

  • New SynthPlayground audio engine for Sound Design track tools, separate from SynthAudioEngine (Music Theory). Supports selectable waveforms, multi-oscillator harmonic synthesis, real-time parameter control, and audio taps for visualization.
  • Reusable WaveformView (60fps waveform, zero-crossing stabilized) and SpectrumView (30fps FFT, log-scale frequency axis) visualization components.
  • waveform_generator tool: 5 waveform pill buttons, log-scale frequency slider, live waveform + spectrum display.
  • harmonic_series_builder tool: 8 vertical harmonic amplitude sliders, preset buttons (Sine, Saw-ish, Square-ish, Clear), live visualization of combined harmonics.

Test plan

  • Build succeeds on iPad Pro simulator
  • Waveform generator: all 5 waveforms produce correct sounds, frequency slider is responsive
  • Harmonic series builder: sliders respond immediately, presets produce recognizable timbres
  • Spectrum view shows distinct harmonic peaks for saw wave
  • Audio starts on tool appear, stops on disappear with no leaks
  • Visualization views render smoothly without frame drops

Merge request reports

Loading