Closed milkey-mouse closed 8 years ago
We should probably do something about the MIDI IndexError if you have a bad MIDI and you should feel bad:
Error: Your MIDI is bad and you should feel bad. Try opening in MidiEditor and saving over the original without editing. For more details see
Check the edge case when the MIDI file length is shorter than the start/end of the longest note Probably look after MIDI parsing entirely Or just do checks to see if the current time is beyond the set end and issue a warning.
Or if you open files badly
On the file length < end last note one turns out that was never an issue, we don't trust the MIDI metadata
k
Thanks @HippoPig21 for discovering this When opening an unsupported type of WAV file (floats, >32 bits, other weirdness) it barfs out a standard wave.Error which nobody likes. The error text could say something like
Error: Unsupported WAV type. Try opening in Audacity and saving as a 16-bit PCM WAV. For more details see