Closed jsr606 closed 3 years ago
i d vote against it. all times are spec'd in seconds all across the library. maybe a util method like to_sec(int millis)
would help to make the matter more explicit in code.
added to_sec(int pMilliSeconds)
and to_millis(float pSeconds)
to Wellen
. now Tone.note_on(48, 85, to_sec(500))
allows to specify time in milliseconds.
right now the duration for tones are set in seconds. perhaps milliseconds make more sense?