Learn R Programming

gm (version 1.0.2)

tuplet: Create Tuplet

Description

Create a tuplet.

Usage

tuplet(duration, ...)

Value

A list with class Duration.

Arguments

duration

A duration notation, duration value, or Duration object.

...

Tupler objects returned by Tupler(), which specify how to divide the argument duration into parts, and how to take from these parts.

See Also

Tupler()

vignette("gm", package = "gm") for a friendly guide to tuplets.

Examples

Run this code
# create a triplet quarter note
tuplet("half", Tupler(3, unit = "quarter", take = "quarter"))

Run the code above in your browser using DataLab