Expand description
WAV file I/O for testing and offline rendering.
Uses hound to write processed audio to WAV files so circuits
can be auditioned without a running JACK server.
Constants§
- DEFAULT_
SAMPLE_ RATE - WAV output spec: 48 kHz, 32-bit float, mono.
Functions§
- guitar_
pluck - Generate a guitar-like test signal (sum of harmonics with decay).
- read_
wav_ mono - Read a WAV file and return mono f64 samples normalized to [-1, 1] plus the sample rate.
- render_
to_ wav - Process a buffer of samples through a pedal and write the result to a WAV file.
- sine_
wave - Generate a sine wave test signal.
- write_
stereo_ wav - Write both input and output (stereo) to a WAV for A/B comparison.
- write_
wav - Write raw f64 samples to a WAV file.