| syncopation | R Documentation |
The syncopation() function takes a vector of rhythmic duration values and a meter
and identifies which durations are syncopated, return TRUE for synocopations and FALSE
otherwise.
The output syncopation depends a lot on how meter is specified/interpreted
so check out the meter() documentation if you are looking for more control of the output.
## Default S3 method:
syncopation(dur, meter = duple(5), levels = "all", groupby = list())
syncopation(dur, meter = duple(5), levels = "all", groupby = list())
dur |
An input vector of rhythmic durations. Must be a Is parsed using |
meter |
The meter(s) to compute levels from. Defaults to a standard, five-level duple (4/4) meter. Must be a For |
levels |
On which metrics levels should we identify syncopations? Defaults to Must be a non-empty If |
groupby |
A Defaults to Must be a To function as a by-record timeline, the |
A syncopation occurs whenever a rhythmic duration is longer than the highest metric level that it lands on.
In some cases, we might want to restrict our attention to syncopations that occur
at a specific metric level: for example, "eighth-note syncpations."
We can proved a set of metric levels to the levels argument, to do this restriction.
The levels must be parsable as durations which match the levels of the meter().
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.