Max If then midi question

Jan 3, 2010 at 2:04am

Max If then midi question

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 3, 2010 at 2:15am

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 3, 2010 at 2:20am

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 3, 2010 at 3:07am

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


You must be logged in to reply to this topic.