VoiceMixer
Audio AudioReduces per-voice audio channels to stereo with envelope, pan, velocity, and optional glue shaping.
Accepts either mono-per-voice or stereo-pair voice layouts and combines lane-based and audio-rate modulation inputs for amplitude and pan shaping before summing to the final stereo output. An optional glue stage can add a small amount of post-sum cohesion without changing the lane-routing model. WavetableLayer outputs stereo directly, so use this for legacy WavetableOsc paths and auxiliary per-voice layers rather than for the main production WavetableLayer body.
Source src/voice_mixer.cpp
Parameters
| Name | Type | Description |
|---|---|---|
| input_layout | int | — |
| stereo_spread | float | — |
| vel_to_volume | float | — |
| glue | float | — |
Ports
| Name | Direction | Type |
|---|---|---|
| input | Input | AUDIO_BUFFER |
| amp_env_audio | Input | AUDIO_BUFFER |
| pan_mod_audio | Input | AUDIO_BUFFER |
| amp_env | Input | LANE_ARRAY |
| velocities | Input | LANE_ARRAY |
| pan_mod | Input | LANE_ARRAY |
| output | Output | AUDIO_BUFFER |