MIDIUtil
MIDIUtil copied to clipboard
How to read events from an existing MIDI file
Hey there! Not an issue, more a query, if that's alright! Is it possible for me to pass in a filename of an existing MIDI file, and then read its metadata? For example, lets say I have file - C:/test.mid Can I run something to the equivalent of - MIDIUtil.readFileMetadata("C:/test.mid"), where return object would resemble something like -
{degrees: [80,72],
track: 0,
channel: 0,
time: 0,
duration: 1,
tempo: 100,
volume: 127}
This could be either a very simple question, or a very silly one. :) Thank you in advance, this has been phenomenal to work with!
PJ