Closed fornof closed 6 years ago
Hi @fornof,
Try starting with this:
var MidiWriter = require('MidiWriter');
It's a little weird I know, and could probably be improved, but that should work if using the browser build.
-Garrett
Oh my goodness! it works! Thank you soooo much!
So, I have a "Uncaught ReferenceError: MidiWriter is not defined" , even though I imported on the front end. There is a folder in node_modules for "Browser" index.min.js , I was hoping that could be used to read midi, modify it , then write midi back to a file blob on the front end/browser.
just trying :
does not work as I get the error.
tag:I imported in the