Open d3ssen opened 1 year ago
Apparently there is a difference between downloading the libopenmpt.js & chiptune2.js files provided here and using them internally (like: <script type="text/javascript" src="js/libopenmpt.js"></script>
) or using the external source on jsdelivr (like: <script type="text/javascript" src="//cdn.jsdelivr.net/gh/deskjet/chiptune2.js@master/libopenmpt.js"></script>
).
Because if I use the jsdelivr files my app works fine without any errors.
Sounds odd. There should not be a difference between the files from jsdelivr vs what you get from this repo. Are you sure the you're using identical files? Newer releases from the libopenmpt project might not export the same functions as they used to. If this is the case we would have to look into custom builds.
Using part of the code of the demo-page I've been trying to get Chiptune2.js to play a song. But this error keeps coming up.
This is the part of the demo-page that I'm using...
I can't figure out why this error is thrown. Can anyone help me out?