3 ms·
Why not attach a buffer to the front of the synth and run the audio rendering in a separate thread? Isn't this how software synths work now? What's preventing t
by silentOpen 16y ago
Why not attach a buffer to the front of the synth and run the audio rendering in a separate thread? Isn't this how software synths work now? What's preventing this from happening in the browser?
- mambodog 16y agoIf you're handling it all yourself, I think you'd be better off coming up with your own format... MIDI is an old, gross binary format with lots of baggage. The main usage for this, I would imagine, would be to get a MIDI file out for use with some other application (despite being ugly, it is a standard format and has wide support).
- sergimansilla 16y agoThe problem with that is that MIDI is a very strong standard, as bad as the format itself might be. Every single synth or keyboard out there exports to MIDI, and most of the time ONLY to MIDI. Also, the MIDI format is not slow to generate or to read, it is actually designed for speed (and may other perks) and any implementation of it would be very likely faster than any other format you could come up with. Of course, you would still have to deal with its complications and the many particularities and edge-cases it has.