AudioTrack

AudioTrack, that provide sound for AudioFrames for given a (audio)framenumber. The preecoded Audiotrack only works with AUDIO_AAC codec

Type Name Description Default
AudioTrack.Type type Type of this AudioTrack
double Volume Volume for audio mixing used in mix 1.0
Function volumefunction Volume function for fade in and fade out
LevelMode levelmode Audio level cliping mode legacy
FileLocation defaultsource Default location of the audio file, used to give a fallback for multi language audio
FileLocation source Location for the audio source, either a .aac(preencoded), a .wav, or a movie( .mov, .mp4, .avi)
int32 offset Offset from the beginning of the scene/movie, audio starts playing after offset video? frames 0
int32 numframes Number of audio frames
int32 contentoffset Audio content offset, when audio starts playing it begins with the equivalent of the contentoffset of the AudioSource
bool usecachedir true
string cachedir cache
bool optional_audio false
bool ignorelength Ignore length (length will be computed by VisualTrack or set specifically or dynamically) false
AudioTrack [ ] inneraudiotracks Container for "backtoback" AudioTrack.type
SceneView sv
string [ ] name

AudioTrack.Type

Enum Value Description
preencoded 0 Audio source is preencoded aac
mix 1 Audio source is wav, mixed with underlying AudioTracks
replace 2 Audio source is wav, replacing underlying AudioTracks
video_mix 5 Audio source is a video, but the audio is cached in a .wav-file, mixed with underlying AudioTracks
video_replace 6 Audio source is a video, but the audio is cached in a .wav-file, replacing underlying AudioTrack
scenebased 7 Audio based on a sceneview
empty 8 Silence
backtoback 12 Plays inner audiotracks backtoback (Variable lengths)

Terms of Use | © 2017, Impossible Software, or its affiliates. All rights reserved.