Skip to contents

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

Usage

add_program_change(
  df,
  i_track = 0,
  type = "program_change",
  time = 0,
  program = 0,
  channel = 0,
  ...
)

Arguments

df

midi_df to add row to

i_track

integer, default = 0

type

character, default = "program_change"

time

integer, default = 0

program

integer, default = 0

channel

integer, default = 0

...

send additional args to dplyr::add_row

Value

a new row

Examples

if (FALSE) {
}