durationMapping {musicXML} | R Documentation |
Duration Mapping.
Description
Map a series of values into a series of durations
Usage
durationMapping(x, expMin = 0, expMax = 6, qtrans = NULL, ...)
Arguments
x |
Vector or data frame, series to be mapped |
expMin |
Integer, minimum type is 2^expMin (default: 1 <=> whole note) |
expMax |
Integer, maximum type is 2^expMax (default: 64 <=> 16th note) |
qtrans |
function, quantile transformation to be applied before mapping For instance data can be "normalized" by using qnorm. |
... |
further arguments to be passed to qtrans. |
Value
A list of duration objects.
Examples
d <- durationMapping(x=rnorm(100))
[Package musicXML version 1.0.1 Index]