> Of course, if applications are supposed to add/modify/delete system midi
> sounds, my current approach is wrong :-(
Now that every man and his dog are providing replacement alarms, this brings
up the question about where they should live and how they're handled.
My reading on Sound in the Companion is that the OS provides some MIDI
sounds (in System_MIDI_Sounds) but people can provide additional sound
libraries simply by following the documented format and setting the type to
sysFileTMidi. And SndCreateMidiList, with creator=NULL, is a simple way of
finding all sounds (default and third-party) on the device in a format ready
for display in a selection list. It also provides the creator and unique id
so that a reference to the sound can be saved and the same sound played
later (assuming it still exists). Or did I get it wrong and libraries other
than System_MIDI_Sounds are considered to be only for use by the application
with the same creator?
Stephen Best
Bitware Australia