getMidiNotes

0th

Percentile

Extract note events from objects returned by readMidi

Extract only note events from an object returned by the readMidi function.

Usage
getMidiNotes(x, ...)
Arguments
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.

Value

A data frame with columns

time

start time

length

length

track

track number

channel

channel number

note

note

notename

notename

velocity

note velocity

See Also

readMidi

Aliases
  • getMidiNotes
Examples
# NOT RUN {
content <- readMidi(system.file("example_files", "Bass_sample.mid", package="tuneR"))
getMidiNotes(content)
# }
Documentation reproduced from package tuneR, version 1.3.3, License: GPL-2 | GPL-3

Community examples

Looks like there are no examples yet.