SubOsc
Audio AudioPolyphonic sub oscillator for reinforcing each active voice below the main pitch.
Drive with notes_in from any note source — voices are allocated internally
with a built-in ADSR and summed into a stereo output. The advanced
voices_out (per-voice multichannel) and voice_* breakouts expose
per-voice state for downstream VoiceMixer/EnvelopeAu/Filter routing.
Source src/sub_osc.cpp
Parameters
| Name | Type | Description |
|---|---|---|
| level | float | — |
| velocity_to_level | float | — |
| octave | int | — |
| waveform | int | — |
| attack | float | — |
| decay | float | — |
| sustain | float | — |
| release | float | — |
| pressure_to_amp | float | — |
| timbre_to_level | float | — |
Ports
| Name | Direction | Type |
|---|---|---|
| pitch_mod_audio | Input | AUDIO_BUFFER |
| output | Output | AUDIO_BUFFER |
| voices_out | Output | AUDIO_BUFFER |
| voice_ids | Output | LANE_ARRAY |
| voice_gates | Output | LANE_ARRAY |
| voice_velocities | Output | LANE_ARRAY |
| voice_freqs | Output | LANE_ARRAY |