I'm running a set of programs where I need to chain route the audio.
Program 1 generates audio which needs to be silently routed into program 2, and then program 2 creates a new audio source which needs to be silently routed into program 3. Finally program 3 creates audio which should go to the speakers.
Can anyone help me figure out what the best way to achieve this is? I've managed to route audio silently from program 1 into program 2 using "sudo modprobe snd-aloop", which gives me a loopback device.
But now i'm stuck on how silently route that audio into program 3. Oh and this can't be achieved by pipes.