Midi Remote Script - MIDI Out

Discuss music production with Ableton Live.
Post Reply
sunriser111671
Posts: 1
Joined: Mon Jan 07, 2019 3:41 am

Midi Remote Script - MIDI Out

Post by sunriser111671 » Mon Jan 07, 2019 4:24 am

I'm working on a custom MIDI remote script for a surface app I'm creating.

I'm trying to get MIDI Note data out from Live into my app similar to the way the Push 2 does it to light up the notes played by the user or from a midi clip playing on the selected track.

Somehow, Live is able to send MIDI note data back to the Push 2 without the need for any extra MIDI tracks when an Ableton or VST instrument is used. MIDI CC messages work fine using my virtual Midi Port on my app but not Note On/Off data. I CAN get it to work if I add a new Midi Track and route the VST instrument to MIDI In and virtual MidiPort to Out but I don't want to have to do that for each Midi Channel.

Anyone familiar enough with Remote scripting to show me what I need to do in the script to "echo" Midi data from an instrument or playing clip to a virtual MIDI Port in my script?

Thanks!

hoffman2k
Posts: 14718
Joined: Tue Jun 15, 2004 6:40 pm
Location: Belgium
Contact:

Re: Midi Remote Script - MIDI Out

Post by hoffman2k » Mon Jan 07, 2019 10:57 am

The contents of a playing clip is something you could call up with the API. But monitoring live input would require an MFL device to relay that data to your app.
I have the same problem to solve. I think the easiest way would be to put the instrument in a rack and create a second chain that contains an External Instrument that just sends the MIDI to the App, which in turn translates the notes to the correct pads. You could even utilize the MIDI Channels so you know which track its from.
Its still as much work as adding extra tracks, but looks a bit neater.

Post Reply