Sound: Global Sound Parameters – Arma 3

From Bohemia Interactive Community
Jump to navigation Jump to search
(Created page with "== Global Sound Parameters == Definition of default sound properties, which are applied on every sound if not overridden by custom definition within [https://community.bistud...")
 
No edit summary
Line 1: Line 1:
== Global Sound Parameters ==
== Global Sound Parameters ==


Definition of default sound properties, which are applied on every sound if not overridden by custom definition within [https://community.bistudio.com/wiki/Arma_3_Sound:_SoundSet SoundSet].
Definition of default sound properties, which are applied on every sound if not overridden by custom definition within [[Arma 3 Sound: SoundSet|SoundSet]].


Configured in the base class '''CfgSoundGlobals'''.
Configured in the base class '''CfgSoundGlobals'''.
Line 18: Line 18:
|  
|  
|
|
* global [https://community.bistudio.com/wiki/Arma_3_Sound:_Filters Distance filter]
* global [[Arma 3 Sound: Filters|Distance filter]]


|-
|-
Line 25: Line 25:
|  
|  
|
|
* global [https://community.bistudio.com/wiki/Arma_3_Sound:_Processing_Types Sound Processing Type]
* global [[Arma 3 Sound: Processing Types|Sound Processing Type]]


|-
|-
Line 32: Line 32:
|  
|  
|
|
* global amplitude [https://community.bistudio.com/wiki/Arma_3_Sound:_Sound_Curves attenuation curve]
* global amplitude [[Arma 3 Sound: Sound Curves|attenuation curve]]


|-
|-
Line 39: Line 39:
|  
|  
|
|
* global amplitude [https://community.bistudio.com/wiki/Arma_3_Sound:_Sound_Curves attenuation curve] for weapons shooting
* global amplitude [[Arma 3 Sound: Sound Curves|attenuation curve]] for weapons shooting


|-
|-
Line 46: Line 46:
|  
|  
|
|
* global LFE (subwoofer) amplitude [https://community.bistudio.com/wiki/Arma_3_Sound:_Sound_Curves attenuation curve]
* global LFE (subwoofer) amplitude [[Arma 3 Sound: Sound Curves|attenuation curve]]


|-
|-
Line 53: Line 53:
| db0
| db0
|
|
* volume attenuation of sounds which are configured using the old way (not [https://community.bistudio.com/wiki/Arma_3_Sound:_SoundSet SoundSets])
* volume attenuation of sounds which are configured using the old way (not [[Arma 3 Sound: SoundSet|SoundSets]])


|-
|-
Line 71: Line 71:
|}
|}


<code>class CfgSoundGlobals
<syntaxhighlight lang="cpp">class CfgSoundGlobals
{
{
defaultDistanceFilter = "defaultDistanceFreqAttenuationFilter";
defaultDistanceFilter = "defaultDistanceFreqAttenuationFilter";
Line 81: Line 81:
defaultSpatialityRangeAngle = 0.785; // p/4
defaultSpatialityRangeAngle = 0.785; // p/4
OldConfigurationVolumeFactor = db-4;
OldConfigurationVolumeFactor = db-4;
};
};</syntaxhighlight>
</code>

Revision as of 12:41, 24 September 2016

Global Sound Parameters

Definition of default sound properties, which are applied on every sound if not overridden by custom definition within SoundSet.

Configured in the base class CfgSoundGlobals.

parameter unit/values default descriptions
defaultDistanceFilter class name
defaultSound3DProcessingType class name
defaultVolumeCurve class name
defaultWeaponVolumeCurve class name
defaultLFEVolumeCurve class name
OldConfigurationVolumeFactor float (0..n) or [dBFS] db0
  • volume attenuation of sounds which are configured using the old way (not SoundSets)
defaultSpatialityRange [m] 0
  • innerRadius value - distance, where singal starts bleeding into "opposite" channels
defaultSpatialityRangeAngle [radians] (0..pi/4) 0.785 (pi/4)
class CfgSoundGlobals
{
	defaultDistanceFilter = "defaultDistanceFreqAttenuationFilter";
	defaultVolumeCurve = "defaultAmpAttenuationCurve";
	defaultWeaponVolumeCurve = "defaultWeaponAmpAttenuationCurve";
	defaultLFEVolumeCurve = "defaultLFECurve";
	defaultSound3DProcessingType = "default3DProcessingType";
	defaultSpatialityRange = 0.005;
	defaultSpatialityRangeAngle = 0.785; // p/4
	OldConfigurationVolumeFactor = db-4;
};