mudcube / MIDI.js

:musical_keyboard: Making life easy to create a MIDI-app on the web. Includes a library to program synesthesia into your app for memory recognition or for creating trippy effects. Convert soundfonts for Guitar, Bass, Drums, ect. into code that can be read by the browser. Supports multiple simultaneous instruments and perfect timing.
http://mudcu.be/midi-js/
MIT License
3.81k stars 640 forks source link

How to play file.mid #259

Open josanta opened 3 years ago

josanta commented 3 years ago

hello, how can I play recorded mid files on my pc. like file.mid

- This is working online and offline. How can I use it on my local folder as here: Why is it not working. Thank you :)
hmoffatt commented 3 years ago

Content type is wrong. Path may be wrong. Check the network pane of your browser's developer tools - does it try to load the script?

josanta commented 3 years ago

Content type is wrong. Path may be wrong. Check the network pane of your browser's developer tools - does it try to load the script? the path is correct. can I share code with you?

josanta commented 3 years ago

https://user-images.githubusercontent.com/43416979/103454672-66303300-4cf7-11eb-8075-dec8f8115289.mp4

player.zip

These are the files and video

hmoffatt commented 3 years ago

The browser console says: Loading failed for the <script> with source “http://.../player/js/libtimidity.js”. Appears there are files missing from the zip.