surikov / webaudiofont

Use full GM set of musical instruments to play MIDI and single sounds or effects. Support for reverberation and equaliser. No plugins, no Flash. Pure HTML5 implementation compatible with desktop and mobile browser. See live examples.
https://surikov.github.io/webaudiofont/
GNU General Public License v3.0
891 stars 92 forks source link

Sample using ES6/React? #13

Closed ShaneMcX closed 6 years ago

ShaneMcX commented 6 years ago

I'm able to import WebAudioFont, but I can't figure out how to reference the WebAudioFontData in an ES6/React component. Any sample, help, or pointers would be appreciated.

thanks,

shane

surikov commented 6 years ago

use React implementation at https://github.com/surikov/midi-sounds-react

ShaneMcX commented 6 years ago

Thank you!