pitchMapping | R Documentation |
Map a series of values into a series of pitches
pitchMapping(
x,
pitches = c("A4", "C5", "D5", "E5", "G5", "A5"),
qtrans = NULL,
...
)
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. |
A list of pitch objects.
p <- pitchMapping(x=rnorm(100))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.