powered by
Extract only note events from an object returned by the readMidi function.
readMidi
getMidiNotes(x, ...)
A data.frame returned by the readMidi function.
Further arguments are passed to the notenames function for extracting the human readable note names rather than their integer representations.
notenames
A data frame with columns
start time
length
track number
channel number
note
notename
note velocity
# NOT RUN { content <- readMidi(system.file("example_files", "Bass_sample.mid", package="tuneR")) getMidiNotes(content) # }
Run the code above in your browser using DataLab