Mute 3 (SOLO 1) out of 4 simultaneously played audiofiles - help!
I am trying to create a Max MSP program that will play 4 individual (but exactly matching) audiofiles simultaneously, but only let one through to the dac~ at a time - controlling this manually (eventually randomly). I've tried to use mute~ but it will not work with sfplay~. I've also looked at poly~, but I don't understand how to play multiple files at the same time with this.
My files are such that they match but they have a different number of outputs into the dac (mono, stereo etc) and 3 out of the 4 can actually be made from only one audiofile, so that an alternative would be to be able to mute channels to the dac at the end - is this possible? It would be my last resort though, because my last audiofile can not be created this way.
Appreciate all kinds of help!!
You could try using play~ along with buffer~ to play several files at the same time. You would need a play~ and buffer~ for each sound file you want to play. Then have the output of each sound file going into their own gain~, which you could automate to turn down and mute the sound files when you needed.
[decode] can also be useful for mute/soloing kinds of things, with its hierarchical functions built-in.