writeMIDIFile essentially does the same as writeMIDI to a range object that writes to a std.stdio.File, but it is given for convenience.
There are two overloads, one for a std.stdio.File object and one for a path (which opens the file for you in write mode).
See Implementation
writeMIDIFile essentially does the same as writeMIDI to a range object that writes to a std.stdio.File, but it is given for convenience.
There are two overloads, one for a std.stdio.File object and one for a path (which opens the file for you in write mode).