View source: R/1-construct-dynamic-.R
Dynamic | R Documentation |
Dynamic
ObjectCreate a Dynamic
object to represent a dynamic marking.
Dynamic(marking, i, to = NULL, velocity = NULL, above = NULL)
marking |
A single character, which represents the dynamic symbol on
the score. If |
i |
A single positive integer, which represents the position
of the |
to |
Optional. A single character or a single positive integer,
which indicates the musical line where to add the |
velocity |
Optional. A single integer between |
above |
Optional. A single logical, which indicates whether the dynamic symbol should appear above or below the staff. |
Common used dynamic markings and their velocities in MuseScore:
pppppp: 1
ppppp: 5
pppp: 10
ppp: 16
pp: 33
p: 49
mp: 64
mf: 80
f: 96
ff: 112
fff: 126
ffff: 127
fffff: 127
ffffff: 127
fp: 96
pf: 49
sf: 112
sfz: 112
sff: 126
sffz: 126
sfp: 112
sfpp: 112
rfz: 112
rf: 112
fz: 112
m: 96
r: 112
s: 112
z: 80
n: 49
A list of class Dynamic
.
+.Music()
for adding an Dynamic
to a Music
object.
# Create a `Dynamic`
f <- Dynamic("f", 1)
f
# Add it to a `Music`
music <- Music() + Meter(4, 4) + Line(c("C4", "D4")) + f
music
# Generate the music score
if (interactive()) {
show(music)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.