Component:StaticAudioClip

From Resonite Wiki
This page contains changes which are not marked for translation.


This article or section is a Stub. You can help the Resonite Wiki by expanding it.


Component image 
Static Audio Clip component as seen in the Scene Inspector

The StaticAudioClip component is what stores pre recorded audio data for components that play audio like Component:AudioClipPlayer. This component is auto generated when a sound file is imported into the game as part of an audio clip object.

Fields

Fields
Name Type Description
persistent Bool Determines whether or not this item will be saved to the server.
UpdateOrder Int Controls the order in which this component is updated.
Enabled Bool Controls whether or not this component is enabled. Some components stop their functionality when this field is disabled, but some don't.
URL Uri The audio clip data location to load.
LoadMode AudioLoadMode How and when to load the audio
SampleRateMode SampleRateMode How to sample the audio's audio data.

Sync Delegates

Triggers
Method Name Method type and Arguments. Is the method hidden? Description
Normalize:Func`1<Task`1<Bool>> Func`1<Task`1<Bool>> X Makes the volume during the audio clip consistent.
AdjustVolume:Func`2<Float, Task`1<Bool>> Func`2<Float, Task`1<Bool>> X
ExtractSides:Func`1<Task`1<Bool>> Func`1<Task`1<Bool>> X Split the audio into two or more clips for different audio tracks.
Denoise:Func`1<Task`1<Bool>> Func`1<Task`1<Bool>> X Removes noise from the audio clip
TrimSilence:Func`1<Task`1<Bool>> Func`1<Task`1<Bool>> X removes the silence from the start and end of the audio clip
TrimStartSilence:Func`1<Task`1<Bool>> Func`1<Task`1<Bool>> X removes the silence from the start of the clip.
TrimEndSilence:Func`1<Task`1<Bool>> Func`1<Task`1<Bool>> X removes the silence from the end of the clip.
TrimStart:Func`2<Float, Task`1<Bool>> Func`2<Float, Task`1<Bool>> X
TrimEnd:Func`2<Float, Task`1<Bool>> Func`2<Float, Task`1<Bool>> X
FadeIn:Func`2<Float, Task`1<Bool>> Func`2<Float, Task`1<Bool>> X
FadeOut:Func`2<Float, Task`1<Bool>> Func`2<Float, Task`1<Bool>> X
MakeFadeLoop:Func`2<Float, Task`1<Bool>> Func`2<Float, Task`1<Bool>> X
ConvertToWAV:Func`1<Task`1<Bool>> Func`1<Task`1<Bool>> X converts the audio clip type to Windows audio vodec.
ConvertToVorbis:Func`1<Task`1<Bool>> Func`1<Task`1<Bool>> X converts the audio clip type to Vorbis.
ConvertToFLAC:Func`1<Task`1<Bool>> Func`1<Task`1<Bool>> X Converts the audio clip type to FLAC.
ApplyZitaReverb:Func`2<ZitaParameters, Task`1<Bool>> Func`2<ZitaParameters, Task`1<Bool>> X
Normalize:ButtonEventHandler ButtonEventHandler
ExtractSides:ButtonEventHandler ButtonEventHandler
Denoise:ButtonEventHandler ButtonEventHandler
TrimSilence:ButtonEventHandler`1<FloatTextEditorParser> ButtonEventHandler`1<FloatTextEditorParser>
TrimStartSilence:ButtonEventHandler`1<FloatTextEditorParser> ButtonEventHandler`1<FloatTextEditorParser>
TrimEndSilence:ButtonEventHandler`1<FloatTextEditorParser> ButtonEventHandler`1<FloatTextEditorParser>
TrimStart:ButtonEventHandler`1<FloatTextEditorParser> ButtonEventHandler`1<FloatTextEditorParser>
TrimEnd:ButtonEventHandler`1<FloatTextEditorParser> ButtonEventHandler`1<FloatTextEditorParser>
FadeIn:ButtonEventHandler`1<FloatTextEditorParser> ButtonEventHandler`1<FloatTextEditorParser>
FadeOut:ButtonEventHandler`1<FloatTextEditorParser> ButtonEventHandler`1<FloatTextEditorParser>
MakeLoopable:ButtonEventHandler`1<FloatTextEditorParser> ButtonEventHandler`1<FloatTextEditorParser>
ConvertToWAV:ButtonEventHandler`1<FloatTextEditorParser> ButtonEventHandler`1<FloatTextEditorParser>
ConvertToVorbis:ButtonEventHandler`1<FloatTextEditorParser> ButtonEventHandler`1<FloatTextEditorParser>
ConvertToFLAC:ButtonEventHandler`1<FloatTextEditorParser> ButtonEventHandler`1<FloatTextEditorParser>

Usage

Examples

See Also