Intended for use in a dplyr style pipe. Adds a set_tempo message to a meta header.
Arguments
- meta_df
midi_df to add
- i_track
integer, default = 0
- type
character, default = "set_tempo"
- time
integer, default = 0
- tempo
integer, default = 500000
- ...
send additional args to dplyr::add_row
Examples
if (FALSE) {
new_midi_df <- create_empty_midi_df() %>%
add_meta_track_name(name = "bass") %>%
add_meta_tempo(tempo = 500000)
}