this is what someone said in a forum:

y = (240,000 * (d / t)) / x

where t is the divisions of a bar (e.g. 16)

and d is the delay time (e.g. 3)

and x is the bpm of your song

y is the delay time in milliseconds

so what would it look like the other way around please.

]]>– Pasted Max Patch, click to expand. –

]]>
Also note that sending a float to an int will truncate, not round it. use [round] if needed.

]]>