MidiPlayerJS icon indicating copy to clipboard operation
MidiPlayerJS copied to clipboard

File loads, then waits forever to actually play

Open Andrew-J-Larson opened this issue 5 years ago • 7 comments

Seems that this might also be related to tempo issues... but I'm not so sure here... but it takes a while for it to actually start playing, and then stays quiet again after the first part for much longer than it should.

The file that is having the issues is Deadmau5 - Strobe.mid

Andrew-J-Larson avatar May 22 '20 21:05 Andrew-J-Larson

I'm starting to think it's not waiting a long time to play, that it's just starting off with a very slow tempo, and the start happens to be quiet, because this file appears to have an issue too...

https://cdn-25.anonfiles.com/d1XaEd13o9/4870b07e-1590208805/tau2.5.9.mid

But, it's not quite at the beginning, so you can tell it's being extremely slow when it shouldn't be.

Andrew-J-Larson avatar May 23 '20 04:05 Andrew-J-Larson

Duration time is fixed, but now the time remaining isn't updating, at least for the Strobe midi

Andrew-J-Larson avatar May 25 '20 04:05 Andrew-J-Larson

I found another issue since you fixed #62... Player.isPlaying() no longer shows if something is playing or not

Andrew-J-Larson avatar May 25 '20 04:05 Andrew-J-Larson

Alright, under closer inspection, the getSongTime, getSongTimeRemaining, and isPlaying functions no longer work now because of the fix in #62

Andrew-J-Larson avatar May 25 '20 04:05 Andrew-J-Larson

Your commit in https://github.com/grimmdude/MidiPlayerJS/commit/9c3bc8ddd1f0eed026d6be6e9d4f73bcdd0d637f fixed the above issue, thanks!

Andrew-J-Larson avatar May 25 '20 05:05 Andrew-J-Larson

Duration time is still incorrect for the https://cdn-25.anonfiles.com/d1XaEd13o9/4870b07e-1590208805/tau2.5.9.mid file now that I checked it again... but the other file is doing just fine.

At least the tau2.5.9.mid plays correctly now though.

Andrew-J-Larson avatar May 25 '20 05:05 Andrew-J-Larson

Just realized that you probably don't have access to the original midi file anymore (must of expired at the link).

So, uploaded it to Mediafire for easy download:

  • https://www.mediafire.com/file/go6sbq168cxe4dn/tau2.5.9.mid/file

Andrew-J-Larson avatar Jun 07 '23 02:06 Andrew-J-Larson