truncate to notevalues (translate) from ms?
can I have everything "ending up as notevalues" from ms somehow?
thanks
basically ... [ftom]
i would understand "notevalues" in your question rather as 4n 16nt and so on, if you mean that instead of c,#d, etc.
the round object is coming in handy. just round to the smallest qantization unit egg. 16n in ms
use [translate ms notevalues]
ehhm... how?
bpm to ms per beat is [expr 1000/(BPM/60)/(SIGNATURE*0.25)]
(where SIGNATURE or $f2 would be a value of 1. for 4/4 or 8/8 and 0.75 for 3/4)
and if you realy start from ms, ms will replace the 1000./(BPM/60)) in the above expression.
@ flowdesigner
Here is your patch with rounding (quantization) as woyteg suggested.
Note however that it works only for durations in the range 16n-8n-8nd-4n.
thank you very much
Is this the best way to play durations into live step then?
live.step wants the durations in ticks, and rounds them up to the next higher notevalue.
So in this case you don't need the rounding in your patch.