Editing the PRS files to make sounds quit - Printable Version
+- All-Aircraft-Simulations (
https://allaircraftsimulations.com)
+-- Forum: IL2 MODS Download & Discussion (
https://allaircraftsimulations.com/forumdisplay.php?fid=267)
+--- Forum: IL-2 4.09m (
https://allaircraftsimulations.com/forumdisplay.php?fid=348)
+---- Forum: IL2 MODS Discussion Section 4.09m (
https://allaircraftsimulations.com/forumdisplay.php?fid=292)
+---- Thread: Editing the PRS files to make sounds quit (
/showthread.php?tid=60604)
Editing the PRS files to make sounds quit - Steel - 08.04.2009
Yesterday I dl Jaffas great 2 Soundpacks. I really love his sounds but their are very very loud from in the cockpit view.
What did I have to edit in the prs files to make them quiter in the internal view
- Guest - 08.04.2009
Sound volume is control by two ways: The 'SPL' tag in the preset file and the actually intensity of the sample.
If you find the preset file for the specified aircraft (located in files/presets/sounds and will be called motor-xxx where xxx is the engine type), you can reduce the SPL. This mainly effects the external sound, so it will decrease the intensity level (therefore lower volume and it wil only hear it at close distance)
If this does not work, then you need to manually edit the samples and reduce the volume for each one. I recommend a free editor called 'Audicity'. Simple to use and free!
- Steel - 08.04.2009
ok thanks
is their a specif info in the prs file for the internal sound ???
edit :
i have open the prs file and found the spl tag
but its sadly not for every single sound, just one for them all
- Steel - 08.04.2009
- Guest - 08.04.2009
I'll do a quick example for you. Here is the preset file for the Jumo211 (used by Stuka) from the SFX 0.91 sound mod.
Quote:[common]
mode relobj pos
type mixer
infinite 1
EAXMix 0.95
occlusion -9
occllf 0.25
eaxroom 0.5
obstruction -7
obstrlf 0
mutable 1
[spl]
100
[samples]
DB605_starter.wav
jumo211_1000.wav
jumo211_1001.wav
jumo211_3000.wav
jumo211_3001.wav
xjumo211_1000.wav
xjumo211_1001.wav
xjumo211_3000.wav
xjumo211_3001.wav
DB605_dmg.wav
1.wav
x2.wav
[sample.DB605_starter.wav]
infinite 1
controls rpm start
[sample.DB605_starter.wav.rpm]
minlo 20
minhi 30
maxlo 150
maxhi 250
value 1.5
pmin 0.6
pmax 1.8
[sample.DB605_starter.wav.start]
minlo 0
minhi 0.5
maxlo 1.5
maxhi 2.0
value 1.5
pmin 1.0
pmax 1.0
[sample.jumo211_1000.wav]
infinite 1
env 8
controls rpm
[sample.jumo211_1000.wav.rpm]
minlo 100
minhi 300
maxlo 1500
maxhi 2500
value 12.0
pmin -1.0
pmax 1600
[sample.jumo211_1001.wav]
infinite 1
env 8
controls rpm
[sample.jumo211_1001.wav.rpm]
minlo 100
minhi 300
maxlo 1500
maxhi 2500
value 12.0
pmin -1.0
pmax 1600
[sample.jumo211_3000.wav]
infinite 1
env 8
controls rpm
[sample.jumo211_3000.wav.rpm]
minlo 1200
minhi 2100
maxlo 6000
maxhi 6500
value 12.0
pmin -1.0
pmax 2200
[sample.jumo211_3001.wav]
infinite 1
env 8
controls rpm
[sample.jumo211_3001.wav.rpm]
minlo 1200
minhi 2100
maxlo 6000
maxhi 6500
value 12.0
pmin -1.0
pmax 2200
[sample.jumo211_3001.wav]
infinite 1
env 8
controls rpm
[sample.jumo211_3001.wav.rpm]
minlo 1200
minhi 2100
maxlo 6000
maxhi 6500
value 12.0
pmin -1.0
pmax 2200
[sample.xjumo211_1000.wav]
infinite 1
env 0 2
controls rpm
[sample.xjumo211_1000.wav.rpm]
minlo 100
minhi 300
maxlo 1500
maxhi 2500
value 8.0
pmin -1.0
pmax 1600
[sample.xjumo211_1001.wav]
infinite 1
env 0 2
controls rpm
[sample.xjumo211_1001.wav.rpm]
minlo 100
minhi 300
maxlo 1500
maxhi 2500
value 8.0
pmin -1.0
pmax 1600
[sample.xjumo211_3000.wav]
infinite 1
env 0 2
controls rpm
[sample.xjumo211_3000.wav.rpm]
minlo 1200
minhi 2100
maxlo 6000
maxhi 6500
value 12.0
pmin -1.0
pmax 2200
[sample.xjumo211_3001.wav]
infinite 1
env 0 2
controls rpm
[sample.xjumo211_3001.wav.rpm]
minlo 1200
minhi 2100
maxlo 6000
maxhi 6500
value 12.0
pmin -1.0
pmax 2200
[sample.DB605_dmg.wav]
infinite 1
controls rpm damage
[sample.DB605_dmg.wav.rpm]
minlo 500
minhi 2000
maxlo 4000
maxhi 6000
value 3.0
pmin 0.4
pmax 2.2
[sample.DB605_dmg.wav.damage]
minlo 0.1
minhi 0.6
maxlo 1.0
maxhi 2.0
value 3.0
pmin 1.0
pmax 1.0
[sample.1.wav]
infinite 1
env 8
controls speed
[sample.1.wav.speed]
minlo 188
minhi 220
maxlo 500
maxhi 610
value 5.0
pmin -1.0
pmax 220
[sample.x2.wav]
infinite 1
env 0 2
controls speed
[sample.x2.wav.speed]
minlo 188
minhi 220
maxlo 500
maxhi 610
value 7.0
pmin -1.0
pmax 220
[spl] controls the volume as described previously, to change internal volume you need to alter each individual sound. Presets only control overal intensity, so if the issue is with one sound, use your sound editor of choice. Now to add the dive sound, open up the preset file you want to add the sound to. Under [SAMPLES] add the lines:
1.wav
x2.wav
Then as per the above example, add in the lines starting with [sample.1wav] etc. If done correctly, you will now have divesounds for that aircraft.
- Steel - 08.04.2009
thanks !!!
will try now !