saving General MIDI (GM) instrument to a .mid file
Hope that you can help me with this one...
I know that with the 'Finale music notation' software, you can export a MIDI file and it can then output one of the GM instrument sounds.
Is this possible to do in Max as well ? That is, specify a GM instrument to that MIDI and when you write it to a .mid file it will output that sound
- dolemi86
you can play midi data live with max, but writing midi files to disk is limited.
it can be done better with mxj probably, but i´ve got no experience in that,
I think you want Program Change messages...? So whatever you send to [pgmout], and when you send them, should be stored with the rest of the MIDI in your file. Both [seq] and [detonate] support this I believe, though you may need to look up the actual message for [seq], because it sequences raw MIDI bytes. I think [detonate] has program change as one of its inlets, and has more options anyway, so maybe work with that (though it's more to get started than seq is).
So while there's no guarantee what will happen during playback, at least on GM systems you'll hear a Harp sound when you send #47 (one of my favorites :)
If you're playing back via Max, it's a simple matter to gate the Program Change messages playing back, so the user can choose their own instruments versus those included in the file. Same for any other parameter like pitch, velocity, duration, etc... for that matter... just numbers, let them through or restrict them as you see fit!