danigb / soundfont-player

Quick soundfont loader and player for browser
MIT License
453 stars 60 forks source link

Loading instruments via `require` or other compile-time means #84

Closed artsyca closed 1 year ago

artsyca commented 3 years ago

I'd like to include my instrument files in the application bundle using webpack or some other means to save an HTTP request on the client side and the requisite ajax call. Is there the possibility loading the soundfont instruments using an import or other similar method?

VadeanAndrada commented 1 year ago

Any updates on this? Thank you!

artsyca commented 1 year ago

I think we just used the assets via http request.