getNotes | R Documentation |
Create a series of note objects from lists of pitches / durations / loudnesses
getNotes(
pitches,
durations = durationMapping(rep(0, length(pitches)), expMin = 4, expMax = 4),
loudnesses = loudnessMapping(rep(0, length(pitches)), lMin = 89, lMax = 89)
)
pitches |
list of pitches (typically created by function pitchMapping) |
durations |
list of durations (typically created by function durationMapping) |
loudnesses |
list of loudnesses (typically created by function loudnessMapping) |
A list of note objects.
n <- getNotes(pitches=pitchMapping(x=rnorm(100)))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.