Open intergalacticspacehighway opened 2 years ago
I stumbled into this. I had to downgrade to webmidi@2 for it to work without monkey-patching.
It looks like, if you don't need the MidiInput, the simplest solution is:
import { Piano } from "@tonejs/piano/build/piano/Piano";
Hi! π
Firstly, thanks for your work on this project! π
I had been getting an error with Webmidi import, I had to do the below change to fix it. I can create a PR for the same :)
WebMidi is being exported as named export in webmidi 3.0.15
Here is the diff that solved my problem:
This issue body was partially generated by patch-package.