How to convert a MTC number to a song postion pointer

Discussion of music production, audio, equipment and any related topics, either with or without Ableton Live
Post Reply
ManuelRodrigues
Posts: 51
Joined: Tue Dec 06, 2011 11:55 am

How to convert a MTC number to a song postion pointer

Post by ManuelRodrigues » Tue Dec 08, 2015 11:38 am

Hi There,

I need to be able to calculate which Ableton song position pointer value (bars, beats and subdivisions) corresponds with a certain MTC number. Of course this depends on the bpm and the time signature of the audio and the fps of the mtc. Complicated. Does anybody know of a handy (online) calulator which does this trick?

Cheers,

Manuel

doghouse
Posts: 1413
Joined: Fri Aug 29, 2008 5:30 pm

Re: How to convert a MTC number to a song postion pointer

Post by doghouse » Tue Dec 08, 2015 12:35 pm

I've never seen one. What good is making this calculation anyway?

ManuelRodrigues
Posts: 51
Joined: Tue Dec 06, 2011 11:55 am

Re: How to convert a MTC number to a song postion pointer

Post by ManuelRodrigues » Tue Dec 08, 2015 1:49 pm

Well, I need to be able to start clips in Ableton at certain moments in (midi) time (code)

I'm receiving 3 different midi time code segments.

segment 1 starts from 00:00:00:00
segment 2 starts from 00:10:00:00
segment 3 starts from 00:20:00:00

When I receive the timecode section which starts at 00:10:00:00 Ableton transport jumps to somewhere in the the 300's. I need to know which spp starting number offset I need to give my clips to make sure that it starts in sync with the mtc.

Hope this clarifies my question.

broc
Posts: 1148
Joined: Mon Jul 26, 2004 8:37 am

Re: How to convert a MTC number to a song postion pointer

Post by broc » Tue Dec 08, 2015 8:11 pm

I would convert the mtc number to milliseconds and then use the Max object [translate ms bbu].
'bbu' means 'bars beats units' where units is given in ticks (1 beat = 480 ticks).

ManuelRodrigues
Posts: 51
Joined: Tue Dec 06, 2011 11:55 am

Re: How to convert a MTC number to a song postion pointer

Post by ManuelRodrigues » Tue Dec 08, 2015 8:26 pm

I'm ashamed to confess but after researching this a little more I discovered the math is actually extremely easy.

An example: When the midi timecode starts at 00:01:00:00 (one minute) and Ableton runs at 128 beats per minute, the song position pointer wil be at 32.1.1. Because 128 notes diveded by 4 is 32 bars.

Post Reply