Page 1 of 1

iPad Lemur Midi Tempo Display

Posted: 15 Dec 2011 01:47
by amorgan
Can anyone clue me in on how to get a pad on the lemur to flash to the tempo of a track in Ableton or Nuendo?
I have downloaded a bunch of modules and templates none of which do this.
Is there a resource website or book anyone knows of to learn how to program for the lemur?

Thanks

Re: iPad Lemur Midi Tempo Display

Posted: 16 Dec 2011 21:30
by Psyk
amorgan wrote: Is there a resource website or book anyone knows of to learn how to program for the lemur?

Thanks
Hi Amorgan

Try here: http://forum.jazzmutant.com/

I`m searching for the Monitor "manual" :-/

goodluck!
Ivan

Re: iPad Lemur Midi Tempo Display

Posted: 17 Dec 2011 11:27
by mbncp
Basically you need to track midi clock, mainly FA (start) and F8 (midi ticks) in 2 OnMidi scripts.
When you receive a start message, set your variable to 0 .
Then each time you get an F8, increase that variable by 1.
When the variable is equal to 1, flash your object.
When the variable reaches 24 reset it to 0.

On midi FA
myTickCounter = 0

On Midi F8
myTickCounter++;
if(myTickCounter == 1)
{
// new beat, flash your object
}

if(myTickCounter == 24)
myTickCounter = 0;

Re: iPad Lemur Midi Tempo Display

Posted: 18 Dec 2011 05:41
by amorgan
Thanks guys I'll give it a try! mbncp your technique sounds great but to be honest you might as well be speaking Japanese :) I appreciate your help! Any chance you could point me in the right direction to decipher what you wrote?

Thanks again!

Re: iPad Lemur Midi Tempo Display

Posted: 18 Dec 2011 12:11
by mbncp
TempoWatcher.jzml.zip
shows tempo - current bar.beat
(1.03 KiB) Downloaded 513 times
Here you go, tempo detection is not the smartest but gives you an idea.
Don't forget to let your host send midi clock to your iPad
.
I don't think I have a bug but it seems that I'm loosing some midi ticks over time, using standard wifi midi.

Re: iPad Lemur Midi Tempo Display

Posted: 06 Jan 2012 17:43
by amorgan
Wow thanks! I'll check it out right now....sorry for the delay. Happy belated holidays!

Re: iPad Lemur Midi Tempo Display

Posted: 08 Jan 2012 03:59
by kraftf
amorgan wrote:Thanks guys I'll give it a try! mbncp your technique sounds great but to be honest you might as well be speaking Japanese :) I appreciate your help! Any chance you could point me in the right direction to decipher what you wrote?

Thanks again!
That's exactly the same feeling I had when I first took advice from mbncp!!
But in time things get much better and info from guys like mbncp become precious!!