A voice is a melodico-rythmic line.
|
The voice object has six inputs and outputs. |
"self" : a voice , measure or list of measures , or a chord-seq .
"tree" : a rhythm tree1.
"chords" : a chord, broadly speaking – chord, list of chords, a list or sub lists of midicents.
"tempo" : speed of a quarter note.
"legato" : an overlapping percentage between two chords, calculated from the second chord's duration.
"ties" : sub lists – one sub list per chord – indicating notes to be tied to notes of the same value, in a next chord.
The combination of inputs programming and score edition allows a complete musical edition of the object. | ![]() |
Ties are a specific parameter of rhythmic objects. To specified that a pitch must be tied to the next one, enter this pitch in a sub list in the "ties" input.
The rank of tied elements must match the rank of the corresponding chords or notes in the "midic" input. Otherwise, OM won't recognize the elements to be tied.
|
Groups and measures are complementary modules of the Score class. |
They have two inputs and outputs :
They can also be isolated as distinct rhythmic elements within voice editors.
Groups and measures are used for :
|
The get-measures function returns a list of measures from a voice . |
A rhythm tree expresses a rhythmic structure as a list. We use the term of "tree" because this structure is alike a tree structure.
This list has :
a duration, or number of measures,
a time signature,
a list or proportions, or rhythmic values.
For instance : (1 ((4//4 (1 1 1 1))) means one measure, four beats time signature, four whole notes.