launch drum rack sample by audio-midi effect

piedone's icon

Hi,

I'm trying to build a M4L audio patch that produce a bang by an edge~, following the incoming audio in the audio track.
This bang should launch a sample on a drum rack midi-track.
So I try to simply generate a midiout message in my M4L patch, and to map it to the Drum Rack. But because of the M4L patch is charged on a different (audio) track, I don't know how to receive it on the Drum Rack. Or perhaps there is an other method?

Thanks a lot !!
piedone

jamesway's icon

s and r objects work with MIDI between tracks.

piedone's icon

Thanks, I didn't think at this simple and useful way!