The DLS data format is identical in kernel and user modes. The downloaded data begins with two structures:Ī fixed-size header describing the information that is being downloaded.Īn offset table that follows the header and describes the offsets of the various chunks of information within the downloaded data.įollowing the offset table is the actual data, which can begin with either of the following:Ī structure containing a chunk of wave data in PCM format.įor more information about these data structures and the data formats that are used to download instrument and wave data, see the discussion of DirectMusic low-level DLS in the Microsoft Windows SDK documentation. When DirectMusic downloads DLS data to the driver, the format of the data buffer is defined in terms of several DirectMusic structures. This method should accept raw data (typically from a collection file) and store it in a form that can be used by your rendering engine. Specifically, you should implement your IDirectMusicSynth::Download method so that it can download instrument wave and articulation data to the synthesizer. If you are writing your own synthesizer, you also have to provide support for downloadable sounds (DLS) so that the application can convert MIDI note messages to particular instrument sounds.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |