Meaning of entries in soundxxx.txt files

Downloads: www.mtm2.com/~mtmg/utilities.html
Post Reply
rocketalces
Member
Posts: 205
Joined: Sun Sep 08, 2002 2:01 pm
Location: Switzerland

Meaning of entries in soundxxx.txt files

Post by rocketalces »

Example sound014.txt
checkpoint wav file
airhorn.wav
finish lap wav file
check2.wav
number of one-shots
14
wavName, vol, timerMin, timerMax, weatherMask
bird1.wav, 1.0, 1.0, 40.0, 67
crow2.wav, 1.35, 1.0, 70.0, 67
crow3.wav, 1.35, 1.0, 70.0, 67
crow4.wav, 1.35, 1.0, 70.0, 67
d-growl1.wav, 1.3, 1.0, 40.0, 511
d-growl2.wav, 1.3, 1.0, 40.0, 511
dog2.wav, 1.1, 1.0, 50.0, 479
dog4.wav, 1.1, 1.0, 50.0, 479
dog5.wav, 1.1, 1.0, 50.0, 479
dog6.wav, 1.1, 1.0, 50.0, 479
dog7.wav, 1.1, 1.0, 50.0, 479
owl1.wav, 1.0, 1.0, 40.0, 448
wolf1.wav, 1.4, 1.0, 40.0, 448
wolf2.wav, 1.4, 1.0, 40.0, 448
number of looping sounds
0
wavName, vol, weatherMask
The second line specifies the sound of normal CPs, the fourth line the sound of the start-finish CP.
Number of one-shots specifies the number of entries below.
Wav name and Volume are obvious, weathermask specifies for which wheather conditions the respective sound will be active (details on values are here viewtopic.php?t=1832)

But unlike what I was hoping, one-shots are not played once. TimerMin gives the delay before the sound is played the first time and then the intervall to the next repetition. I don't know what timerMax does. Playing around with values of both parameters either results in the sound being repeated endlessly (timerMin intervall) or not being played at all.

Is it possible to have a sound being played exactly once, at a specified time?
User avatar
Phineus
Glow Ball
Posts: 24
Joined: Tue Feb 02, 1999 7:00 pm

Post by Phineus »

> Is it possible to have a sound being played exactly once, at a specified time?

Not that I'm aware of . . . except in the case of assigning it to an object that plays the sound on contact. This is, after all, a sound scheme, or ambient sounds, which describe the accoustical backdrop to a track's environment. The word one-shot is somewhat misleading since it too loops, in a certain way of thinking. The difference, however, between one shot and looping sound is that the one shot is played and then stops for a period before it is played again, where as looping has no break or interuptions so it is heard continuously.

The volume option doesn't do as much as we'd hope too. I suppose it has no gain, or amplification.
User avatar
Phineus
Glow Ball
Posts: 24
Joined: Tue Feb 02, 1999 7:00 pm

Post by Phineus »

I take it back.

> Is it possible to have a sound being played exactly once, at a specified time?

Yes, it can be done. Integrate the sound into the track's music, then use the KLP file to control the looping to exclude it on subsequent plays.

viewtopic.php?t=2792

Unfortunately, there's always a trade off. People who turn music off will not hear it at all. But, yeah, it can be done.
rocketalces
Member
Posts: 205
Joined: Sun Sep 08, 2002 2:01 pm
Location: Switzerland

Post by rocketalces »

Looks like good stuff there.
Just need to make it work in practice now, lol.
Thanks for the tip
Post Reply