Sound DirectMusic & DirectSound. Sound Formats Wav Midi (Musical Instrument Digital Interface) DLS...
-
Upload
scott-hoover -
Category
Documents
-
view
218 -
download
3
Transcript of Sound DirectMusic & DirectSound. Sound Formats Wav Midi (Musical Instrument Digital Interface) DLS...
Sound
DirectMusic & DirectSound
Sound Formats
Wav Midi (Musical Instrument Digital
Interface) DLS (Downloadable Sounds) DirectMusic Producer Segments Loader for new formats
DirectMusic vs DirectSound
DirectMusic more oriented to high level playing of arrangements and compositional effects (MIDI, DLS)
DirectSound has sound recording and low level buffer operations (full duplex capabilities)
Playing Audio Files Initialize: create instances of the loader,
the performance, and initialize the performance
Load a File: load the file and get an interface to that interface (segment)
Play the File: download all kind of settings from the segment to the performance, and play the segment
Close Down: close all the stuf
SoundData Flow
SoundInput
SoundInternal
SoundOutput
Elements of a DirectMusic ApplicationKey concepts and code objects of DirectMusic: Loader Segments and Segment States Performance Messages Performance Channels Downloadable Sounds Instruments and Downloading Audio paths and Buffers Audio Scripts
SoundData Flow
Key concepts and code objects• Loader • Segments and Segment States • Performance • Messages • Performance Channels • Downloadable Sounds • Instruments and Downloading • Audio paths and Buffers • Audio Scripts
Assignments (Problems) 1,3, and 5: add before the includes of
dmusici.h and dmusicc.h: typedef unsigned long DWORD; typedef DWORD * DWORD_PTR
Assignment 2 has compilation errors that we have to solve, so do not compile yet, but browse through the code only. Look at the MMP2003 web-page tomorrow for an update on this!