Skip to contents

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

Usage

add_note_off(
  df,
  i_track = 0,
  type = "note_off",
  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_off"

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) {
}