layers of sounds

Oct 13, 2012 at 4:09pm

layers of sounds

Hi,
I have an arduino+sensor connected to Max. Using an if statement, every time the sensor is above a certain value, a wav file is being played.
Whenever there’s a new value coming from the sensor, the existing sounds are interrupted, sliced, and start their playing from the beginning.

Is there a way to make the sounds finish playing their full length and using the new values coming in to ADD to them? thus creating layers of sounds? I’m using now the poly~, still not working..

cheers,

#64749
Oct 13, 2012 at 6:54pm

it should work, at this point anyone needs your patch to help you

#233507
Oct 15, 2012 at 10:40am

depending in the amount of sounds you want to play simultaneously, you can use multiple buffer~/groove~ objects (or sfplay~ for longer files). They all contain their own sound file and get triggered when that sensor is over a certain threshold. This way no sample gets interrupted.

#233508
Oct 15, 2012 at 10:51am

And if you find the if statement a little cumbersome, try [> N] into [togedge], where N is your desired threshold. Most of my interactive patches use this method. Very solid.

#233509
Oct 17, 2012 at 3:00pm

I’m guessing that one of two things have happened with poly~: either thispoly~ is not present or not connected correctly, or your input to the poly~ patch is not using the midinote/note message. (which tells poly~: “Hey, you need to take care of voice handling for this…”)

#233510

You must be logged in to reply to this topic.