getMidiNotes {tuneR} | R Documentation |
Extract note events from objects returned by readMidi
Description
Extract only note events from an object returned by the readMidi
function.
Usage
getMidiNotes(x, ...)
Arguments
x |
A data.frame returned by the |
... |
Further arguments are passed to the |
Value
A data frame with columns
time |
start time |
length |
length |
track |
track number |
channel |
channel number |
note |
note |
notename |
notename |
velocity |
note velocity |
Author(s)
Uwe Ligges and Johanna Mielke
See Also
Examples
content <- readMidi(system.file("example_files", "Bass_sample.mid", package="tuneR"))
getMidiNotes(content)
[Package tuneR version 1.4.7 Index]