Git Product home page Git Product logo

Comments (3)

mudcube avatar mudcube commented on July 17, 2024

Yes, that sounds like the soundfont is not loading. Does the loader say that anything is loading? Have you checked the Network tab in Chrome to see whether it's attempting to load a file that is non-existent? If you want to post a jsfiddle it'd be easier for me to answer.

from midi.js.

ccowen avatar ccowen commented on July 17, 2024

So I am new to this, very new. I plan on making my own app with the files you provided, but first I am trying to duplicate your site http://mudcu.be/midi-js/ to learn.

You can access the code here. http://www.caitlincowen.com/copyMIDIjs/
sample.html is the actual page, the other files are there also
The file MIDI.js-master from github is there, but I duplicated the linked files in other folders.

from midi.js.

mudcube avatar mudcube commented on July 17, 2024

Looking at the console, it says there is a missing variable in replayer.js "PianoProgram".

I'm not sure why, but your replayer.js has a bunch of content not in MIDI.js... did you edit it?

See the difference here:

https://github.com/mudcube/MIDI.js/blob/master/inc/jasmid/replayer.js
http://www.caitlincowen.com/copyMIDIjs/js/lib/jasmid/replayer.js

My recommendation would be to do a fresh clone of the repo. Also, I would use the code on the dev branch (I'm going to push to master soon, I don't think there are any new bugs).

Best,
Michael

from midi.js.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.