Forums > MaxMSP

Midi Map Pads to Different Preset States In Granulator

Feb 10 2014 | 9:33 am

I set up a pattrstorage system to cycle through different sounds in Granulator. The intention is to have all the good sounding articulations of a sample be accessible, like a chopped sample, but with the flexibility of Granulator. My question is; how can I map each state to my drum pads? Without using a knob or slider to cycle through, because I’d like to completly switch from state to state.
Thank you,

Feb 11 2014 | 1:20 pm

I’m assuming the pads transmit MIDI note numbers for each specific pad. In that case, assign a specific note number for each preset and use the notein object to get the incoming note number. If you are getting two quick note messages (note on and note off), use the stripnote object to remove the note off messages. That should do the trick.

Feb 11 2014 | 2:05 pm

Thank you! Much appreciated will try that out

Feb 12 2014 | 4:42 am

I connected a notein object to the preset object, I am confused about how to assign specific note numbers. Do you mean in Live or Max patcher window?
Thank you

Feb 12 2014 | 7:37 am

I’m talking about in the Max patcher. The simplest way would be to use a select object for the various MIDI note numbers you want to use. Then, you will get a bang each time that number is received. Use the bang to trigger the preset events you want to happen.

-- Pasted Max Patch, click to expand. --


Feb 12 2014 | 7:46 am

I just re-read your original post and saw that you are using pattrstorage. In that case, you could probably just use a subtraction object on the note number to lower it to the values of your store presets. If the pads output note numbers sequentially (i.e. 48, 49, 50, 51, 52, etc.), you could just subtract 47 from each of the note numbers to get values 1, 2, 3, 4, 5, etc.

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

Forums > MaxMSP