This article or section is a Stub. You can help the Resonite Wiki by expanding it.
Component image
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. |
URL
|
Uri | The audio clip data location to load. |
LoadMode
|
AudioLoadMode | |
SampleRateMode
|
SampleRateMode |
Sync Delegates
Method Name | Method type and Arguments. | Description |
---|---|---|
Normalize()
|
Func`1 | Makes the volume during the audio clip consistent. |
AdjustVolume()
|
Func`2<Float: ratio> | multiplies the volume of this audio clip by ratio
|
ExtractSides()
|
Func`1 | |
Denoise()
|
Func`1 | Removes noise from the audio clip |
TrimSilence()
|
Func`1 | removes the silence from the start and end of the audio clip |
TrimStartSilence()
|
Func`1 | removes the silence from the start of the clip. |
TrimEndSilence()
|
Func`1 | removes the silence from the end of the clip. |
TrimStart()
|
Func`2<Float: duration> | removes duration seconds from the start of the clip.
|
TrimEnd()
|
Func`2<Float: duration> | removes duration seconds from the end of the clip
|
FadeIn()
|
Func`2<Float: duration> | makes the audios volume increase from 0 to original over duration seconds at the start of the clip.
|
FadeOut()
|
Func`2<Float: duration> | makes the audios volume decrease from original volume to 0 over duration</seconds> seconds at the end of the clip.
|
MakeFadeLoop()
|
Func`2<Float: duration> | blends the start and end of the clips by duration seconds to make the audio seem seamless.
|
ConvertToWAV()
|
Func`1 | converts the audio clip type to Windows audio vodec. |
ConvertToVorbis()
|
Func`1 | converts the audio clip type to Vorbis. |
ConvertToFLAC()
|
Func`1 | Converts the audio clip type to FLAC. |