readMIDIFile

readMIDIFile() reads a MIDI file, of course.

This essentially does the same as MIDIReader!(ubyte[]).readMIDI(), but is given for convenience.

It has two overloads, one for std.stdio.File objects, and one if you have the file path only.

  1. MIDI readMIDIFile(File file)
    readMIDIFile
    ()
    (
    File file
    )
  2. MIDI readMIDIFile(string path)

Meta