The three virtues of a programmer: Laziness, Impatience, and Hubris. – Larry Wall
Difference between revisions of "UE3:AudioDevice (UT3)"
(Talk) |
m (1 revision) |
||
Line 5: | Line 5: | ||
}} | }} | ||
{{autogenerated}} | {{autogenerated}} | ||
− | Copyright 1998- | + | Copyright 1998-2008 Epic Games, Inc. All Rights Reserved. |
==Properties== | ==Properties== | ||
Line 137: | Line 137: | ||
|} | |} | ||
− | '''Default value, index | + | '''Default value, index 2:''' |
{| class="list defaults" | {| class="list defaults" | ||
! {{tl|SoundGroup|||Member}} | ! {{tl|SoundGroup|||Member}} | ||
Line 143: | Line 143: | ||
|- | |- | ||
| GroupName | | GroupName | ||
− | | ' | + | | 'Briefing' |
|- | |- | ||
| Properties | | Properties | ||
Line 150: | Line 150: | ||
! {{tl|SoundGroupProperties|||Member}} | ! {{tl|SoundGroupProperties|||Member}} | ||
! Value | ! Value | ||
+ | |- | ||
+ | | bAlwaysPlay | ||
+ | | True | ||
+ | |- | ||
+ | | bIsUISound | ||
+ | | True | ||
|- | |- | ||
| Pitch | | Pitch | ||
Line 159: | Line 165: | ||
|} | |} | ||
− | '''Default value, index | + | '''Default value, index 3:''' |
{| class="list defaults" | {| class="list defaults" | ||
! {{tl|SoundGroup|||Member}} | ! {{tl|SoundGroup|||Member}} | ||
Line 165: | Line 171: | ||
|- | |- | ||
| GroupName | | GroupName | ||
− | | ' | + | | 'Character' |
|- | |- | ||
| Properties | | Properties | ||
Line 172: | Line 178: | ||
! {{tl|SoundGroupProperties|||Member}} | ! {{tl|SoundGroupProperties|||Member}} | ||
! Value | ! Value | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
| Pitch | | Pitch | ||
Line 187: | Line 187: | ||
|} | |} | ||
− | '''Default value, index | + | '''Default value, index 4:''' |
{| class="list defaults" | {| class="list defaults" | ||
! {{tl|SoundGroup|||Member}} | ! {{tl|SoundGroup|||Member}} | ||
! Value | ! Value | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
| GroupName | | GroupName | ||
− | | ' | + | | 'Cinematic' |
|- | |- | ||
| Properties | | Properties | ||
Line 220: | Line 212: | ||
|} | |} | ||
− | '''Default value, index | + | '''Default value, index 5:''' |
{| class="list defaults" | {| class="list defaults" | ||
! {{tl|SoundGroup|||Member}} | ! {{tl|SoundGroup|||Member}} | ||
Line 226: | Line 218: | ||
|- | |- | ||
| GroupName | | GroupName | ||
− | | ' | + | | 'CinematicDialog' |
|- | |- | ||
| Properties | | Properties | ||
Line 233: | Line 225: | ||
! {{tl|SoundGroupProperties|||Member}} | ! {{tl|SoundGroupProperties|||Member}} | ||
! Value | ! Value | ||
− | |||
− | |||
− | |||
|- | |- | ||
| Pitch | | Pitch | ||
Line 245: | Line 234: | ||
|} | |} | ||
− | '''Default value, index | + | '''Default value, index 6:''' |
{| class="list defaults" | {| class="list defaults" | ||
! {{tl|SoundGroup|||Member}} | ! {{tl|SoundGroup|||Member}} | ||
! Value | ! Value | ||
+ | |- | ||
+ | | ChildGroupNames | ||
+ | | | ||
+ | #'StoryDialog' | ||
+ | #'CinematicDialog' | ||
+ | #'Taunts' | ||
+ | #'Briefing' | ||
|- | |- | ||
| GroupName | | GroupName | ||
− | | ' | + | | 'Dialog' |
|- | |- | ||
| Properties | | Properties | ||
Line 267: | Line 263: | ||
|} | |} | ||
− | '''Default value, index | + | '''Default value, index 7:''' |
{| class="list defaults" | {| class="list defaults" | ||
! {{tl|SoundGroup|||Member}} | ! {{tl|SoundGroup|||Member}} | ||
Line 273: | Line 269: | ||
|- | |- | ||
| GroupName | | GroupName | ||
− | | ' | + | | 'Item' |
|- | |- | ||
| Properties | | Properties | ||
Line 289: | Line 285: | ||
|} | |} | ||
− | '''Default value, index | + | '''Default value, index 8:''' |
{| class="list defaults" | {| class="list defaults" | ||
! {{tl|SoundGroup|||Member}} | ! {{tl|SoundGroup|||Member}} | ||
! Value | ! Value | ||
+ | |- | ||
+ | | ChildGroupNames | ||
+ | | | ||
+ | #'SFX' | ||
+ | #'Cinematic' | ||
+ | #'Music' | ||
+ | #'Announcer' | ||
+ | #'VoiceChat' | ||
+ | #'Dialog' | ||
+ | #'MovieEffects' | ||
+ | #'MovieVoice' | ||
+ | #'UI' | ||
|- | |- | ||
| GroupName | | GroupName | ||
− | | ' | + | | 'Master' |
|- | |- | ||
| Properties | | Properties | ||
Line 302: | Line 310: | ||
! {{tl|SoundGroupProperties|||Member}} | ! {{tl|SoundGroupProperties|||Member}} | ||
! Value | ! Value | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
| Pitch | | Pitch | ||
Line 317: | Line 319: | ||
|} | |} | ||
− | '''Default value, index | + | '''Default value, index 9:''' |
{| class="list defaults" | {| class="list defaults" | ||
! {{tl|SoundGroup|||Member}} | ! {{tl|SoundGroup|||Member}} | ||
Line 323: | Line 325: | ||
|- | |- | ||
| GroupName | | GroupName | ||
− | | ' | + | | 'MovieEffects' |
|- | |- | ||
| Properties | | Properties | ||
Line 339: | Line 341: | ||
|} | |} | ||
− | '''Default value, index | + | '''Default value, index 10:''' |
{| class="list defaults" | {| class="list defaults" | ||
! {{tl|SoundGroup|||Member}} | ! {{tl|SoundGroup|||Member}} | ||
Line 345: | Line 347: | ||
|- | |- | ||
| GroupName | | GroupName | ||
− | | ' | + | | 'MovieVoice' |
|- | |- | ||
| Properties | | Properties | ||
Line 352: | Line 354: | ||
! {{tl|SoundGroupProperties|||Member}} | ! {{tl|SoundGroupProperties|||Member}} | ||
! Value | ! Value | ||
− | |||
− | |||
− | |||
|- | |- | ||
| Pitch | | Pitch | ||
Line 364: | Line 363: | ||
|} | |} | ||
− | '''Default value, index | + | '''Default value, index 11:''' |
{| class="list defaults" | {| class="list defaults" | ||
! {{tl|SoundGroup|||Member}} | ! {{tl|SoundGroup|||Member}} | ||
Line 370: | Line 369: | ||
|- | |- | ||
| GroupName | | GroupName | ||
− | | ' | + | | 'Music' |
|- | |- | ||
| Properties | | Properties | ||
Line 377: | Line 376: | ||
! {{tl|SoundGroupProperties|||Member}} | ! {{tl|SoundGroupProperties|||Member}} | ||
! Value | ! Value | ||
+ | |- | ||
+ | | bAlwaysPlay | ||
+ | | True | ||
+ | |- | ||
+ | | bNoReverb | ||
+ | | True | ||
|- | |- | ||
| Pitch | | Pitch | ||
Line 386: | Line 391: | ||
|} | |} | ||
− | '''Default value, index | + | '''Default value, index 12:''' |
{| class="list defaults" | {| class="list defaults" | ||
! {{tl|SoundGroup|||Member}} | ! {{tl|SoundGroup|||Member}} | ||
! Value | ! Value | ||
+ | |- | ||
+ | | ChildGroupNames | ||
+ | | | ||
+ | #'Character' | ||
+ | #'Item' | ||
+ | #'Stinger' | ||
+ | #'Vehicle' | ||
+ | #'Weapon' | ||
|- | |- | ||
| GroupName | | GroupName | ||
− | | ' | + | | 'SFX' |
|- | |- | ||
| Properties | | Properties | ||
Line 400: | Line 413: | ||
! Value | ! Value | ||
|- | |- | ||
− | | | + | | bNoReverb |
− | + | ||
− | + | ||
− | + | ||
| True | | True | ||
|- | |- | ||
Line 414: | Line 424: | ||
|} | |} | ||
− | '''Default value, index | + | '''Default value, index 13:''' |
{| class="list defaults" | {| class="list defaults" | ||
! {{tl|SoundGroup|||Member}} | ! {{tl|SoundGroup|||Member}} | ||
Line 420: | Line 430: | ||
|- | |- | ||
| GroupName | | GroupName | ||
− | | ' | + | | 'Stinger' |
|- | |- | ||
| Properties | | Properties | ||
Line 427: | Line 437: | ||
! {{tl|SoundGroupProperties|||Member}} | ! {{tl|SoundGroupProperties|||Member}} | ||
! Value | ! Value | ||
+ | |- | ||
+ | | bNoReverb | ||
+ | | True | ||
|- | |- | ||
| Pitch | | Pitch | ||
Line 436: | Line 449: | ||
|} | |} | ||
− | '''Default value, index | + | '''Default value, index 14:''' |
{| class="list defaults" | {| class="list defaults" | ||
! {{tl|SoundGroup|||Member}} | ! {{tl|SoundGroup|||Member}} | ||
Line 442: | Line 455: | ||
|- | |- | ||
| GroupName | | GroupName | ||
− | | ' | + | | 'StoryDialog' |
|- | |- | ||
| Properties | | Properties | ||
Line 449: | Line 462: | ||
! {{tl|SoundGroupProperties|||Member}} | ! {{tl|SoundGroupProperties|||Member}} | ||
! Value | ! Value | ||
− | |||
− | |||
− | |||
|- | |- | ||
| Pitch | | Pitch | ||
Line 461: | Line 471: | ||
|} | |} | ||
− | '''Default value, index | + | '''Default value, index 15:''' |
{| class="list defaults" | {| class="list defaults" | ||
! {{tl|SoundGroup|||Member}} | ! {{tl|SoundGroup|||Member}} | ||
Line 467: | Line 477: | ||
|- | |- | ||
| GroupName | | GroupName | ||
− | | ' | + | | 'Taunts' |
|- | |- | ||
| Properties | | Properties | ||
Line 483: | Line 493: | ||
|} | |} | ||
− | '''Default value, index | + | '''Default value, index 16:''' |
{| class="list defaults" | {| class="list defaults" | ||
! {{tl|SoundGroup|||Member}} | ! {{tl|SoundGroup|||Member}} | ||
! Value | ! Value | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
| GroupName | | GroupName | ||
− | | ' | + | | 'UI' |
|- | |- | ||
| Properties | | Properties | ||
Line 503: | Line 506: | ||
! {{tl|SoundGroupProperties|||Member}} | ! {{tl|SoundGroupProperties|||Member}} | ||
! Value | ! Value | ||
+ | |- | ||
+ | | bIsUISound | ||
+ | | True | ||
+ | |- | ||
+ | | bNoReverb | ||
+ | | True | ||
|- | |- | ||
| Pitch | | Pitch | ||
Line 512: | Line 521: | ||
|} | |} | ||
− | '''Default value, index | + | '''Default value, index 17:''' |
{| class="list defaults" | {| class="list defaults" | ||
! {{tl|SoundGroup|||Member}} | ! {{tl|SoundGroup|||Member}} | ||
Line 518: | Line 527: | ||
|- | |- | ||
| GroupName | | GroupName | ||
− | | ' | + | | 'Vehicle' |
|- | |- | ||
| Properties | | Properties | ||
Line 534: | Line 543: | ||
|} | |} | ||
− | '''Default value, index | + | '''Default value, index 18:''' |
{| class="list defaults" | {| class="list defaults" | ||
! {{tl|SoundGroup|||Member}} | ! {{tl|SoundGroup|||Member}} | ||
! Value | ! Value | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
| GroupName | | GroupName | ||
− | | ' | + | | 'VoiceChat' |
|- | |- | ||
| Properties | | Properties | ||
Line 559: | Line 556: | ||
! {{tl|SoundGroupProperties|||Member}} | ! {{tl|SoundGroupProperties|||Member}} | ||
! Value | ! Value | ||
+ | |- | ||
+ | | bNoReverb | ||
+ | | True | ||
|- | |- | ||
| Pitch | | Pitch | ||
Line 568: | Line 568: | ||
|} | |} | ||
− | '''Default value, index | + | '''Default value, index 19:''' |
{| class="list defaults" | {| class="list defaults" | ||
! {{tl|SoundGroup|||Member}} | ! {{tl|SoundGroup|||Member}} | ||
Line 574: | Line 574: | ||
|- | |- | ||
| GroupName | | GroupName | ||
− | | ' | + | | 'Weapon' |
|- | |- | ||
| Properties | | Properties |
Latest revision as of 01:04, 26 July 2008
Contents
- 1 Properties
- 1.1 Property group 'AudioDevice'
- 1.2 Internal variables
- 1.2.1 AudioComponents
- 1.2.2 bGameWasTicking
- 1.2.3 bTestEQFilter
- 1.2.4 bTestLowPassFilter
- 1.2.5 CurrentMode
- 1.2.6 CurrentSoundGroups
- 1.2.7 CurrentTick
- 1.2.8 DestinationSoundGroups
- 1.2.9 Effects
- 1.2.10 FreeSources
- 1.2.11 Listeners
- 1.2.12 MaxChannels
- 1.2.13 NameToSoundGroupIndexMap
- 1.2.14 SoundModeEndTime
- 1.2.15 SoundModeStartTime
- 1.2.16 Sources
- 1.2.17 SourceSoundGroups
- 1.2.18 TextToSpeech
- 1.2.19 TransientMasterVolume
- 1.2.20 UseEffectsProcessing
- 1.2.21 WaveInstanceSourceMap
- 2 Enums
- 3 Structs
This is an auto-generated page and may need human attention. Please remove the {{autogenerated}} tag if the page seems reasonably complete or replace it with the {{expand}} tag if the page is not yet complete. |
Copyright 1998-2008 Epic Games, Inc. All Rights Reserved.
Properties[edit]
Property group 'AudioDevice'[edit]
SoundGroupEffects[edit]
Type: array<SoundGroupEffect>
Modifiers: config
Array of presets that modify sound groups
Default value, index 1:
Member | Value | ||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
GroupEffect |
|
SoundGroups[edit]
Type: array<SoundGroup>
Modifiers: config
Array of sound groups read from ini file
Default value, index 0:
Member | Value | ||||||
---|---|---|---|---|---|---|---|
GroupName | 'Ambient' | ||||||
Properties |
|
Default value, index 1:
Member | Value | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
GroupName | 'Announcer' | ||||||||||
Properties |
|
Default value, index 2:
Member | Value | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
GroupName | 'Briefing' | ||||||||||
Properties |
|
Default value, index 3:
Member | Value | ||||||
---|---|---|---|---|---|---|---|
GroupName | 'Character' | ||||||
Properties |
|
Default value, index 4:
Member | Value | ||||||||
---|---|---|---|---|---|---|---|---|---|
GroupName | 'Cinematic' | ||||||||
Properties |
|
Default value, index 5:
Member | Value | ||||||
---|---|---|---|---|---|---|---|
GroupName | 'CinematicDialog' | ||||||
Properties |
|
Default value, index 6:
Member | Value | ||||||
---|---|---|---|---|---|---|---|
ChildGroupNames |
|
||||||
GroupName | 'Dialog' | ||||||
Properties |
|
Default value, index 7:
Member | Value | ||||||
---|---|---|---|---|---|---|---|
GroupName | 'Item' | ||||||
Properties |
|
Default value, index 8:
Member | Value | ||||||
---|---|---|---|---|---|---|---|
ChildGroupNames |
|
||||||
GroupName | 'Master' | ||||||
Properties |
|
Default value, index 9:
Member | Value | ||||||
---|---|---|---|---|---|---|---|
GroupName | 'MovieEffects' | ||||||
Properties |
|
Default value, index 10:
Member | Value | ||||||
---|---|---|---|---|---|---|---|
GroupName | 'MovieVoice' | ||||||
Properties |
|
Default value, index 11:
Member | Value | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
GroupName | 'Music' | ||||||||||
Properties |
|
Default value, index 12:
Member | Value | ||||||||
---|---|---|---|---|---|---|---|---|---|
ChildGroupNames |
|
||||||||
GroupName | 'SFX' | ||||||||
Properties |
|
Default value, index 13:
Member | Value | ||||||||
---|---|---|---|---|---|---|---|---|---|
GroupName | 'Stinger' | ||||||||
Properties |
|
Default value, index 14:
Member | Value | ||||||
---|---|---|---|---|---|---|---|
GroupName | 'StoryDialog' | ||||||
Properties |
|
Default value, index 15:
Member | Value | ||||||
---|---|---|---|---|---|---|---|
GroupName | 'Taunts' | ||||||
Properties |
|
Default value, index 16:
Member | Value | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
GroupName | 'UI' | ||||||||||
Properties |
|
Default value, index 17:
Member | Value | ||||||
---|---|---|---|---|---|---|---|
GroupName | 'Vehicle' | ||||||
Properties |
|
Default value, index 18:
Member | Value | ||||||||
---|---|---|---|---|---|---|---|---|---|
GroupName | 'VoiceChat' | ||||||||
Properties |
|
Default value, index 19:
Member | Value | ||||||
---|---|---|---|---|---|---|---|
GroupName | 'Weapon' | ||||||
Properties |
|
Internal variables[edit]
AudioComponents[edit]
Type: array<AudioComponent>
Modifiers: transient, const
bGameWasTicking[edit]
Type: bool
Modifiers: native, const
bTestEQFilter[edit]
Type: bool
Modifiers: native, const
bTestLowPassFilter[edit]
Type: bool
Modifiers: native, const
CurrentMode[edit]
Type: ESoundMode
Modifiers: native, const
CurrentSoundGroups[edit]
Type: array<SoundGroup>
Modifiers: native, const
The current state of sound group constants
CurrentTick[edit]
Type: Object.qword
Modifiers: native, const
DestinationSoundGroups[edit]
Type: array<SoundGroup>
Modifiers: native, const
The sound group constants that we are interpolating to
Effects[edit]
Type: pointer{class FAudioEffectsManager}
Modifiers: native, const
Interface to audio effects processing
FreeSources[edit]
Type: array<pointer{FSoundSource}>
Modifiers: native, const
Listeners[edit]
Modifiers: native, const
MaxChannels[edit]
Type: int
Modifiers: config, const
NameToSoundGroupIndexMap[edit]
Type: Object.Map_Mirror{TMap<FName, INT>}
Modifiers: native, const
Map from name to the sound group index - used to index the following 4 arrays
SoundModeEndTime[edit]
Type: Object.double
Modifiers: native, const
SoundModeStartTime[edit]
Type: Object.double
Modifiers: native, const
Sources[edit]
Type: array<pointer{FSoundSource}>
Modifiers: native, const
SourceSoundGroups[edit]
Type: array<SoundGroup>
Modifiers: native, const
The sound group constants that we are interpolating from
TextToSpeech[edit]
Type: pointer{class FTextToSpeech}
Modifiers: native, const
Interface to text to speech processor
TransientMasterVolume[edit]
Type: float
Modifiers: transient
transient master volume multiplier that can be modified at runtime without affecting user settings automatically reset to 1.0 on level change
UseEffectsProcessing[edit]
Type: bool
Modifiers: config, const
WaveInstanceSourceMap[edit]
Type: Object.DynamicMap_Mirror{TDynamicMap<FWaveInstance*, FSoundSource*>}
Modifiers: native, const
Enums[edit]
ESoundMode[edit]
Enum describing the sound modes available for use in game.
- SOUNDMODE_NORMAL
- Normal - No EQ applied
- SOUNDMODE_SLOWMOTION
- Slowmo
- SOUNDMODE_DEATH
- Death - Death EQ applied
- SOUNDMODE_COVER
- Cover - EQ applied to indicate player is in cover
- SOUNDMODE_ROADIE_RUN
- Roadie Run - Accentuates high-pitched bullet whips, etc.
- SOUNDMODE_TACCOM
- TacCom - Tactical command EQ lowers game volumes
- SOUNDMODE_RADIO
- Applied to the radio effect
Structs[edit]
Listener[edit]
Modifiers: native
- PortalVolume PortalVolume
- Object.Vector Location
- Object.Vector Up
- Object.Vector Right
- Object.Vector Front
ModeSettings[edit]
Modifiers: native
Structure defining a sound mode (used for EQ and volume ducking)
- ESoundMode Mode
- float FadeTime
Default values:
Property | Value |
---|---|
FadeTime | 0.1 |
Mode | SOUNDMODE_NORMAL |
SoundGroup[edit]
Modifiers: native
Structure containing information about a sound group.
- SoundGroupProperties Properties
- Configurable properties like volume and priority.
- name GroupName
- Name of this sound group.
- array<name> ChildGroupNames
- Array of names of child sound groups. Empty for leaf groups.
SoundGroupAdjuster[edit]
Modifiers: native
Elements of data for sound group volume control
Default values:
Property | Value |
---|---|
GroupName | 'Master' |
PitchAdjuster | 1.0 |
VolumeAdjuster | 1.0 |
SoundGroupEffect[edit]
Modifiers: native
Group of adjusters
- array<SoundGroupAdjuster> GroupEffect
SoundGroupProperties[edit]
Modifiers: native
Structure containing configurable properties of a sound group.
- float Volume
- Volume multiplier.
- float Pitch
- Pitch multiplier.
- float VoiceCenterChannelVolume
- Voice center channel volume - Not a multiplier (no propagation)
- float VoiceRadioVolume
- Radio volume multiplier - Not a multiplier (no propagation)
- bool bApplyEffects
- Sound mode voice - whether to apply audio effects
- bool bAlwaysPlay
- Whether to artificially prioritise the component to play
- bool bIsUISound
- Whether or not this sound plays when the game is paused in the UI
- bool bIsMusic
- Whether or not this is music (propagates only if parent is TRUE)
- bool bNoReverb
- Whether or not this sound group is excluded from reverb EQ
Default values:
Property | Value |
---|---|
bAlwaysPlay | False |
bApplyEffects | False |
bIsMusic | False |
bIsUISound | False |
bNoReverb | False |
Pitch | 1.0 |
VoiceCenterChannelVolume | 0.0 |
VoiceRadioVolume | 0.0 |
Volume | 1.0 |