QuinDennis

Results 11 comments of QuinDennis

Greetings! I have similar needs, midi.js in phonegap. I'll be generating local midi, so either need to pass a var (preferrably) or local file. Any ideas on how I should...

Found it in the dev branch, midi.USE_XHR=false

## https://github.com/mudcube/MIDI.js, select the dev branch, download, in plugin.js set USE_XHR=false. midi.DEBUG = false; //midi.USE_XHR = true; ## midi.USE_XHR = false; Then, the MIDIPlayer.html example works and playing notes in...

We also included the file acoustic_grand_piano-ogg.js within a tag in our index.html. This provides the SoundFont. We just tested commenting this out and no sound, so that could be a...

Oh, and yes, it works in Phonegap. On 2/16/2015 5:09 PM, mrweix wrote: > Mmmh I tried it and still no sound on android..... > > Please let me know...

Hi, yes, we're running into issues on a NextBook 8 as well. My Samsung G4 plays sounds but not as clearly as the browser, so we're still researching, in the...

Greetings, I'm working on the same functionality, trying to work with local files only (MIDI.js, jquery, acoustic_grand_piano-ogg.js, local .mid file), then moving it into a phonegap app. Are there updates?...

Wow, thanks for the quick response. C:\Users\Quin>"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --allow-file-access-from-files --and this error in the modified XMLDomLoader--- XMLHttpRequest cannot load file:///C:/PW/MIDI/MIDI.js-master/soundfont/acoustic_grand_piano-ogg.js. Cross origin requests are only supported for protocol schemes:...

Thanks, it is. mtst.html is in MIDI.js-master ---mtst.html--- window.onload = function () { play(); } --- //Play function play() { //alert(MIDI.get_audio_status()); //MIDI.Player.loadMidiFile('hinematov.mid'); MIDI.loadPlugin({ soundfontUrl: "file://C:/PW/MIDI/MIDI.js-master/soundfont/", instrument: "acoustic_grand_piano", callback: function() {...

Yep, that should work. The end game is to get this into a phone app, so we'd like to use local files. I think I'm going to have to look...