audio to midi

cyber muta's icon

Hi folks!
I'm just starting to integrate myself into the m4l world, so everything here for me is very new..
I wonder if someone could help me out a little bit..
Basically, I work with contact mic and convert it's audio signal to the midi. For this I'm using tigger made by yehezkel raz http://4live.me/post/111091566618/trigg-me. The midi track placed in ableton and routed to the sample loaded into the simpler. And here I have a question: is there any device which could ignore every incoming audio or converted midi signal after the first one and let the sample play till the end first and just after the sample is finished (all the length), the process can re-begin. Sort of midi gate? with specific command where the first triggered signal woud be mapped to the length of the sample? Has anyone have any experience with that?
Any advice would be very appreciable!
Many thanks!

Evan's icon

Yeah this is definitely possible, would probably be more efficient to keep it all in Max though, and not translate to MIDI just to play a sample. You could build a very simple sample player in max. But if you're using some of the cool stuff in Simpler, that might not be an option.

The logic would be pretty simple for waht you're asking though: Once you receive a 'play' message from your trigger, you close a gate that passes the play messages to the sampler. Once that sample is done playing, you open the gate again. Not sure what API calls/properties there are for play position in Simpler, so that's why I thought it might be easier in Max.

cyber muta's icon

That makes sense, I don't do anything magical in Simpler, but I'm using important midi devices and effects, so and the end of everything it got to be midi..But couldn't I do the same? Build the midi gate, ''when it receive s a 'play' message from the trigger, it closes and passes the play messages to the sampler''? Maybe you guys have any advice on it? Forward any tutorial where I could find exact or similar functionality of device and build it? I would be extremely thankful!