Getting the bpm inside the patch

bobdecyno's icon

Hi,
I'm having some difficulties trying to get the bpm from the transport bar (live) into an instrument on a m4l patch.
Any ideias?

Regards,

Mário

nunja's icon

Hello,

I use plugsync~ to read the Ableton transport.
This is very efficient (no metro needed, everything starts automatically).
You can get the bpm in samples, so that's very accurate, juste read the doc here:

ShelLuser's icon

But it really shouldn't be much of a problem.. You can simply use the "tempo" property in the song class. This is something you can get, set or observe; its no more difficult than getting any other kind of property value.