General

iPad Lemur Midi Tempo Display

Started by amorgan on .

Sign in or create an account to join the conversation.

7 posts

Topic starter
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
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;
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!
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!!