flutter_midi icon indicating copy to clipboard operation
flutter_midi copied to clipboard

Unhandled Exception: MissingPluginException on Web

Open JoseGeorges8 opened this issue 5 years ago • 9 comments

I noticed the example is built on web, but I can't get the plugin to work on chrome, I get MissingPluginException.

Is there any support for web published in the package?

JoseGeorges8 avatar Aug 26 '20 23:08 JoseGeorges8

Not at the moment

rodydavis avatar Aug 26 '20 23:08 rodydavis

So how did you get the example app to run on web?

JoseGeorges8 avatar Aug 26 '20 23:08 JoseGeorges8

Using tone.js and dart:html

rodydavis avatar Aug 27 '20 00:08 rodydavis

Nice. Do you have plans on implementing that to the project? accept PRs?

JoseGeorges8 avatar Aug 27 '20 04:08 JoseGeorges8

I'm always open to PRs!

rodydavis avatar Aug 27 '20 05:08 rodydavis

I'm also look forward to get it run on web!

LaiZhou avatar Sep 07 '20 09:09 LaiZhou

Currently there's no way in Tone.js to decode .sf2 files,see https://github.com/Tonejs/Tone.js/issues/290 but there is another promising library , see https://github.com/surikov/webaudiofont/issues/48 more,how to convert sf2 files to js https://github.com/surikov/webaudiofont/issues/14

LaiZhou avatar Sep 07 '20 09:09 LaiZhou

Really needed feature.

rodion-m avatar Dec 09 '20 20:12 rodion-m

Im open for PRs but the work is in progress. My flutter_piano app uses midi on the web: https://github.com/rodydavis/flutter_piano

rodydavis avatar Apr 14 '21 22:04 rodydavis