AnalogOsc
Audio AudioPolyphonic virtual analog oscillator with anti-aliased classic waveforms.
Drive with notes_in from any note source (Tracker, NotePattern,
Sequencer, ChordProgression, ...) — voices are allocated internally with
built-in ADSR and summed into a stereo output. Advanced voices_out
(per-voice multichannel) plus the four voice_* control lanes expose
per-voice state for downstream VoiceMixer/VoiceDrive/Filter routing.
Source src/analog_osc.cpp
Parameters
| Name | Type | Description |
|---|---|---|
| waveform | int | — |
| pulse_width | float | — |
| amplitude | float | — |
| detune | float | — |
| portamento | float | — |
| interaction_mode | int | — |
| interaction_depth | float | — |
| interaction_input_gain | float | — |
| interaction_tracking | float | — |
| attack | float | — |
| decay | float | — |
| sustain | float | — |
| release | float | — |
| pressure_to_amp | float | — |
| timbre_to_pwm | float | — |
Ports
| Name | Direction | Type |
|---|---|---|
| mod_input | Input | AUDIO_BUFFER |
| 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 |