Gah - a solution with more questions. – EntropicLqd

UE3:SoundNodeWave (UDK)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UDK Object >> SoundNode >> SoundNodeWave
Package: 
Engine
This class in other games:
UT3

Sound node that contains sample data

Properties

Property group 'Compression'

bForceRealTimeDecompression

Type: bool

If set, forces wave data to be decompressed during playback instead of upfront on platforms that have a choice.

bLoopingSound

Type: bool

If set, the compressor does everything required to make this a seamlessly looping sound

Default value: True

CompressionQuality

Type: int

Platform agnostic compression quality. 1..100 with 1 being best compression and 100 being best quality

Default value: 40

Property group 'Info'

Duration

Type: float

Modifiers: editconst, const

Duration of sound in seconds.

NumChannels

Type: int

Modifiers: editconst, const

Number of channels of multichannel data; 1 or 2 for regular mono and stereo files

Pitch

Type: float

Modifiers: editconst, const

Playback pitch for sound 0.4 to 2.0

Default value: 1.0

SampleRate

Type: int

Modifiers: editconst, const

Cached sample rate for displaying in the tools

Volume

Type: float

Modifiers: editconst, const

Playback volume of sound 0 to 1

Default value: 0.75

Property group 'Subtitles'

bManualWordWrap

Type: bool

Modifiers: localized

TRUE if the subtitles have been split manually.

bMature

Type: bool

Modifiers: localized

TRUE if this sound is considered to contain mature content.

Comment

Type: string

Modifiers: localized

Provides contextual information for the sound to the translator.

Subtitles

Type: array<EngineTypes.SubtitleCue>

Modifiers: localized

Subtitle cues. If empty, use SpokenText as the subtitle. Will often be empty, as the contents of the subtitle is commonly identical to what is spoken.

Property group 'TTS'

bUseTTS

Type: bool

Set to true to speak SpokenText using TTS

SpokenText

Type: string

Modifiers: localized

A localized version of the text that is actually spoken in the audio.

TTSSpeaker

Type: AudioDevice.ETTSSpeaker

Speaker to use for TTS

Internal variables

bDynamicResource

Type: bool

Modifiers: transient, const

Whether to free the resource data after it has been uploaded to the hardware

ChannelOffsets

Type: array<int>

Modifiers: const

Offsets into the bulk data for the source wav data

ChannelSizes

Type: array<int>

Modifiers: const

Sizes of the bulk data for the source wav data

CompressedPCData

Type: Object.UntypedBulkData_Mirror{FByteBulkData}

Modifiers: native, const

Cached ogg vorbis data.

CompressedPS3Data

Type: Object.UntypedBulkData_Mirror{FByteBulkData}

Modifiers: native, const

Cached cooked PS3 data to speed up iteration times.

CompressedXbox360Data

Type: Object.UntypedBulkData_Mirror{FByteBulkData}

Modifiers: native, const

Cached cooked Xbox 360 data to speed up iteration times.

DecompressionType

Type: EDecompressionType

Modifiers: transient, const

Type of buffer this wave uses. Set once on load

LocalizedSubtitles

Type: array<EngineTypes.LocalizedSubtitle>

The array of the subtitles for each language. Generated at cook time. The index for a specific language extenstion can be retrieved via the Localization_GetLanguageExtensionIndex function in UnMisc.cpp.

RawData

Type: Object.UntypedBulkData_Mirror{FByteBulkData}

Modifiers: native, const

Uncompressed wav data 16 bit in mono or stereo - stereo not allowed for multichannel data

RawPCMData

Type: pointer{BYTE}

Modifiers: native, const

Pointer to 16 bit PCM data - used to decompress data to and preview sounds

RawPCMDataSize

Type: int

Modifiers: const

Size of RawPCMData, or what RawPCMData would be if the sound was fully decompressed

ResourceData

Type: pointer{BYTE}

Modifiers: native, const

Memory containing the data copied from the compressed bulk data

ResourceID

Type: int

Modifiers: transient, const

Resource index to cross reference with buffers

ResourceSize

Type: int

Modifiers: transient, const

Size of resource copied from the bulk data

VorbisDecompressor

Type: pointer{FAsyncVorbisDecompress}

Modifiers: native, const

Async worker that decompresses the vorbis data on a different thread

Enums

EDecompressionType

DTYPE_Setup 
DTYPE_Invalid 
DTYPE_Preview 
DTYPE_Native 
DTYPE_RealTime 
DTYPE_Xenon