Home   Help Search Login Register  

Author Topic: cfgRadio volume  (Read 697 times)

0 Members and 1 Guest are viewing this topic.

yankme

  • Guest
cfgRadio volume
« on: 02 Nov 2005, 02:00:08 »
FAQ:
Quote
Q:
I have tryed from 1 to 100 and nothing works. Maybe I'm doing something wrong?

A:
The range is from 0 to 1.
0 means that you won't hear the music and 1 means the highest volume.
0.5 is the normal

class cfgRadio

{ name = "";sound[] = {"rap5.ogg", db1, 1.0}; title = $STRM_rap5

over and over i tryed very disheartening


pazuzu

  • Guest
Re:cfgRadio volume
« Reply #1 on: 02 Nov 2005, 10:27:15 »
I'm not sure but I think you have to use a sound editor like Goldwave to increase volume.

Offline Trapper

  • Honoured Contributor
  • ***
  • I'm a llama!
Re:cfgRadio volume
« Reply #2 on: 02 Nov 2005, 10:39:07 »
At first this dB setting is not "normal" volume. It determines the distance at which you're still able to hear a CfgSound on an island.
The only thing you can do with dB for the "real" volume setting is getting it lower with a very very negative value, but I think that's nothing more than a sideeffect.

As CfgRadio is always played at 0 distance to the player, of course the dB setting has no effect.
To change the real volume just amplify your soundfile with a sound editing software.

Also the FAQ is wrong.
I know I've seen percentage values used in some custom addons, but maybe they were based on this FAQ, and I don't think they are right. (I don't think there's a difference between defining sounds in config.cpp's or description.ext's)
In my missions I always have to use big dB values, either positive or negative (i.e. -15, 45, 78, -120). You'll will notice it's the only way adding dynamic range to CfgSounds.
Percentage values will be interpreted as a positive dB setting between 0 to 1, and that doesn't make any noticeable dynamic range difference, from leaving the dB setting empty.

yankme

  • Guest
Re:cfgRadio volume
« Reply #3 on: 02 Nov 2005, 11:13:19 »
Quote
Also the FAQ is wrong


ok great iam not insane

Quote
To change the real volume just amplify your soundfile with a sound editing software

gotcha  "thanks trapper and pazuzu"

 
« Last Edit: 02 Nov 2005, 11:17:19 by yankme »