truncate to notevalues (translate) from ms?

    Jul 13 2012 | 11:17 am
    can I have everything "ending up as notevalues" from ms somehow?

    • Jul 13 2012 | 11:33 am
      basically ... [ftom]
    • Jul 13 2012 | 12:31 pm
      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]
    • Jul 13 2012 | 1:15 pm
      ehhm... how?
    • Jul 13 2012 | 4:04 pm
      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.
    • Jul 13 2012 | 4:39 pm
      @ 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.
    • Jul 15 2012 | 7:32 pm
      thank you very much
      Is this the best way to play durations into live step then?
    • Jul 15 2012 | 10:04 pm
      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.