You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
case 0x51:
event.subtype='setTempo';if(length!=3)throw"Expected length for setTempo event is 3, got "+length;event.microsecondsPerBeat=((stream.readInt8()<<16)+(stream.readInt8()<<8)+stream.readInt8())returnevent;
will sometimes result in a microsecondsPerBeat of zero which results in a beatsPerMinute of Infinity, and a secondsToGenerate of 0, resulting in a perceived MIDI file length of 0.
This code
will sometimes result in a
microsecondsPerBeat
of zero which results in abeatsPerMinute
ofInfinity
, and asecondsToGenerate
of 0, resulting in a perceived MIDI file length of 0.See mudcube/MIDI.js#134
The text was updated successfully, but these errors were encountered: