Skip to content

Commit

Permalink
mml2abcでMMLを1文字変更してplayするごとに、前の曲が鳴ったまま次の曲が鳴ってしまい、うるさくなっていた。これを、前の曲をst…
Browse files Browse the repository at this point in the history
…opするようにした。
  • Loading branch information
cat2151 committed Dec 12, 2023
1 parent c0facde commit e9d8054
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions easyabcjs6.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ easyabcjs6.playSub = function(abc, abcjs, musicScoreId) {
.then(function (_response) {
// console.log(_response);
easyabcjs6.midiBuffer.prime().then(function (_response) {
easyabcjs6.midiBuffer.stop(); // for mml2abc
easyabcjs6.midiBuffer.start();
});
})
Expand Down

0 comments on commit e9d8054

Please sign in to comment.