Intended for use in a dplyr style pipe. Adds a time_signature message to a meta header.
Usage
add_meta_time_sig(
meta_df,
i_track = 0,
type = "time_signature",
time = 0,
numerator = 4,
denominator = 4,
clocks_per_click = 36,
notated_32nd_notes_per_beat = 8,
...
)
Arguments
- meta_df
midi_df to add
- i_track
integer, default = 0
- type
character, default = "time_signature"
- time
integer, default = 0
- numerator
integer, default = 4
- denominator
integer, default = 4
- clocks_per_click
integer, default = 36
- notated_32nd_notes_per_beat
integer, default = 8
- ...
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) %>%
add_meta_time_sig()
}