Skip to content

Splitting and Merging Audio

Phil Schatzmann edited this page Apr 13, 2022 · 34 revisions

Splitting Audio - Sending Audio to Multiple Destinations

Instead of copying the audio to a single destination you can use the MultiOutput class and add multiple final output classes to it: e.g. a I2SStream and the VolumePrint class which measures the volume.

Merging Audio - Mixing Multiple Inputs into One Output

You can use the Mixer class to merge multiple inputs into one Output. Just add the Sources that need to be mixed to the Mixer and use it as copy source.

Clone this wiki locally