Pre/Post midi sends

Discuss Lemur and share techniques.
Post Reply
joebataz
Regular
Posts: 154
Joined: 28 Feb 2012 16:50
Location: Anthem, AZ USA
Contact:

Pre/Post midi sends

Post by joebataz »

Hey all,

Been busy running my Lemur app and tweaking as I go. But now I've run into a question.

I need to send a midi control code and then a note off message. I've tried setting the mapping to both control and note messages but may have run into the "frame world" scenario. So my question is this, when a custom button is mapped to either a control or note on message does the message get sent before the button script executes, or does it get sent afterward?

Thanks,

Joe B
bxsj
Regular
Posts: 116
Joined: 24 Dec 2011 06:47
Location: Vienna

Re: Pre/Post midi sends

Post by bxsj »

Just did a little test. A custom button sending out a midi note on/off and a "on expression x" script assigned to the custom button that sends out a midi control change. Hooked up MIDI-OX to monitor the output from the lemur. In all tests in this scenario the control change was send out before the note on/off command. That is, the script was executed first.
Cheers,
BxSj
Win7 64, Ipad Lemur, Cubase6 and a bunch of Roland Synths and Samplers
joebataz
Regular
Posts: 154
Joined: 28 Feb 2012 16:50
Location: Anthem, AZ USA
Contact:

Re: Pre/Post midi sends

Post by joebataz »

Thanks bxsj!

I did some experimenting of my own and using midi monitor on the mac the control on signal appears to be sent before the script and the control off after. Been trying to find an example of sending controls inside a script using midiout. What's a little frustrating is that if I could:

A. Convert a midi text file (output from midi monitor) to a midi file or
B. Lemur allowed files (arrays) to be saved on the iPad (and subsequently transferred thru iTunes to the Mac)

this whole issue would disappear. I hate to tell you how many different apps I've tried to convert the text to midi, including windows apps running under Parallels on the Mac. I can't get any of the conversion to load back into Abelton Live which is what I use for scene management. Sad thing is I had my app working about 95% and found out in reality it was a little clunky and not responsive enough (not Lemur, just how I have the interface setup) so I've torn the guts out of it and started removing the redundancies. I'm also having an issue with recording to Live. Can't seem to get multi-track midi recording to work in a step mode.

But thanks again for the response. I really am VERY happy with what I have come up with and it works although slow and clunky. Now if the monitor text defaulted smaller and the pad/switches labels was LARGER or adjustable it would be great.


best,

joeb
Post Reply