SuneBear / midi.js

[Deprecated] A modern JavaScript port of MIDI.js. See the source repo at https://github.com/mudcube/MIDI.js
MIT License
12 stars 5 forks source link

MIDI.Player not play first note #1

Open jilangyangbo opened 1 year ago

jilangyangbo commented 1 year ago

Hi, thanks for this library, it seems very useful :) But,when I use MIDI.Player platy midi file or base64,it dosen't play the first chord.

MIDI.Player.loadFile(file, ()=>{ MIDI.Player.start() })

I don't know if I used it incorrectly.

AAlittleWhite commented 6 months ago

Hi, Recently I have been working on a MIDI project I also found a bug where the first note doesn't play, so I made a change to this library that you can try github url : https://github.com/AAlittleWhite/lz-midi npm package: lz-midi