Index
S
32, 40
sample, defined, 3
sample listsin DirectMusic, 179
in tracked music, 176
sample parametersin DirectMusic, 179-180
in tracked music, 176
sample quality, 2-5
defined, 4
math for, 34-35
for WAV files, 69
sample rates, 2-5
common audio sampling rates, 32
defined, 3
Nyquist number, 289
in WAV files, 69
sampleswith DLS1, 13
mixing sound, 7-8
savingCWAVFile methods, 73
I3DL2 environments, 258-259
sawtooth waves, 29
Schmidt, Brian, 24
ScreamTracker, 10
BASS supporting, 16
screenshot, 158
scripting. See audio scripting
search directory, using, 78-79
secondary buffers creating, 33-35
in DirectSound, 23-24
filling, 35-36
locking, 35-36
playing, 39-40
releasing, 40
restoring, 39
unlocking, 35-36
wrapping, 36-37
segments. See also DirectMusic; Produceraudio scripting for, 192-194
concurrently playing sounds, 82-83
downloading, 60
IsPlaying method, 61
level of game and, 174
PlaySegment call, 60
transitions, 174
unloading sounds, 61
sequencer software, 101
service providersCNetConnectWizard for, 274-277
for DirectPlay, 270-271
SetAllParameters method, 211, 215
for listener interface, 226
SetCooperativeLevel, 30
SetFormat method, 32
SetFX method, 207-209
m_Effects vector and, 214
SETI@Home screensaver, 295
SetLength method for looping sounds, 87
SetLoopPoints method, 87
SetRepeats method, 87
SetSearchDirectory method, 78-79
SetStartPoint method for looping sounds, 87
SetVolume method, 92
sine waves, 38
Nyquist number and, 289
and resonance, 286-289
skyboxes, 229
smart pointers, 59
SND files, DirectShow playing, 124
software for music, 330
SonyCD player by, 14
Redbook audio, 14
sound cards, 3
for DirectPlay Voice, 280
"Sound Cards, Voice Management, and Driver Models" (Schmidt), 24
sound cones, 221-222
sound designers and audio scripting, 191-195
205. See also audio scripting
audio engine, adding to, 209-210
CMIDIMusic class for, 103
collections of, 332-333
concurrently playing sounds, 82-83
with DirectMusic Producer, 205-207
downloading from Web, 333-334
echo effect class, 210
effects classes, 211
I3DL2 and, 252-253
lopsided sound effects, 332
parameters for effects, applying, 215
at runtime, 207-216
speech, recording, 334-335
tips for recording, 333
use of, 216
sound instances, 83-85. See also CSoundInstance class
Sound Recorder playing MP3, 123-124
SourceForge, 155
sources. See also OpenAL
EAX and directivity of, 260-261
Special Effects Game Programming Using DirectX 8.0, 229
spectrum analyzers, 284-285
arrays, constructing, 292
calculating DFT, 293-294
CDiscreteFourierTransform class, 291-292
graph, rendering, 294-295
loading WAV files, 290-291
sample program for, 290-295
values, loading, 292-293
speechactors, hiring, 334
lip synching, 335
localization issues, 334-335
recording, 334-335
square waves, 29
"Squeezing More Out of Assert" (Rabin), 53
Standard Buffer checkbox, 206
start time of note, 167
starting bytes, 36
StarTrekker, 10
stereo sound, 5
streaming, 25-26
in DirectSound, 44
DSBLOCK_FROMWRITECURSOR flag, 37
MP3s, 125-126
style tracks in DirectMusic, 168, 173-174
subroutines. See audio scripting
synchronous command execution, 153-154
syncing and latency, 110