Hi, Im writing a patch that can work with common beat division instead of milliseconds notation. In Max there's a Transport object and the possibility to connect it to metro objects that work with beat division arguments instead of ms, ej [metro 4n]. Something equivalent exists in PD? I made subpatches that make some of the work, attached
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