Description Usage Arguments Value Examples
Converts musical sequences into hexadecimal MIDI sequences.
1 | create_midi(notes_arg, tempo = 120)
|
notes_arg |
The sequence to be turned into hexadecimal MIDI. This is the output of the drum_machine function or a modified drum sequence. |
A hexadecimal MIDI sequence to be entered into the write_midi function.
1 2 3 4 | # Shifts notes in the first track (hh, or hi-hat) of drum sequence to "G#1" with .5 probability.
drum_machine(hh = 1:16, kick = seq(1, 16, by = 4), snare = c(5, 13)) %>%
create_midi()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.