Forums > MaxMSP

Max If then midi question

Jan 03 2010 | 2:04 am

As a programmer this sounds like it should be easy, but I am have a problem finding out how do I set up logic in max like:
If midi note pitch in is 62 then note out or note sent is 64, else if note in is 63 then note out or sent is 67 else if etc….
the numbers are not what I might use, I just need to learn if I can set up this kind of logic to transform the pitch of incoming messages.

Jan 03 2010 | 2:15 am

you could use [sel x] if x is your number you query, youll get a bang on a positive result so you can do pretty much whatever youd like.

Jan 03 2010 | 2:20 am

Or you could use [coll] to do your note mappings, you can edit this and save it along with your patch which is useful too.


Jan 03 2010 | 3:07 am

Thanks guys, I ended up using a few selects to control the output note numbers depending on the inputs.

Viewing 4 posts - 1 through 4 (of 4 total)

Forums > MaxMSP