Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames

Engine.SoundNodeWave

Extends
SoundNode
Modifiers
PerObjectConfig native ( Sound ) dependson ( AudioDevice ) hidecategories ( Object ) editinlinenew

Sound node that contains sample data

Core.Object
|   
+-- Engine.SoundNode
   |   
   +-- Engine.SoundNodeWave

Direct Known Subclasses:

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
boolbDynamicResource
boolbProcedural
array<int>ChannelOffsets
array<int>ChannelSizes
UntypedBulkData_MirrorCompressedPCData
UntypedBulkData_MirrorCompressedPS3Data
UntypedBulkData_MirrorCompressedXbox360Data
EDecompressionTypeDecompressionType
array<LocalizedSubtitle>LocalizedSubtitles
UntypedBulkData_MirrorRawData
pointerRawPCMData
intRawPCMDataSize
pointerResourceData
intResourceID
intResourceSize
pointerVorbisDecompressor
Compression
int100isbestquality.>
boolbForceRealTimeDecompression
boolbLoopingSound
intCompressionQuality
boolevenforshortdurationsounds.>
Info
floatDuration
floatmaximumis2.0-itisasimplelinearmultipliertotheSampleRate.>
intNumChannels
floatPitch
intSampleRate
floatVolume
SoundNodeWave
stringSourceFilePath
stringSourceFileTimestamp
Subtitles
boolbManualWordWrap
boolbMature
stringComment
array<SubtitleCue>Subtitles
TTS
boolbUseTTS
stringSpokenText
ETTSSpeakerTTSSpeaker
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
Inherited Structures from Core.Object
Array_Mirror, BitArray_Mirror, BoneAtom, Box, BoxSphereBounds, Color, Cylinder, double, FColorVertexBuffer_Mirror, Guid, IndirectArray_Mirror, InlinePointerArray_Mirror, InterpCurveFloat, InterpCurveLinearColor, InterpCurvePointFloat, InterpCurvePointLinearColor, InterpCurvePointQuat, InterpCurvePointTwoVectors, InterpCurvePointVector, InterpCurvePointVector2D, InterpCurveQuat, InterpCurveTwoVectors, InterpCurveVector, InterpCurveVector2D, IntPoint, LinearColor, Map_Mirror, Matrix, MultiMap_Mirror, OctreeElementId, Plane, pointer, Quat, qword, RawDistribution, RenderCommandFence, RenderCommandFence_Mirror, Rotator, Set_Mirror, SHVector, SHVectorRGB, SparseArray_Mirror, TAlphaBlend, ThreadSafeCounter, TPOV, TwoVectors, UntypedBulkData_Mirror, Vector, Vector2D, Vector4

