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
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
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 | Makes the volume louder or quieter. |
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 | cuts off audio data from the start of the audio clip. |
TrimEnd:Func`2<Float, Task`1<Bool>>
|
Func`2<Float, Task`1<Bool>> | X | cuts off audio data from the end of the audio clip. |
FadeIn:Func`2<Float, Task`1<Bool>>
|
Func`2<Float, Task`1<Bool>> | X | Makes the audio fade in over x seconds. |
FadeOut:Func`2<Float, Task`1<Bool>>
|
Func`2<Float, Task`1<Bool>> | X | Makes the audio fade out over x seconds. |
MakeFadeLoop:Func`2<Float, Task`1<Bool>>
|
Func`2<Float, Task`1<Bool>> | X | Makes the audio loopable, using a cross fade of x seconds. |
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 | Uses ZitaParameters to create a reverberation sound effect on this audio clip. |
Normalize:ButtonEventHandler
|
ButtonEventHandler | ✓ | Makes the volume during the audio clip consistent. |
ExtractSides:ButtonEventHandler
|
ButtonEventHandler | ✓ | Split the audio into two or more clips for different audio tracks. |
Denoise:ButtonEventHandler
|
ButtonEventHandler | ✓ | Removes noise from the audio clip |
TrimSilence:ButtonEventHandler`1<FloatTextEditorParser>
|
ButtonEventHandler`1<FloatTextEditorParser> | ✓ | removes the silence from the start and end of the audio clip |
TrimStartSilence:ButtonEventHandler`1<FloatTextEditorParser>
|
ButtonEventHandler`1<FloatTextEditorParser> | ✓ | removes the silence from the start of the clip. |
TrimEndSilence:ButtonEventHandler`1<FloatTextEditorParser>
|
ButtonEventHandler`1<FloatTextEditorParser> | ✓ | removes the silence from the end of the clip. |
TrimStart:ButtonEventHandler`1<FloatTextEditorParser>
|
ButtonEventHandler`1<FloatTextEditorParser> | ✓ | cuts off audio data from the start of the audio clip. |
TrimEnd:ButtonEventHandler`1<FloatTextEditorParser>
|
ButtonEventHandler`1<FloatTextEditorParser> | ✓ | cuts off audio data from the end of the audio clip. |
FadeIn:ButtonEventHandler`1<FloatTextEditorParser>
|
ButtonEventHandler`1<FloatTextEditorParser> | ✓ | Makes the audio fade in over x seconds. |
FadeOut:ButtonEventHandler`1<FloatTextEditorParser>
|
ButtonEventHandler`1<FloatTextEditorParser> | ✓ | Makes the audio fade out over x seconds. |
MakeLoopable:ButtonEventHandler`1<FloatTextEditorParser>
|
ButtonEventHandler`1<FloatTextEditorParser> | ✓ | Makes the audio loopable, using a cross fade of x seconds. |
ConvertToWAV:ButtonEventHandler`1<FloatTextEditorParser>
|
ButtonEventHandler`1<FloatTextEditorParser> | ✓ | converts the audio clip type to Windows audio vodec. |
ConvertToVorbis:ButtonEventHandler`1<FloatTextEditorParser>
|
ButtonEventHandler`1<FloatTextEditorParser> | ✓ | converts the audio clip type to Vorbis. |
ConvertToFLAC:ButtonEventHandler`1<FloatTextEditorParser>
|
ButtonEventHandler`1<FloatTextEditorParser> | ✓ | Converts the audio clip type to FLAC. |
Usage
Examples
See Also
- Component:PlaybackSynchronizer for synchronizing playables