Help ! Maxforlive : cannot get ableton timecode with live API

Laury Chanty's icon

Hello,
I'm trying to get ableton timecode with live API system. I'm trying to use a function "get_current_smpte_timecode" but it doesn't returns anything. I tried the same patch with another function from the same category "is cue point selected" and it does work.
So I don't understand what i'm doing wrong, i'm completely stucked :(
You can try this max for live patch, and compare the two function.

Thank you for your help !!

Get smpte live timecode.amxd
amxd 6.45 KB

Ps: i don't use max "transport" objet as it doesn't take consideration of live tempo automation, when there is the timecode is false.

Evan's icon

Works for me:

Max Patch
Copy patch and select New From Clipboard in Max.

Laury Chanty's icon

Ok i does work, i made a mistake on the function message ...
BUT !!
The timecode returned is also false if there is an automation on the track tempo. Like with the transport object. On the exemple, 16sec instead of 15.

It does give the timecode that you are suppose to have if the actual tempo was there from the beginning, but don't take consideration of tempo change.

Any idea ? I really need to make a big timecode visualiser as the live timecode scale is really hardcore to read easily.

Thank you.

mstjean's icon

Did you ever get further down the rabbit hole with this? I know Ableton has some strictness around MTC and outputting timing, with regards to Tempo changes... when Ableton receives MTC is disables the tempo mapping, which is what I am trying to solve for...

Source Audio's icon

MTC is absolute time progress,
how woud you sync tempo based sequencer to MTC ?
apart from starting both from some common point ?
There are DAWs hat allow some tracks or events to follow absolute time, other tempo based, but not ableton.