pitchMapping {musicXML} | R Documentation |
Pitch Mapping.
Description
Map a series of values into a series of pitches
Usage
pitchMapping(
x,
pitches = c("A4", "C5", "D5", "E5", "G5", "A5"),
qtrans = NULL,
...
)
Arguments
x |
Vector or data frame, series to be mapped |
pitches |
Vector of string, pitch scale (default: A minor pentatonic) |
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 pitch objects.
Examples
p <- pitchMapping(x=rnorm(100))
[Package musicXML version 1.0.1 Index]