Functions Summary
event GeneratePCMData (out Array<byte> Buffer, int SamplesNeeded))
Inherited Functions from Core.Object
!, !=, $, $=, %, &, &&, *, **, *=, +, ++, +=, -, --, -=, / , /=, <, <<, <=, ==, >, >=, >>, >>>, @, @=, Abs, Acos, Asc, Asin, Atan, Atan2, BeginState, ByteToFloat, Caps, Chr, Clamp, ClampLength, ClampRotAxis, ClampRotAxisFromBase, ClampRotAxisFromRange, ClassIsChildOf, ClockwiseFrom, ColorToLinearColor, ContinuedState, Cos, Cross, DebugBreak, Disable, Dot, DumpStateStack, DynamicLoadObject, Enable, EndState, EvalInterpCurveFloat, EvalInterpCurveVector, EvalInterpCurveVector2D, Exp, FCeil, FClamp, FCubicInterp, FFloor, FindDeltaAngle, FindObject, FInterpConstantTo, FInterpEaseIn, FInterpEaseInOut, FInterpEaseOut, FInterpTo, float, FloatToByte, FMax, FMin, FPctByRange, FRand, GetAngularDegreesFromRadians, GetAngularDistance, GetAngularFromDotDist, GetAxes, GetBuildChangelistNumber, GetDotDistance, GetEngineVersion, GetEnum, GetFuncName, GetHeadingAngle, GetMappedRangeValue, GetPackageName, GetPerObjectConfigSections, GetRangePctByValue, GetRangeValueByPct, GetRightMost, GetRotatorAxis, GetScriptTrace, GetStateName, GetSystemTime, GetUnAxes, GotoState, InCylinder, InStr, InverseTransformNormal, InverseTransformVector, IsA, IsChildState, IsInState, IsPendingKill, IsUTracing, IsZero, JoinArray, Left, Len, Lerp, LerpColor, Localize, Locs, Loge, LogInternal, MakeColor, MakeLinearColor, MakeRotationMatrix, MakeRotationTranslationMatrix, MakeRotator, MatrixGetAxis, MatrixGetOrigin, MatrixGetRotator, Max, Mid, Min, MirrorVectorByNormal, Normal, Normalize, NormalizeRotAxis, NoZDot, OrthoRotation, ParseLocalizedPropertyPath, ParseStringIntoArray, PathName, PausedState, PointDistToLine, PointDistToPlane, PointDistToSegment, PointProjectToPlane, PoppedState, PopState, ProjectOnTo, PushedState, PushState, QuatDot, QuatFindBetween, QuatFromAxisAndAngle, QuatFromRotator, QuatInvert, QuatProduct, QuatRotateVector, QuatSlerp, QuatToRotator, Rand, RDiff, Repl, Right, RInterpTo, RLerp, RotRand, Round, RSize, RSmerp, RTransform, SaveConfig, SClampRotAxis, ScriptTrace, SetUTracing, Sin, Split, SplitString, Sqrt, Square, StaticSaveConfig, Tan, TimeStamp, ToHex, TransformNormal, TransformVector, TransformVectorByRotation, UnwindHeading, vect2d, VInterpTo, VLerp, VRand, VRandCone, VRandCone2, VSize, VSize2D, VSizeSq, VSizeSq2D, VSmerp, WarnInternal, ^, ^^, |, ||, ~, ~=


Variables Detail

bDynamicResource Source code

var transient const bool bDynamicResource;
Whether to free the resource data after it has been uploaded to the hardware

bProcedural Source code

var transient bool bProcedural;
Set to true for programmatically-generated, streamed audio. Not used from the editor; you should use SoundNodeWaveStreaming.uc for this.

ChannelOffsets Source code

var const array<int> ChannelOffsets;
Offsets into the bulk data for the source wav data

ChannelSizes Source code

var const array<int> ChannelSizes;
Sizes of the bulk data for the source wav data

CompressedPCData Source code

var native const UntypedBulkData_Mirror CompressedPCData;
Cached ogg vorbis data.

CompressedPS3Data Source code

var native const UntypedBulkData_Mirror CompressedPS3Data;
Cached cooked PS3 data to speed up iteration times.

CompressedXbox360Data Source code

var native const UntypedBulkData_Mirror CompressedXbox360Data;
Cached cooked Xbox 360 data to speed up iteration times.

DecompressionType Source code

var transient const EDecompressionType DecompressionType;
Type of buffer this wave uses. Set once on load

LocalizedSubtitles Source code

var array<LocalizedSubtitle> LocalizedSubtitles;
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 Source code

var native const UntypedBulkData_Mirror RawData;
Uncompressed wav data 16 bit in mono or stereo - stereo not allowed for multichannel data

RawPCMData Source code

var native const pointer RawPCMData;
Pointer to 16 bit PCM data - used to decompress data to and preview sounds

RawPCMDataSize Source code

var const int RawPCMDataSize;
Size of RawPCMData, or what RawPCMData would be if the sound was fully decompressed

ResourceData Source code

var native const pointer ResourceData;
Memory containing the data copied from the compressed bulk data

ResourceID Source code

var transient const int ResourceID;
Resource index to cross reference with buffers

