getMidiNotes | R Documentation |
Extract only note events from an object returned by the readMidi
function.
getMidiNotes(x, ...)
x |
A data.frame returned by the |
... |
Further arguments are passed to the |
A data frame with columns
time |
start time |
length |
length |
track |
track number |
channel |
channel number |
note |
note |
notename |
notename |
velocity |
note velocity |
Uwe Ligges and Johanna Mielke
readMidi
content <- readMidi(system.file("example_files", "Bass_sample.mid", package="tuneR"))
getMidiNotes(content)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.