Midi Map Pads to Different Preset States In Granulator
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.
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.
Thank you! Much appreciated will try that out
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?
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.
----------begin_max5_patcher---------- 685.3ocyVtzabBCDG+L6mhQblrhGKjt8Vk5k8PuzdrJpxKLr3HvFY68QZT9t 2AaP6tIAkcoop4BFOLX+meddviy77WKOfZe3yvOAOuGm44YM0YvqetmeC6Pd MSacyOW1zfBief6YF7fwZek.xYZDdPtEpXssn.LRnha.SEBZVCBsrBvrmmiC urXaCWTiF6JG0arkYxq3hM+Rg4FmxhhRmGF.Kus6ZbZncftB20+NkRgQy+MZ WmX5wNy7Bqzjqu+lnX+S7UPxw9nun3r5SjibqYPOCKRoZyZ674gcFdZ1rtKA WHtD3dZ6eAsxqXhMWMG9zQJLMHDdsPHo2pyj4gVzoDe+.vm2EF3Ff6l.aFKT 5GnnPCLXMwHf1Y5VcKlyK44fSHv9JJ9pfWVhJZEfus5qq.gzf.I+0nhdaEBD 3P9NrXNPAmlJt1FgFXcTCYg2jkLr20bAlK2JrBHdZgmQKrmIIgtgjq5nY4+m vywNB9N1H2QPxxTYYIzfZMaCpC.rlSXgYHF.ExsqqQvn3a1PTeh40oYNtsbB gz29Qia1PtdvwEkRnTIa5pJpr0+xIYpj00nZhvJJxRoEoS.VoenpApwZJIDx hfrX3Xp3Y7H8MJF1mysLYBzH4ZoQ5XEC6JT0UIbrwoUdbLrQYascgWuJvheC f4x0RucB75p6fFOFu9aabLBY5fBWLolptrpEYSoo56VO0SvxqQGqlrcpd1Or Y+n5reNxzTMm7g0dn8Ob7Sq.0Fagbo3DmRNymJdQAJNsTPAWynZ91u+WuXvk Jm3KPMOSx+KkCcNBQugbhOymWplFdQqjN35OfRbQUw1Ttz4ot6OtGuqZO7Bz 9THoKri9i9cTG99kzJDJm7dopaZVfcJW3lZS17U3N9f+NGXJJ2yPIdaUtjjC YK7m0sOOM6O.k959yB -----------end_max5_patcher-----------
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.
Forums > MaxMSP