ResourceSize Source code

var transient const int ResourceSize;
Size of resource copied from the bulk data

VorbisDecompressor Source code

var native const pointer VorbisDecompressor;
Async worker that decompresses the vorbis data on a different thread

Compression

100isbestquality.> Source code

var(Compression) int 100isbestquality.>;
Platform agnostic compression quality. 1..100 with 1 being best compression and 100 being best quality

bForceRealTimeDecompressionSource code

var(Compression) bool bForceRealTimeDecompression<Tooltip=Forcesontheflysounddecompression;
If set, forces wave data to be decompressed during playback instead of upfront on platforms that have a choice.

bLoopingSound Source code

var(Compression) bool bLoopingSound<Tooltip=Informsthecompressionroutimestoprocessthissoundtoallowittoloop.>;
If set, the compressor does everything required to make this a seamlessly looping sound

CompressionQualitySource code

var(Compression) int CompressionQuality<Tooltip=1smallestsize;
Platform agnostic compression quality. 1..100 with 1 being best compression and 100 being best quality

evenforshortdurationsounds.> Source code

var(Compression) bool evenforshortdurationsounds.>;
If set, forces wave data to be decompressed during playback instead of upfront on platforms that have a choice.

Info

Duration Source code

var(Info) editconst const float Duration;
Duration of sound in seconds.

maximumis2.0-itisasimplelinearmultipliertotheSampleRate.> Source code

var(Info) editconst const float maximumis2.0-itisasimplelinearmultipliertotheSampleRate.>;
Playback pitch for sound 0.4 to 2.0

NumChannels Source code

var(Info) editconst const int NumChannels;
Number of channels of multichannel data; 1 or 2 for regular mono and stereo files

PitchSource code

var(Info) editconst const float Pitch<Tooltip=Minimumis0.4;
Playback pitch for sound 0.4 to 2.0

SampleRate Source code

var(Info) editconst const int SampleRate;
Cached sample rate for displaying in the tools

Volume Source code

var(Info) editconst const float Volume<Tooltip=Defaultis0.75.>;
Playback volume of sound 0 to 1

SoundNodeWave

SourceFilePath Source code

var(SoundNodeWave) const editconst editoronly string SourceFilePath;
Path to the resource used to construct this sound node wave

SourceFileTimestamp Source code

var(SoundNodeWave) const editconst editoronly string SourceFileTimestamp;
Date/Time-stamp of the file from the last import

Subtitles

bManualWordWrap Source code

var(Subtitles) localized bool bManualWordWrap;
TRUE if the subtitles have been split manually.

bMature Source code

var(Subtitles) localized bool bMature;
TRUE if this sound is considered to contain mature content.

Comment Source code

var(Subtitles) editoronly localized string Comment;
Provides contextual information for the sound to the translator.

Subtitles Source code

var(Subtitles) localized array<SubtitleCue> Subtitles;
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.

TTS

bUseTTS Source code

var(TTS) bool bUseTTS<Tooltip=UseTextToSpeechtoverbaliseSpokenText.>;
Set to true to speak SpokenText using TTS

SpokenText Source code

var(TTS) localized string SpokenText;
A localized version of the text that is actually spoken in the audio.

TTSSpeaker Source code

var(TTS) ETTSSpeaker TTSSpeaker<Tooltip=ThevoicetouseforTextToSpeech.>;
Speaker to use for TTS


Enumerations Detail

EDecompressionType Source code

enum EDecompressionType
{
DTYPE_Setup, DTYPE_Invalid, DTYPE_Preview, DTYPE_Native, DTYPE_RealTime, DTYPE_Procedural, DTYPE_Xenon
};


Functions Detail

GeneratePCMData Source code

event GeneratePCMData ( out Array<byte> Buffer, int SamplesNeeded) )
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
previous class      next class frames      no frames
Creation time: ti 22-3-2011 19:56:57.464 - Created with UnCodeX