Skip to contents

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

Usage

add_control_change(
  df,
  i_track = 0,
  type = "control_change",
  time = 0,
  channel = 0,
  control = 0,
  value = 0,
  ...
)

Arguments

df

midi_df to add row to

i_track

integer, default = 0

type

character, default = "control_change"

time

integer, default = 0

channel

integer, default = 0

control

integer, default = 0

value

integer, default = 0

...

send additional args to dplyr::add_row

Value

a new row

Examples

if (FALSE) {
}