Microsoft KB Archive/89878

= Windows Sound System: How SoundScapes Works =

Article ID: 89878

Article Last Modified on 10/15/2003

-

APPLIES TO


 * Microsoft Windows Sound System 1.0
 * Microsoft Windows Sound System 1.0a

-



This article was previously published under Q89878



SUMMARY
SoundScapes, a component of the Windows Sound System, works by setting a timer to play a sound. Note the following:


 * If a sound is playing when the timer event occurs, SoundScapes does not play an additional sound.
 * If a sound is not playing, SoundScapes generates a random number from 0 to 99 and compares it to the &quot;chance&quot; of a sound being played (chance is an entry in the CONTROL.INI file). If the random value is less than the chance, then SoundScapes randomly selects one of the sounds from the sound list and plays it at a random volume level unless position=0, in which case SoundScapes always plays at the same volume.



MORE INFORMATION
SoundScapes gets its information from the CONTROL.INI file in the Windows directory. The important fields are:

[SoundScapes]

current=

Environment00=

Environment01=

Environment<??>=

Volume=

PWProtected=<0 if there's no password protection; 1 if there is>

Path=

Each SoundScapes sound has an entry similar to the following:

[SndScape. ]

Numsounds=

Chance=

Time=

Position=<1 if a random volume level is chosen; 0 to use maximum

volume all the time>

sound00=

sound01=

sound<# sounds - 1>=

Keywords: KB89878

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.