Download presentation
Presentation is loading. Please wait.
Published byScott Hoover Modified over 9 years ago
1
Sound DirectMusic & DirectSound
2
Sound Formats Wav Midi (Musical Instrument Digital Interface) DLS (Downloadable Sounds) DirectMusic Producer Segments Loader for new formats
3
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)
4
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
5
Sound Data Flow
6
Sound Input
7
Sound Internal
8
Sound Output
9
Elements of a DirectMusic Application Key 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
10
Sound Data 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
11
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!
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.