I feel like I'm stuck on something very simple here.
I'm trying to send MIDI notes from stage to lighting desk via Wifi, Lemur, and CoreMIDI devices. Just using MIDI seems a bit shaky, dropping notes and sloppy timing, so I'm attempting to use OSC over the network as the connection works well when touching the pads, and seems to have lower latency than MIDI.
A bit more info if it helps:
The two iPad's are connected to a Wifi network created by an Airport Express router set to a static IP. There is no computer of internet connection involved here.
One iPad is connected to MIDI sequencers onstage via iRigMIDI, the other sits in an iDock feeding MIDI to the lighting desk. There's two Lemur patches, the sender patch is just a set of ten touch pads assigned to MIDI notes sent by a drum machine. At the receiving end there are also ten pads with the same MIDI note settings, named the same as in the sender, so they automatically share an OSC address too. I am using the same MIDI 0 and OSC 0 ports on each device.
This MIDI data is then fed to the lighting console through some switches to re-direct the notes to different notes, allowing rhythms to be freely assigned different light effects.
At each end the connection between MIDI and device (light desk/ MIDI sequencer on stage) works fine. In between, the OSC works fine.
I am stuggling to get the sending pads to output OSC on receipt of the MIDI message.
I thought it might do this automatically but there seems to be no trigger link between the MIDI and OSC settings on the touch pads?
I've tried using the following script triggered by the pad's assigned MIDI ON note:
oscout(0,'/BassDrum',{BassDrum.x});
Where BassDrum is the OSC name for the pad at both ends of the connection, also to no avail.
What am I doing wrong here?
Any help appreciated..
Sam
Communicating between two Lemur's
Re: Communicating between two Lemur's
Hi
Perhaps look into the ON_MIDI script execution option . . .
Then you could recieve the midi messages and use the script to send out the needed OSC.
Hope that helps
MM
Perhaps look into the ON_MIDI script execution option . . .
Then you could recieve the midi messages and use the script to send out the needed OSC.
Hope that helps
MM
iMac 2.8G i7 12G 10.6.8/10.7.2, Legacy Dexter/Lemur, Liine Lemur/iPad2, KMI SoftStep, 12Step & QuNeo , B-Controls, Mackie C4 etc
MaxMSP, Live Suite, Native Instrument stuff, etc Modified Virtual Guitar System etc All Projects/Modules © CC-BY-NC-SA[*][/b]
MaxMSP, Live Suite, Native Instrument stuff, etc Modified Virtual Guitar System etc All Projects/Modules © CC-BY-NC-SA[*][/b]
Re: Communicating between two Lemur's
Thanks for that Macciza. I think thats what I'm doing..
I have the following script line inside the BassDrum pad on the sending patch, executed by ON_MIDI (note on 36, channel 16)
oscout(0,'/BassDrum/x',{BassDrum.x[0]});
This is received by the BassDrum pad at the other end, but in a strange way... seems to be triggered by the note off's, plus some latency that isn't there when pressing the pad directly. Its definitely scripted to fire the OSC on the on's..
I am pretty confused so any advice is gold.. have to have it working for a show on Saturday
Thanks again,
Sam
I have the following script line inside the BassDrum pad on the sending patch, executed by ON_MIDI (note on 36, channel 16)
oscout(0,'/BassDrum/x',{BassDrum.x[0]});
This is received by the BassDrum pad at the other end, but in a strange way... seems to be triggered by the note off's, plus some latency that isn't there when pressing the pad directly. Its definitely scripted to fire the OSC on the on's..
I am pretty confused so any advice is gold.. have to have it working for a show on Saturday
Thanks again,
Sam