The three virtues of a programmer: Laziness, Impatience, and Hubris. – Larry Wall
UE3:SoundNodeWave (UT3)
Contents
- 1 Properties
- 1.1 Property group 'Compression'
- 1.2 Property group 'Info'
- 1.3 Property group 'Subtitles'
- 1.4 Property group 'TTS'
- 1.5 Internal variables
- 1.5.1 bDynamicResource
- 1.5.2 bOneTimeUse
- 1.5.3 ChannelOffsets
- 1.5.4 ChannelSizes
- 1.5.5 CompressedPCData
- 1.5.6 CompressedPS3Data
- 1.5.7 CompressedXbox360Data
- 1.5.8 DecompressionType
- 1.5.9 PCMData
- 1.5.10 RawData
- 1.5.11 RawPCMData
- 1.5.12 ResourceData
- 1.5.13 ResourceID
- 1.5.14 ResourceSize
- 1.5.15 SampleDataSize
- 1.5.16 VorbisDecompressor
- 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. |
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.
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.5 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
Property group 'Subtitles'
bAlwaysLocalise
Type: bool
Localise this sound even if there are no 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 mature.
Comment
Type: string
Modifiers: localized
Provides contextual information for the sound to the translator.
Subtitles
Type: array<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: 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
bOneTimeUse
Type: bool
Modifiers: transient, const
Whether to free this resource after it has played - designed for TTS of log
ChannelOffsets
Modifiers: const
Offsets into the bulk data for the source wav data
ChannelSizes
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
PCMData
Modifiers: transient, const
Where the compressed vorbis data is decompressed to
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{SWORD}
Modifiers: native, const
Pointer to 16 bit PCM data - used to preview sounds
ResourceData
Type: pointer{void}
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
SampleDataSize
Type: int
Modifiers: const
Cached sample data size for tracking stats
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
ETTSSpeaker
- TTSSPEAKER_Paul
- TTSSPEAKER_Harry
- TTSSPEAKER_Frank
- TTSSPEAKER_Dennis
- TTSSPEAKER_Kit
- TTSSPEAKER_Betty
- TTSSPEAKER_Ursula
- TTSSPEAKER_Rita
- TTSSPEAKER_Wendy
Structs
SubtitleCue
Modifiers: native
A line of subtitle text and the time at which it should be displayed.