Hamish Moffatt

Results 213 comments of Hamish Moffatt

Like you said, it needs special treatment of channel 10 to always use the drum sound font. The published code can't do it but it's not a big change. I...

Your question doesn't make any sense. If you are using noteon/noteoff then you are responsible for timing, so you can pause in your code.

The builder is a simple ruby program to run fluidsynth to render the sound font to WAV, then lame to make MP3 and oggenc to make OGG. If you could...

You can do it by using a worker thread to do the scheduling. Check out the example application at https://github.com/cwilso/metronome. I have been experimenting with this to schedule midi.js events...

I'm won't have a chance to share anything for a month at least. I rewrote the whole scheduler. It depends on a web worker for accurate timing. However I don't...

What problem do you want to solve with the web worker? You don't play many notes so you won't have the other issue where web workers are discussed. Sent from...

Have a look at the comments in https://github.com/mudcube/MIDI.js/issues/178. Basically any MIDI file that contains more than a few notes won't play properly on iOS. It can't handle the scheduling approach...

The sf2 might contain multiple instruments. But mainly because the converter script is dumb and doesn't inspect the sf2 at all, it just runs fluidsynth for every note of every...

loadFile doesn't block. You are probably calling start() too soon.