powered by
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) )
A list of note objects.
list of pitches (typically created by function pitchMapping)
list of durations (typically created by function durationMapping)
list of loudnesses (typically created by function loudnessMapping)
n <- getNotes(pitches=pitchMapping(x=rnorm(100)))
Run the code above in your browser using DataLab