midi class constructor
midi class constructor
new()
midi$new(file)
print()
midi$print(..., n = NULL)
encode()
midi$encode(to)
cut()
midi$cut(start = 0, end = Inf, unit = c("sec", "tick"))
plot()
midi$plot()
select()
midi$select(...)
rename()
midi$rename(...)
set_tempo()
midi$set_tempo( tempo, metric = c("bpm", "relative", "micro_seconds_per_quarter_note") )
shift_hstep()
midi$shift_hstep(n, at = -1)
shift_degree()
midi$shift_degree(n, scale, at = -1, stay_home = FALSE)
negative_harmony()
midi$negative_harmony(pivot = 60, at = -1, stay_home = FALSE)
play()
midi$play(left_track = NULL, right_track = left_track)
clone()
The objects of this class are cloneable with this method.
midi$clone(deep = FALSE)
deep
Whether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.