Hi,
I just uploaded my new library for switching (on and off) in audio streams. It lets the user / program change routes through the audio blocks. The library is at https://github.com/kvdijken/AudioPlugs
From the readme file:
This library lets the user create switches in the audio path. These switches can be switched on and off at runtime.
It includes two classes: AudioInputPlugs and AudioOutputPlugs.
AudioInputPlugs contains four inputs and one output. One input can be switched through to the output. Or neither input can be used, and hence there will be no output. The switching can be done with the plug() method.
AudioOutputPlugs contains one input and four outputs. Any of the four outputs can receive the data from the input, also simultaneously. The switching can be done with the plug() and unplug() methods. Plug for switching on, and unplug for switching off.
Have fun!
I just uploaded my new library for switching (on and off) in audio streams. It lets the user / program change routes through the audio blocks. The library is at https://github.com/kvdijken/AudioPlugs
From the readme file:
This library lets the user create switches in the audio path. These switches can be switched on and off at runtime.
It includes two classes: AudioInputPlugs and AudioOutputPlugs.
AudioInputPlugs contains four inputs and one output. One input can be switched through to the output. Or neither input can be used, and hence there will be no output. The switching can be done with the plug() method.
AudioOutputPlugs contains one input and four outputs. Any of the four outputs can receive the data from the input, also simultaneously. The switching can be done with the plug() and unplug() methods. Plug for switching on, and unplug for switching off.
Have fun!