sound.mixer.new

sound.mixer

new(opts) -> mixer

Create a mixer

opts.channels (default 2) must match the output buffer / device channel count. Voices added with mono buffers are upmixed to stereo by the C mixer.