Amazing notebook (note the pun)! Interestingly,
I get the following render error when viewing it in Firefox 75.0:
theMusic = [Exception… “Failure” nsresult: “0x80004005 (NS_ERROR_FAILURE)” location: “JS frame :: https://bundle.run/abcjs@5.1.2/midi.js :: [49]</o.prototype.outputTextIf :: line 1" data: no], but in Chrome and Safari it is amazing.
Thanks for the heads up! It looks like that version of abcjs has some issues. There are a number of updates since that version, but I am having some trouble importing them (working through this notebook to help me debug the issue: https://observablehq.com/@observablehq/how-to-require-stubborn-modules
I upgraded the abcjs library and that now works on Firefox, but I still can’t get the midi playback to work, so I took that out for now. At least you can see the music now 🙂
Amazing notebook (note the pun)! Interestingly,
I get the following render error when viewing it in Firefox 75.0:
theMusic = [Exception… “Failure” nsresult: “0x80004005 (NS_ERROR_FAILURE)” location: “JS frame :: https://bundle.run/abcjs@5.1.2/midi.js :: [49]</o.prototype.outputTextIf :: line 1" data: no], but in Chrome and Safari it is amazing.
Thanks for the heads up! It looks like that version of abcjs has some issues. There are a number of updates since that version, but I am having some trouble importing them (working through this notebook to help me debug the issue: https://observablehq.com/@observablehq/how-to-require-stubborn-modules
I upgraded the abcjs library and that now works on Firefox, but I still can’t get the midi playback to work, so I took that out for now. At least you can see the music now 🙂