Loading [MathJax]/extensions/Safe.js

Special Aircraft Service

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Preset settings for distant sounds  (Read 707 times)

0 Members and 1 Guest are viewing this topic.

Atoka220

  • Bomber
  • Modder
  • member
  • Offline Offline
  • Posts: 804
Preset settings for distant sounds
« on: February 27, 2022, 06:31:14 AM »

Hi

I have gathered and made some distant explosion sounds

Now I have an idea that I could simulate realistic sound travel to some extent but I need some help with preset files
I have made different sounds for explosions with different seconds of delay (and of course different sound respective to distance)

For example I have a sound for an explosion 600 meters away with 2 seconds of silence before the sound (I rounded the time/distance units for ease for now)
Now I would need to set it that it's audible from 600 meters up to around 1km, where another sound would be heard instead with 3 seconds of delay and so on
Of course I'd need to make the close up sound inaudible from 600 meters

Now I tried to learn from an old soundmod I had with pretty good distant sounds but only find stuff like these

Code: [Select]
[sample.exB.wav]
controls dist

[sample.exB.wav.dist]
minlo 10
minhi 2200
maxlo 3000
maxhi 6000
value 25
pmin  1.0
pmax  1.0

Afaik these values only control an engine sound depending on the RPM when the sample is set as controls rpm
Does it control volume in meters when set for controls dist?

For example, here's the preset file for big explosions
It's based on Victor's sound mod so credits for him

For now, I've only added the 600 meter sounds with no success
Code: [Select]
[common]
mode normal pos

[spl]
140

[samples]
exp_big_1.wav
exp_big_2.wav
exp_big_3.wav
exp_big_4.wav
exp_big_5.wav
exp_big_6.wav
exp_big_7.wav
exp_big_8.wav
exp_big_9.wav
exp_big_10.wav
exp3_04.wav
exp3_04b.wav
exp3_04d.wav
exp3_07.wav
exp_wbig1.wav
exp_wbig2.wav
exp_wbig3.wav
exp_wbig4.wav
exp_wbig5.wav
exp_wbig6.wav
expbig_600m_1.wav
expbig_600m_2.wav
expbig_600m_3.wav
expbig_600m_4.wav
exp_3km_1.wav
exp_3km_2.wav
expbig_5km.wav

[sample.exp_big_1.wav]
usr 0

[sample.exp_big_2.wav]
usr 0

[sample.exp_big_3.wav]
usr 0

[sample.exp_big_4.wav]
usr 0

[sample.exp_big_5.wav]
usr 0

[sample.exp_big_6.wav]
usr 0

[sample.exp_big_7.wav]
usr 0

[sample.exp_big_8.wav]
usr 0

[sample.exp_big_9.wav]
usr 0

[sample.exp_big_10.wav]
usr 0

[sample.exp3_04.wav]
usr 1

[sample.exp3_04b.wav]
usr 1

[sample.exp3_04d.wav]
usr 1

[sample.exp3_07.wav]
usr 1

[sample.exp_wbig1.wav]
usr 2

[sample.exp_wbig2.wav]
usr 2

[sample.exp_wbig3.wav]
usr 2

[sample.exp_wbig4.wav]
usr 2

[sample.exp_wbig5.wav]
usr 2

[sample.exp_wbig6.wav]
usr 2

[sample.expbig_600m_1.wav]
controls dist

[sample.expbig_600m_1.wav.dist]
minlo 600
minhi 600
maxlo 1000
maxhi 1000
value 25
pmin  1.0
pmax  1.0

[sample.expbig_600m_2.wav]
controls dist

[sample.expbig_600m_2.wav.dist]
minlo 600
minhi 600
maxlo 1000
maxhi 1000
value 25
pmin  1.0
pmax  1.0

[sample.expbig_600m_3.wav]
controls dist

[sample.expbig_600m_3.wav.dist]
minlo 600
minhi 600
maxlo 1000
maxhi 1000
value 25
pmin  1.0
pmax  1.0

[sample.expbig_600m_4.wav]
controls dist

[sample.expbig_600m_4.wav.dist]
minlo 600
minhi 600
maxlo 1000
maxhi 1000
value 25
pmin  1.0
pmax  1.0

Also what do those usr numbers mean?
I've looked a lot for a detailed preset file instruction, but found very little information
Logged
There are 2 certain things in life: Death and CTDs
Pages: [1]   Go Up
 

Page created in 0.077 seconds with 20 queries.