note {musicXML} | R Documentation |
Note constructor.
Description
Creates a new instance of a 'note' object
Usage
note(p, d = duration(4), l = 89, tie2next = FALSE, tie2previous = FALSE)
Arguments
p |
Pitch object (step, alter, octave). |
d |
Duration object (type, dot, triplet). |
l |
Numeric (>0), loudness expressed in percentage of a MIDI velocity of 90. Effective range 0-141 (larger values are clipped). 37: pp, 54: p, 71: mp, 89: mf, 107: f, 124: ff |
tie2next |
Logical, is note tied with next note?. |
tie2previous |
Logical, is note tied with previous note?. |
Value
An object of class 'note'.
Examples
n <- note(p=pitch('Db5'))
[Package musicXML version 1.0.1 Index]