Expand description
Math-driven audio sources — the same MathFunctions that drive glyphs also drive sound.
A MathAudioSource maps MathFunction output to frequency and amplitude in realtime. The visual and auditory are the same computation expressed through different senses.
§Design
Each source has:
- A
MathFunctionthat evolves over time and produces a scalar in [-1, 1] - A
frequency_rangemapping that scalar to Hz - A
Waveformtype (sine, saw, square, etc.) - An optional
AudioFilter(LP, HP, BP, notch) - A 3D
positionfor spatial panning - A
tagfor grouping/stopping sources - A
lifetime(-1.0 = infinite, positive = seconds)
Structs§
- Audio
Presets - Quick-access library of common audio source presets.
- Math
Audio Source - A mathematical audio source — oscillator driven by a MathFunction.
Enums§
- Audio
Filter - A filter applied to the oscillator output.
- Waveform
- Waveform shape for this audio source’s oscillator.