Playing with tempo in Max for Live

Nov 28, 2012 at 12:12am

Playing with tempo in Max for Live

Hi All

Im building a patch so I can save a tempo in a number box, and then slow down or speed up the tempo using Live, returning to the saved tempo at the touch of a button, on the 1st beat of the bar.

Ive got everything working, except I seem to get a lag between hitting the button and the original tempo kicking back in.

Its almost like the action is in a queue. Here is the patcher:

– Pasted Max Patch, click to expand. –

Hitting ‘Capture’ saves the current Live tempo.

Now alter the tempo in Live (slow it right down).

Now hit ‘Bounce’

The tempo returns to the captured value on the 1st beat of the bar (but seems to run slightly laggy).

I wondered if anyone could shed some light on this for me?

Cheers,

James

#65402
Nov 28, 2012 at 11:49am

Keep in mind that the Live API generally doesn’t ensure 100% accurate timing.
So the effect of ‘set tempo $1′ may be delayed by some unpredictable amount.

#235693
Nov 28, 2012 at 1:41pm

I would unfortunately expect this behavior.
MIDI clock is not super tight, and never will be, especially in between applications.

For example, if I send MIDI from Live to one of my Elektron Machines, and see the incoming tempo, it fluctuates by a value of 0.5 +/-.

I hope there’s a solution out there for you, just keep in mind that a lot of people have problems with MIDI sync/timing.

#235694

You must be logged in to reply to this topic.