TinySoundFont icon indicating copy to clipboard operation
TinySoundFont copied to clipboard

TinySoundFont HTML5 MIDI Player doesn't work in Microsoft Edge

Open RyanBram opened this issue 5 years ago • 3 comments

Hi, Mr. Bernhard Schelling .

When I tried your TinySoundFont HTML5 MIDI Player at https://schellingb.github.io/TinySoundFont/CustomSoundFont.html using Microsoft Edge, I cannot hear any sound from my browser. But when using another browser, it works perfectly. Are there any issue that can be fixed there? Because I want to ask somebody to make HTML5 game script that support MIDI and your library is the best for it and I want to use your HTML 5 MIDI Player as reference.

Thank you very much for your attention.

RyanBram avatar Jun 15 '19 04:06 RyanBram

I am sorry to bump this topic again.

RyanBram avatar Jul 13 '19 13:07 RyanBram

Thanks for the report. Sorry for the delayed response but I got it working :-)

Just to make sure, this library has no specific HTML5 features and there is no generic HTML5 interface. For it to be used like the HTML5 MIDI player demo, TinySoundFont needs to be compiled from C or C++ to WebAssembly or asm.js with Emscripten or Clang.

Building a plug-and-play JavaScript library using TinySoundFont with a generic interface that can be used in any HTML5 website or game would not be that hard, but it involves more than just HTML5/JavaScript.

schellingb avatar Jul 13 '19 19:07 schellingb

Hi Mr. @schellingb . Thank you very much for your response and your advice.

I myself am not a programmer, but my initial plan is to ask my programmer to use your pre-compiled library from your HTML5 website and interfacing it with Javascript to use it in RPG Maker MV. We have tried the similar approach with libopenmpt.js and chiptune2.js and it worked. Now we want to try it with your library to add MIDI codec in our game.

We will tell you if we finished the task.

Thanks.

RyanBram avatar Jul 14 '19 02:07 RyanBram