Updated Splitting and Merging Audio (markdown)

Phil Schatzmann 2022-04-13 16:14:33 +02:00
parent 1344322dfc
commit cc4154b700

@ -2,5 +2,8 @@
Instead of copying the audio to a single destination you can use the [MultiOutput](https://pschatzmann.github.io/arduino-audio-tools/html/classaudio__tools_1_1_multi_output.html) class and add multiple final output classes to it: e.g. a [I2SStream](https://pschatzmann.github.io/arduino-audio-tools/html/classaudio__tools_1_1_i2_s_stream.html) and the [VolumePrint](https://pschatzmann.github.io/arduino-audio-tools/html/classaudio__tools_1_1_volume_print.html) class which measures the volume.
## Merging Audio - Mixing Multiple Inputs into One Output
You can use the [Mixer](https://pschatzmann.github.io/arduino-audio-tools/html/classaudio__tools_1_1_mixer.html) 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__.
You can use the [Mixer](https://pschatzmann.github.io/arduino-audio-tools/html/classaudio__tools_1_1_mixer.html) 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__. Note that this is however only working if the basic audio information is the same across all inputs:
- number of channels
- bits per sample
- sample rate