Colour tracking to cut out main audio mix (combing 2 max patches)

May 5, 2010 at 2:35pm

Colour tracking to cut out main audio mix (combing 2 max patches)

Hi
Im very new to max/msp and need help asap.
I have 2 max patches one that uses colour tracking with jit.findbounds with a web camrea that tracks red, green and blue triggering different audio samples. The other uses a dac~ to output different audio to different channel outputs. Which plays the main audio mix that i want playing constantly
What i want to do is have the dac~ (main mix) to play and have the colour tracking patch to cut out the main mix and play the tiggered audio corresponding to the colour shown on the web camera. Then when the colour is removed the main mix will play.

I would appreciate any help in making me achieve this. Thanks

– Pasted Max Patch, click to expand. –

Jenny

#50195
May 6, 2010 at 2:23pm

It sounds like what you’re wanting to do is:
a) have a “main mix” soundfile running constantly,
b) when a particular color occurs, then
–1) trigger the corresponding soundfile,
–2) fade down the main mix while fading up the triggered soundfile, and
c) when the color disappears
–1) fade up the main mix while fading down the soundfile,
–2) stop the soundfile when the crossfade has finished.

A really good object for such audio crossfades is matrix~.

Some possibly relevant example exist at:
http://music.arts.uci.edu/dobrian/IAP2010/examples.htm#Ex02
http://music.arts.uci.edu/dobrian/IAP2010/examples.htm#Ex22
http://music.arts.uci.edu/dobrian/IAP2009/examples.htm#Ex19

http://music.arts.uci.edu/dobrian/IAP2009/examples.htm#Ex20

–Chris

#180156

You must be logged in to reply to this topic.