Create a Tupler
object. Tupler
objects are used in
tuplet()
to create tuplets.
Tupler(n, unit = NULL, take = unit)
A positive integer which indicates into how many parts to divide a duration.
A duration type followed by zero to four dots, or its corresponding duration value.
A list with class Tupler
.
vignette("gm", package = "gm")
for a friendly guide to tuplets.
# create a triplet quarter note
t <- Tupler(3, unit = "quarter", take = "quarter")
t
#> / 3 * (quarter / quarter)
tuplet("half", t)
#> half / 3