¿Audio signal-in to Midi-out in M4L?
Hi,
I wonder if someone could suggest me a way of transform audio-in signals in M4L (a mic input signal for example) into a Midi-out data.
The idea is, I´m working in a live performance in which I want to transform the sound I capture with two microphones. Afther I had captured the audio sounds, I would like (for instance) at certain level the audio signals received could triger midi notes. That notes could be aftherwards patched for trigering a M4L Midi instrument.
Thanks in advance for your help. This forum is very usefull.
Hi Antonio
You cannot create one device with a audio input and a midi output in M4L. A workaround is to create two M4L devices, one audio and one MIDI and pass the MIDI data using [send]/[receive] between them. The backside of this solution is that it might create some unpredictable latency on the MIDI data.
If you have a full Max/MSP license it might be an option to create a Max Patch outside Live and send the MIDI data from there to Live (via a virtual port). In that case the latency would not gone but predictable.
Jan
Rather than send/receive, you might also try using a control source such as CtlEnvFollower on your audio track, which simplifies on-the-fly routing. All you have to do then is to build a simple MIDI Effect that maps the incoming control signal to MIDI notes.
Here's a simple example that produces random notes (put this into an empty MIDI Effect):
I was just about to post a similar question. I've been working on this patch (see below) that "records" pitches that get played and then sends them back out using various delays. However, I'd like to send the pitch numbers (since they're MIDI) to something like Simpler or Granulator in Live. I've had success using send/receive to go between audio tracks in Live. However I can't quite figure out the next step. Any suggestions? Thanks very much.