Sound - PowerPoint PPT Presentation

About This Presentation
Title:

Sound

Description:

DirectSound has sound recording and low level buffer operations (full duplex capabilities) ... typedef unsigned long DWORD; typedef DWORD * DWORD_PTR ... – PowerPoint PPT presentation

Number of Views:9
Avg rating:3.0/5.0
Slides: 12
Provided by: bak109
Category:
Tags: sound | unsigned

less

Transcript and Presenter's Notes

Title: Sound


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
SoundData Flow
6
SoundInput
7
SoundInternal
8
SoundOutput
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
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

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!
Write a Comment
User Comments (0)
About PowerShow.com