I would assume that the rounding errors of metro would make the tempo drift after a while - depending on the speed.

 

Using the sample rate would be more accurate.

 

In order to insure that the rounding errors are not influencing the the position after a long time recalculating the position from time to time and resyncing to the absolute sample position might be necessary.

 

However, such an accuracy would only be needed if the music is to be synced to anything external like a DAW, I guess.

 

Ingo

 

 

 

> If you mean milliseconds to bpm and vice versa:

>

> minute = 60,000 ms;

>

> bpm * ms = 60,000;

>

> bpm = 60,000 / ms;

>

> ms = 60,000 / bpm;

>

> [120 \

> |

> [t b f]

> |     /

> [60000(

> |   /

> [/ ]

> |

> [500 \

>

> Send this to the right inlet of [metro]. Then connect a counter [int

> ]/[+ 1]/[% 16] (outlet of the modulo to right inlet of [int]) to the

> outlet of [metro]. That then counts from 0 to 15 with an interval of

> 500 ms.

>

> --Funs