You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An enhancement to the Translate library of a method that converts various duration values from different platforms to a corresponding millisecond value based on a set tempo.
example
constTL=require('total-serialism').Translate;TL.setTempo(120);//=> set tempo to 120 beats per minutevarrhythm=[8n,4n,16n];TL.toTime(rhythm)//=> [ 250, 500, 125 ]
But could also work with division notation
constTL=require('total-serialism').Translate;TL.setTempo(120);//=> set tempo to 120 beats per minutevarrhythm=['1/8','1/4','1/16'];TL.toTime(rhythm)//=> [ 250, 500, 125 ]
Or with floating point ratio values
constTL=require('total-serialism').Translate;TL.setTempo(120);//=> set tempo to 120 beats per minutevarrhythm=[0.125,0.25,0.0625];TL.toTime(rhythm)//=> [ 250, 500, 125 ]
The text was updated successfully, but these errors were encountered:
Not yet possible with one function that works for all, but there are now several translate methods for different types of input. Using the Time Value Syntax of Cycling'74's MaxMSP
An enhancement to the Translate library of a method that converts various duration values from different platforms to a corresponding millisecond value based on a set tempo.
example
But could also work with division notation
Or with floating point ratio values
The text was updated successfully, but these errors were encountered: