Sound: Global Sound Parameters – Arma 3
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\[\[[Cc]ategory:[ _]?Arma[ _]3:[ _]([^|]*)[ _]?\|.*\]\]" to "{{GameCategory|arma3|$1}}") |
Lou Montana (talk | contribs) m (Fix) |
||
(8 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
== Global Sound Parameters == | == Global Sound Parameters == | ||
Definition of default sound properties, which are applied on every sound if not overridden by custom definition within [[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'''. | ||
{| class="wikitable | {| class="wikitable" | ||
|- | |- | ||
! | ! Parameter | ||
! | ! Unit/values | ||
! | ! Default | ||
! | ! Description | ||
|- | |- | ||
!''defaultDistanceFilter'' | ! ''defaultDistanceFilter'' | ||
| class name | | class name | ||
| | | | ||
| | | | ||
* global [[Arma 3 Sound: Filters|Distance filter]], used on every sound unless specified differently in the soundSet (meaning vehicles which do not yet have soundSet configuration always are filtered by the defaultDistanceFilter) | * global [[Arma 3: Sound: Filters|Distance filter]], used on every sound unless specified differently in the soundSet (meaning vehicles which do not yet have soundSet configuration always are filtered by the defaultDistanceFilter) | ||
|- | |- | ||
!''defaultSound3DProcessingType'' | ! ''defaultSound3DProcessingType'' | ||
| class name | | class name | ||
| | | | ||
| | | | ||
* global [[Arma 3 Sound: Processing Types|Sound Processing Type]] | * global [[Arma 3: Sound: Processing Types|Sound Processing Type]] | ||
|- | |- | ||
!''defaultVolumeCurve'' | ! ''defaultVolumeCurve'' | ||
| class name | | class name | ||
| | | | ||
| | | | ||
* global amplitude [[Arma 3 Sound: Sound Curves|attenuation curve]] | * global amplitude [[Arma 3: Sound: Sound Curves|attenuation curve]] | ||
|- | |- | ||
!''defaultWeaponVolumeCurve'' | ! ''defaultWeaponVolumeCurve'' | ||
| class name | | class name | ||
| | | | ||
| | | | ||
* global amplitude [[Arma 3 Sound: Sound Curves|attenuation curve]] for weapons shooting | * global amplitude [[Arma 3: Sound: Sound Curves|attenuation curve]] for weapons shooting | ||
|- | |- | ||
!''defaultLFEVolumeCurve'' | ! ''defaultLFEVolumeCurve'' | ||
| class name | | class name | ||
| | | | ||
| | | | ||
* global LFE (subwoofer) amplitude [[Arma 3 Sound: Sound Curves|attenuation curve]] | * global LFE (subwoofer) amplitude [[Arma 3: Sound: Sound Curves|attenuation curve]] | ||
|- | |- | ||
!''OldConfigurationVolumeFactor'' | ! ''OldConfigurationVolumeFactor'' | ||
| float (0..n) or [dBFS] | | float (0..n) or [dBFS] | ||
| db0 | | db0 | ||
| | | | ||
* volume attenuation of sounds which are configured using the old way (not [[Arma 3 Sound: SoundSet|SoundSets]]) | * volume attenuation of sounds which are configured using the old way (not [[Arma 3: Sound: SoundSet|SoundSets]]) | ||
|- | |- | ||
!''defaultSpatialityRange'' | ! ''defaultSpatialityRange'' | ||
| [m] | | [m] | ||
| 0 | | 0 | ||
| | | | ||
* | * {{Link|https://msdn.microsoft.com/en-us/library/windows/desktop/microsoft.directx_sdk.x3daudio.x3daudio_emitter(v{{=}}vs.85).aspx|innerRadius}} value - distance, where signal starts bleeding into "opposite" channels | ||
|- | |- | ||
!''defaultSpatialityRangeAngle'' | ! ''defaultSpatialityRangeAngle'' | ||
| [radians] (0..pi/4) | | [radians] (0..pi/4) | ||
| 0.785 (pi/4) | | 0.785 (pi/4) | ||
| | | | ||
* | * {{Link|https://msdn.microsoft.com/en-us/library/windows/desktop/microsoft.directx_sdk.x3daudio.x3daudio_emitter(v{{=}}vs.85).aspx|innerRadiusAngle}} | ||
|} | |} | ||
<syntaxhighlight lang="cpp">class CfgSoundGlobals | <syntaxhighlight lang="cpp"> | ||
class CfgSoundGlobals | |||
{ | { | ||
defaultDistanceFilter = "defaultDistanceFreqAttenuationFilter"; | defaultDistanceFilter = "defaultDistanceFreqAttenuationFilter"; | ||
Line 80: | Line 81: | ||
defaultSound3DProcessingType = "default3DProcessingType"; | defaultSound3DProcessingType = "default3DProcessingType"; | ||
defaultSpatialityRange = 0.005; | defaultSpatialityRange = 0.005; | ||
defaultSpatialityRangeAngle = 0.785; // | defaultSpatialityRangeAngle = 0.785; // pi/4 | ||
OldConfigurationVolumeFactor = db-4; | OldConfigurationVolumeFactor = db-4; | ||
};</syntaxhighlight> | }; | ||
</syntaxhighlight> |
Latest revision as of 19:21, 24 June 2024
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 | Description |
---|---|---|---|
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; // pi/4
OldConfigurationVolumeFactor = db-4;
};