Scales the total duration of the cell by a given factor
Multiplies the elements by a factor so that their sum will become the nominal total duration.
Pretty formatted string representation of the cell
Pretty formatted string representation of the cell's elements
Number of elements in the cell
Produces a string representation of this cell, suitable for rendering with Lilypond.
Produces a string representation of this cell, suitable for rendering with Lilypond. For example, a cell with elements (12, 5, 11) and duration of 21/32, will result in the following string:
{{ \time 21/32 \times 3/4 { c'4. c'8 ~ c'32 c'4 ~ c'16 ~ c'32 } }}
(This is mostly adapted from LilyCollider)
'Unnormalizes' this cell, so that the elements are all integers, possibly multiplying them by the least common multiple.