Just generate a bunch of WAV recordings of the sounds, write an SFZ programmatically, and have something like Polyphone convert to SF2/3
- Generate a long test song that plays C, E, G on every octave in a slow arpeggio (look at the instrument definition to get the perfect time needed to get attack, decay, sustain, and release times, plus a second of silence after)
- Have user record MakeCode Arcade sim playing that song
- Pass that audio recording back to break up into a lot of short WAV files of each instrument
- Write SFZ file
https://soundprogramming.net/file-formats/midi-note-ranges-of-orchestral-instruments/
Just generate a bunch of WAV recordings of the sounds, write an SFZ programmatically, and have something like Polyphone convert to SF2/3
https://soundprogramming.net/file-formats/midi-note-ranges-of-orchestral-instruments/