Unusable Latency w/ onMIDI Scripts

Discuss problems and solutions.
Post Reply
ForestCat
Regular
Posts: 59
Joined: 02 Mar 2012 21:00

Unusable Latency w/ onMIDI Scripts

Post by ForestCat »

Setup:
iRig MIDI, 30 pin
iPhone 4 or iPad2, same result

Could any of you folks tell me what is the very quickest way to pass a DIN MIDI message straight through the Lemur app and back out the h/w DIN MIDI output of a physically connected iOS MIDI Interface(i.e. iRigMIDI)? Please have a look at this basic template,
nn_LatencyTest.jzml
(738 Bytes) Downloaded 166 times
w/ two onMIDI scripts, passing NoteOn/Off from MIDI1 In(iRig) to MIDI1 Out (iRig) out. The latency is unusable. Listen to these audio files. They were created with a pair of h/w synths w/ similar patches, panned hard right & left.

http://www.neilnappe.com/stuff/Lemur/Straight-Lemur.wav
http://www.neilnappe.com/stuff/Lemur/MIDI_Bridge.wav

Straight-Lemur.wav is Synth1 MIDI Out direct to Synth2 MIDI In, 10 Notes; followed by Synth1 though iPad/Lemur & attached template out to Synth2, 10 notes

MIDI_Bridge.wav is Synth1 through iPad/MIDI Bridge app,w/ iRig In patched to iRig Out, 10 Notes. NO AUDIBLE LATENCY, so it's NOT my iPad or the iRig.

WTF???? Am I just going about this totally wrong? Is there another way to pass MIDI data through Lemur without this unacceptable latency?? I sure hope I screwed something up...

Really appreciate any thoughts on this, thanks.
Phil999
Regular
Posts: 919
Joined: 11 Jan 2012 01:53

Re: Unusable Latency w/ onMIDI Scripts

Post by Phil999 »

maybe try with a MIDI_ARGS index.

1. CC messages

MIDI_ARGS[0] CC number
MIDI_ARGS[1] value
MIDI_ARGS[2] Midi channel



2. Note messages

MIDI_ARGS[0] Note number
MIDI_ARGS[1] velocity
MIDI_ARGS[2] Midi channel
Formant+Eurorack, PPG wave 2.2, Korg MS-20, etc., EWI 4000s, QuNeo, etc., Mixbus32c, u-he, MadronaLabs, Samplemodeling, NI, etc., iPad2/4/Pro
ForestCat
Regular
Posts: 59
Joined: 02 Mar 2012 21:00

Re: Unusable Latency w/ onMIDI Scripts

Post by ForestCat »

Phil, not sure what you mean re: index?
If you mean this:

midiout(0,{0x90,MIDI_ARGS[0],MIDI_ARGS[1],MIDI_ARGS[2]});

I already tried that.


I think my test template above is simplest case? If you know of a way to get a DIN MIDI NoteOn/Off through a Lemur with an attached physical MIDI interface with less latency, could you post a template for me to try?

Thanks!
Phil999
Regular
Posts: 919
Joined: 11 Jan 2012 01:53

Re: Unusable Latency w/ onMIDI Scripts

Post by Phil999 »

there are a lot of templates with MIDI in and out, they work fine without latency. At least that's what it used to be like, I'm a bit unsure about the problem you're describing. I will do a test when I'm back home next month.
Formant+Eurorack, PPG wave 2.2, Korg MS-20, etc., EWI 4000s, QuNeo, etc., Mixbus32c, u-he, MadronaLabs, Samplemodeling, NI, etc., iPad2/4/Pro
Phil999
Regular
Posts: 919
Joined: 11 Jan 2012 01:53

Re: Unusable Latency w/ onMIDI Scripts

Post by Phil999 »

did a test today, and didn't hear any latency. Notes went from a SQ-1 sequencer (via USB) to Lemur, from Lemur to Model 15 app. When I connected the SQ-1 directly to Model 15, same result.

I have no idea where your problem lies. Maybe something with Midibridge? I don't know that app.

Edit, off topic: this post is much older than indicated. I have no idea how this date has changed.


Last bumped by ForestCat on 10 Apr 2017 13:00.
Formant+Eurorack, PPG wave 2.2, Korg MS-20, etc., EWI 4000s, QuNeo, etc., Mixbus32c, u-he, MadronaLabs, Samplemodeling, NI, etc., iPad2/4/Pro
Post Reply