Sound design audio engine and Module 1 tools
Created by: jedmund
Summary
- New
SynthPlaygroundaudio engine for Sound Design track tools, separate fromSynthAudioEngine(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) andSpectrumView(30fps FFT, log-scale frequency axis) visualization components. -
waveform_generatortool: 5 waveform pill buttons, log-scale frequency slider, live waveform + spectrum display. -
harmonic_series_buildertool: 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