osakared-build on main
Initial commit Add Gitter badge Merge pull request #1 from gitt… and 54 more (compare)
osakared-build on main
Generating docs of haxe externs… Added haxe translation of boile… (compare)
osakared-build on main
Updated haxe version (compare)
thomasjwebb on master
osakared-build on main
Updated grig versions, added ge… (compare)
osakared-build on main
Initial commit.. nothing to see… Added license More changes and 7 more (compare)
osakared-build on master
Initial commit Add Gitter badge Merge pull request #1 from gitt… and 52 more (compare)
osakared-build on master
Initial work on fmod js bindings Finished adding externs to Syst… Added disclaimer (compare)
osakared-build on master
Switched to using haxelib versi… (compare)
osakared-build on master
Added velocity sensitivity back… (compare)
osakared-build on master
Removed files I have no idea ho… (compare)
osakared-build on master
Switched to using entire block … Added EG to MonoFMSynth for a c… Made examples sound a little be… (compare)
osakared-build on master
Fading in and out to prevent cl… (compare)
osakared-build on master
Added separate fmsynth project (compare)
osakared-build on master
Experimenting with simple singl… (compare)
osakared-build on master
Updated haxe version and added … Added beginning of MonoSynth ex… Work on MonoSynth example (compare)
osakared-build on master
Removed stuff that has been mov… (compare)
osakared-build on master
Updated to reflect python pyaud… (compare)
osakared-build on master
Added targets that have been im… (compare)
osakared-build on master
Downgrading to old lix version … (compare)
Oh okay. There isn't an end-to-end solution to playing multitrack midi files in grig yet. The main missing pieces are a) a class that subclasses MidiIn but that reads from a midi file and uses timers to dispatch the events and b) sample-based synths appropriate for general midi (but if you're okay with fm synthesis, there is that already). Also if you just had the first thing, you could open a MidiOut to any system virtual instrument (like Windows has) or a virtual port to a synth you run in another process (like fluidsynth).
Also note that games these days almost never have software synths built into them because it takes processing power to handle that. And modern systems don't have sound chips to handle it like in the old days. It just so happens though that I'm doing a talk about this in a few weeks! So what you want to do is unusual but also something I encourage (with caveats). It's definitely a more complicated approach. Not simple like you might assume from the fact that websites used to always have midi soundtracks. I'm the 2nd to last talk on the last day https://www.gamesoundcon.com/schedule