choking maxforlive devices when inside drum racks

nedrush's icon

HELLO!

i/m making a device to use inside drum racks in ableton, just a simple sound player thats triggered on note 60. thing is i want the sound to choke in side a drum rack like regular ableont devices do, but they dont, so i'm guessing there is something obvious or clever i need to do that i havent.

i know i should post a example patch but its not much use explaining it unless its inside a drum rack. i hope my question is enough in itself.

thanks
bye/

nedrush's icon
jrs1's icon

I was just looking to do this and came across this thread. I'm sure you've probably solved this, I've written out the below in a simplified way for any people new to max (it's not aimed at you).

To avoid someone else having to do the research themselves, this is what I just found out by playing around/reverse engineering (it's what you expect - a note off message is sent to the relevant choke groups)

Drum Rack Choking in M4L:
1. Assign two pads in a drum rack to the same choke group
2. Trigger one pad (via MIDI or qwerty keyboard), the midi note out* will be sent to the first pad's M4L device.
3. Then trigger the second pad, the midi note out will be sent to the second pad's M4L device AND simultaneously a note-off message (pitch and velocity 0) will be sent to the first pad's M4L device too. Additionally a CC message of 120 value 0 is sent to the first pad too (All Sound Off - http://www.nortonmusic.com/midi_cc.html)

What do I need to do in my M4L device then? :
As long as your M4L device is programmed to respond to note off messages (e.g. turn down volume, stop note, mute the poly~ etc) then the Ableton drum rack choking mechanism should let one device choke another. Review the example patches in the Max folder details on making polphonic instruments (adsr~ and poly~)

* (per the device's 'Play' chain setting, which may be different to the incoming midi note) .