Reads a MIDI file using mido
Arguments
- midi_file
a character string with the path to a MIDI file. Note that "~" does not work - you need to specify an absolute path!
Examples
if (FALSE) {
remotes::install_github("AlgoCompSynth/eikossany") # example MIDI files
reticulate::use_condaenv("mydough")
midi_file_object <- mydough::read_midi_file(
system.file("Eikosany-MIDI-Files", "eikosany-5-7-9-11.mid", package = "eikosany")
)
print(midi_file_object)
}