if statements HELP ME :(

Nov 18, 2012 at 10:47pm

if statements HELP ME :(

Hi there….
so basically im useless at this maxmsp stuff and maybe im asking a silly question but here it goes…
so i have a number coming into an if statement between 0-360 if the number is between 0 -30 i want it to trigger one sound for 30-60 a different sound , form 60 -90 another sound and so on….
so far i have this if $f1 > 0. && $f1 < 30 then send first bang || $f1 > 31 && $f1 < 60 then send second bang

I have send and receive objects called first and second…. ANY IDEAS…or can it be done

Nov 18, 2012 at 11:45pm

this is the way I’d do it– div and sel– try avoiding the if object unless it makes things simpler

– Pasted Max Patch, click to expand. –
Nov 19, 2012 at 7:10am


you might want to try [sadam.split] (see http://www.sadam.hu/software ) for that:

– Pasted Max Patch, click to expand. –



You must be logged in to reply to this topic.