getMeasures | R Documentation |
Create a series of measure objects from a series of notes.
getMeasures(notes, beats = 4, beatType = 4, mxlDivision = 96, ...)
notes |
list of notes (typically created by function getNotes). |
beats |
number of beats (defaut signature is 4/4). |
beatType |
beat type (defaut signature is 4/4). |
mxlDivision |
Positive integer, musicXML "division" defining the time resolution, i.e. the shortest possible note. It is expressed as a fraction of a quarter note. The value of 96 allows allows using 64th notes and their triplet/dotted versions. |
... |
further arguments to be passed to function measure (typically, keySignature) |
A list of measure objects.
m <- getMeasures(notes=getNotes(pitches=pitchMapping(x=rnorm(100))))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.