Sound Direct Music Direct Sound Sound Formats n

  • Slides: 11
Download presentation
Sound Direct. Music & Direct. Sound

Sound Direct. Music & Direct. Sound

Sound Formats n n n Wav Midi (Musical Instrument Digital Interface) DLS (Downloadable Sounds)

Sound Formats n n n Wav Midi (Musical Instrument Digital Interface) DLS (Downloadable Sounds) Direct. Music Producer Segments Loader for new formats

Direct. Music vs Direct. Sound n n Direct. Music more oriented to high level

Direct. Music vs Direct. Sound n n Direct. Music more oriented to high level playing of arrangements and compositional effects (MIDI, DLS) Direct. Sound has sound recording and low level buffer operations (full duplex capabilities)

Playing Audio Files n n Initialize: create instances of the loader, the performance, and

Playing Audio Files n n 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

Sound Data Flow

Sound Data Flow

Sound Input

Sound Input

Sound Internal

Sound Internal

Sound Output

Sound Output

Elements of a Direct. Music Application Key concepts and code objects of Direct. Music:

Elements of a Direct. Music Application Key concepts and code objects of Direct. Music: n Loader n Segments and Segment States n Performance n Messages n Performance Channels n Downloadable Sounds n Instruments and Downloading n Audio paths and Buffers n Audio Scripts

Sound Data Flow Key concepts and code objects • Loader • Segments and Segment

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

Assignments (Problems) n 1, 3, and 5: add before the includes of dmusici. h

Assignments (Problems) n 1, 3, and 5: add before the includes of dmusici. h and dmusicc. h: n n n typedef unsigned long typedef DWORD * 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 MMP 2003 web-page tomorrow for an update on this!