getMidiNotes: Extract note events from objects returned by readMidi

Description Usage Arguments Value Author(s) See Also Examples

View source: R/getMidiNotes.R

Description

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

Usage

1

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

Author(s)

Uwe Ligges and Johanna Mielke

See Also

readMidi

Examples

1
2
content <- readMidi(system.file("example_files", "Bass_sample.mid", package="tuneR"))
getMidiNotes(content)

tuneR documentation built on May 29, 2017, 1:04 p.m.

Related to getMidiNotes in tuneR...