Cobus's personal blog
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://firstname.lastname@example.org/midi.js :: </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 🙂
Your email address will not be published. Required fields are marked *
This site uses Akismet to reduce spam. Learn how your comment data is processed.