Sound: Global Sound Parameters – Arma 3
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "};</syntaxhighlight>" to "}; </syntaxhighlight>") |
Lou Montana (talk | contribs) m (Text replacement - "<syntaxhighlight lang="cpp">class" to "<syntaxhighlight lang="cpp"> class") |
||
Line 72: | Line 72: | ||
|} | |} | ||
<syntaxhighlight lang="cpp">class CfgSoundGlobals | <syntaxhighlight lang="cpp"> | ||
class CfgSoundGlobals | |||
{ | { | ||
defaultDistanceFilter = "defaultDistanceFreqAttenuationFilter"; | defaultDistanceFilter = "defaultDistanceFreqAttenuationFilter"; |
Revision as of 10:05, 25 May 2021
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 |
|
defaultSpatialityRange | [m] | 0 |
|
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;
};