Intended for use in a dplyr style pipe. Adds a midi message to a midi_df.
Usage
add_midi_message(
df,
i_track = 0,
meta = FALSE,
type = "",
name = NA,
time = 0,
numerator = NaN,
denominator = NaN,
clocks_per_click = NaN,
notated_32nd_notes_per_beat = NaN,
program = NaN,
channel = NaN,
control = NaN,
value = NaN,
note = NaN,
velocity = NaN,
tempo = NaN,
...
)
Arguments
- df
midi_df to add row to
- i_track
integer, default = 0
- meta
logical, default = FALSE
- type
character, default = "control_change"
- name
character, default = NA
- time
integer, default = 0
- numerator
integer, default = NaN
- denominator
integer, default = NaN
- clocks_per_click
integer, default = NaN
- notated_32nd_notes_per_beat
integer, default = NaN
- program
integer, default = NaN
- channel
integer, default = NaN
- control
integer, default = NaN
- value
integer, default = NaN
- note
integer, default = NaN
- velocity
integer, default = NaN
- tempo
integer, default = NaN
- ...
send additional args to dplyr::add_row