-
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fe19f42
commit e38164e
Showing
9 changed files
with
358 additions
and
205 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/*! | ||
* musicxml-player v0.16.1 | ||
* musicxml-player v0.16.2 | ||
* (c) Karim Ratib <[email protected]> (https://github.com/infojunkie) | ||
* Released under the GPL-3.0-only License. | ||
*/ | ||
|
@@ -12110,6 +12110,10 @@ class WebAudioFontOutput { | |
if (this._notes.find((note) => Math.abs(note.timestamp - timestamp) < Number.EPSILON)) { | ||
console.warn(`[WebAudioFontOutput] Received a pitch bend for an already scheduled note.`); | ||
} | ||
// Ignore zero pitch bend. | ||
if (event.pitchBend - 8192 === 0) { | ||
return; | ||
} | ||
// Save the current pitch bend value. It will be used at the next noteOn event. | ||
this._pitchBends.push({ | ||
channel: event.channel, | ||
|
@@ -12124,7 +12128,7 @@ class WebAudioFontOutput { | |
} | ||
|
||
var name = "musicxml-player"; | ||
var version = "0.16.1"; | ||
var version = "0.16.2"; | ||
var description = "A simple JavaScript component that loads and plays MusicXML files in the browser using Web Audio and Web MIDI."; | ||
var main = "dist/musicxml-player.esm.js"; | ||
var type = "module"; | ||
|
Large diffs are not rendered by default.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.