Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |
Sound node that contains sample data
Core.Object | +-- Engine.SoundNode | +-- Engine.SoundNodeWave
SoundNodeWaveStreaming
Constants Summary |
---|
Inherited Contants from Core.Object |
---|
AspectRatio16x9, AspectRatio4x3, AspectRatio5x4, DegToRad, DegToUnrRot, INDEX_NONE, InvAspectRatio16x9, InvAspectRatio4x3, InvAspectRatio5x4, MaxInt, Pi, RadToDeg, RadToUnrRot, UnrRotToDeg, UnrRotToRad |
Variables Summary | |
---|---|
bool | bDynamicResource |
bool | bProcedural |
array<int> | ChannelOffsets |
array<int> | ChannelSizes |
UntypedBulkData_Mirror | CompressedPCData |
UntypedBulkData_Mirror | CompressedPS3Data |
UntypedBulkData_Mirror | CompressedXbox360Data |
EDecompressionType | DecompressionType |
array<LocalizedSubtitle> | LocalizedSubtitles |
UntypedBulkData_Mirror | RawData |
pointer | RawPCMData |
int | RawPCMDataSize |
pointer | ResourceData |
int | ResourceID |
int | ResourceSize |
pointer | VorbisDecompressor |
Compression | |
int | 100isbestquality.> |
bool | bForceRealTimeDecompression |
bool | bLoopingSound |
int | CompressionQuality |
bool | evenforshortdurationsounds.> |
Info | |
float | Duration |
float | maximumis2.0-itisasimplelinearmultipliertotheSampleRate.> |
int | NumChannels |
float | Pitch |
int | SampleRate |
float | Volume |
SoundNodeWave | |
string | SourceFilePath |
string | SourceFileTimestamp |
Subtitles | |
bool | bManualWordWrap |
bool | bMature |
string | Comment |
array<SubtitleCue> | Subtitles |
TTS | |
bool | bUseTTS |
string | SpokenText |
ETTSSpeaker | TTSSpeaker |
Inherited Variables from Engine.SoundNode |
---|
ChildNodes, NodeUpdateHint |
Inherited Variables from Core.Object |
---|
Class, HashNext, HashOuterNext, Linker, LinkerIndex, Name, NetIndex, ObjectArchetype, ObjectFlags, ObjectInternalInteger, Outer, StateFrame, VfTableObject |
Enumerations Summary | ||
---|---|---|
EDecompressionType DTYPE_Setup, DTYPE_Invalid, DTYPE_Preview, DTYPE_Native, DTYPE_RealTime, DTYPE_Procedural, DTYPE_Xenon |
Inherited Enumerations from Core.Object |
---|
AlphaBlendType, EAspectRatioAxisConstraint, EAutomatedRunResult, EAxis, EDebugBreakType, EInputEvent, EInterpCurveMode, EInterpMethodType, ETickingGroup |
Structures Summary |
---|
Functions Summary | ||
---|---|---|
![]() | GeneratePCMData (out Array<byte> Buffer, int SamplesNeeded)) |
Variables Detail |
---|
Whether to free the resource data after it has been uploaded to the hardware
Set to true for programmatically-generated, streamed audio. Not used from the editor; you should use SoundNodeWaveStreaming.uc for this.
Offsets into the bulk data for the source wav data
Sizes of the bulk data for the source wav data
Cached ogg vorbis data.
Cached cooked PS3 data to speed up iteration times.
Cached cooked Xbox 360 data to speed up iteration times.
Type of buffer this wave uses. Set once on load
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.
Uncompressed wav data 16 bit in mono or stereo - stereo not allowed for multichannel data
Pointer to 16 bit PCM data - used to decompress data to and preview sounds
Size of RawPCMData, or what RawPCMData would be if the sound was fully decompressed
Memory containing the data copied from the compressed bulk data
Resource index to cross reference with buffers
Size of resource copied from the bulk data
Async worker that decompresses the vorbis data on a different thread
Platform agnostic compression quality. 1..100 with 1 being best compression and 100 being best quality
If set, forces wave data to be decompressed during playback instead of upfront on platforms that have a choice.
If set, the compressor does everything required to make this a seamlessly looping sound
Platform agnostic compression quality. 1..100 with 1 being best compression and 100 being best quality
If set, forces wave data to be decompressed during playback instead of upfront on platforms that have a choice.
Duration of sound in seconds.
Playback pitch for sound 0.4 to 2.0
Number of channels of multichannel data; 1 or 2 for regular mono and stereo files
Playback pitch for sound 0.4 to 2.0
Cached sample rate for displaying in the tools
Playback volume of sound 0 to 1
Path to the resource used to construct this sound node wave
Date/Time-stamp of the file from the last import
TRUE if the subtitles have been split manually.
TRUE if this sound is considered to contain mature content.
Provides contextual information for the sound to the translator.
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.
Set to true to speak SpokenText using TTS
A localized version of the text that is actually spoken in the audio.
Speaker to use for TTS
Enumerations Detail |
---|
DTYPE_Setup, DTYPE_Invalid, DTYPE_Preview, DTYPE_Native, DTYPE_RealTime, DTYPE_Procedural, DTYPE_Xenon};
Functions Detail |
---|
This is only for DTYPE_Procedural audio. Override this function. Put SamplesNeeded PCM samples into Buffer. If put less, silence will be filled in at the end of the buffer. If you put more, data will be truncated. Please note that "samples" means individual channels, not sample frames! If you have stereo data and SamplesNeeded is 1, you're writing two SWORDs, not four! Due to UnrealScript limitations, this is an array, but you should supply 16-bit, signed data.
Defaultproperties |
---|
defaultproperties { Volume=0.75 Pitch=1.0 CompressionQuality=40 bLoopingSound=TRUE } |
Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |