Closed binyamin closed 5 years ago
Found a relevant issue. #28
Okay, so I added the following code block to src/index.js
, and the code responds to tempo events now. But it interprets them incorrectly. The tempo begins as , then changes to 80. It works correctly with a 4/4 time signature.
if(event.name === 'Set Tempo') {
Player.setTempo(event.data);
}
Issue This midi file doesn't have the correct tempo when played. The console shows a 60bpm tempo. The tempo begins at 50bpm, and subsequently changes to 80bpm after a few bars.
Steps to reproduce the issue
ctrl/cmd+shift+I
) shows the midi output.Notes The relevant code is in
src/index.js
.