Skip to contents

Intended for use in a dplyr style pipe. Adds a note_on message to a midi_df.

Usage

add_note_on(
  df,
  i_track = 0,
  type = "note_on",
  time = 0,
  channel = 0,
  note = 0,
  velocity = 0,
  ...
)

Arguments

df

midi_df to add row to

i_track

integer, default = 0

type

character, default = "note_on"

time

integer, default = 0

channel

integer, default = 0

note

integer, default = 60

velocity

integer, default = 64

...

send additional args to dplyr::add_row

Value

a new row

Examples

if (FALSE) {
}