(2 intermediate revisions by one other user not shown)
Line 19:
Line 19:
== Sync Delegates ==
== Sync Delegates ==
{{Table ComponentTriggers
{{Table ComponentTriggers
|Normalize()|[[Type:Func`1|Func`1]]| Makes the volume during the audio clip consistent.
|Normalize:[[Type:Func`1|Func`1]]<[[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|[[Type:Func`1|Func`1]]<[[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|false| Makes the volume during the audio clip consistent.
|AdjustVolume()|[[Type:Func`2|Func`2]]<[[Type:Float|Float]]: ratio>| multiplies the volume of this audio clip by <code>ratio</code>
|AdjustVolume:[[Type:Func`2|Func`2]]<[[Type:Float|Float]], [[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|[[Type:Func`2|Func`2]]<[[Type:Float|Float]], [[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|false| Makes the volume louder or quieter.
|ExtractSides()|[[Type:Func`1|Func`1]]| Split the audio into two or more clips for different audio tracks.
|ExtractSides:[[Type:Func`1|Func`1]]<[[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|[[Type:Func`1|Func`1]]<[[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|false| Split the audio into two or more clips for different audio tracks.
|Denoise()|[[Type:Func`1|Func`1]]| Removes noise from the audio clip
|Denoise:[[Type:Func`1|Func`1]]<[[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|[[Type:Func`1|Func`1]]<[[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|false| Removes noise from the audio clip
|TrimSilence()|[[Type:Func`1|Func`1]]| removes the silence from the start and end of the audio clip
|TrimSilence:[[Type:Func`1|Func`1]]<[[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|[[Type:Func`1|Func`1]]<[[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|false| removes the silence from the start and end of the audio clip
|TrimStartSilence()|[[Type:Func`1|Func`1]]| removes the silence from the start of the clip.
|TrimStartSilence:[[Type:Func`1|Func`1]]<[[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|[[Type:Func`1|Func`1]]<[[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|false| removes the silence from the start of the clip.
|TrimEndSilence()|[[Type:Func`1|Func`1]]| removes the silence from the end of the clip.
|TrimEndSilence:[[Type:Func`1|Func`1]]<[[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|[[Type:Func`1|Func`1]]<[[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|false| removes the silence from the end of the clip.
|TrimStart()|[[Type:Func`2|Func`2]]<[[Type:Float|Float]]: duration>| removes <code>duration</code> seconds from the start of the clip.
|TrimStart:[[Type:Func`2|Func`2]]<[[Type:Float|Float]], [[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|[[Type:Func`2|Func`2]]<[[Type:Float|Float]], [[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|false| cuts off audio data from the start of the audio clip.
|TrimEnd()|[[Type:Func`2|Func`2]]<[[Type:Float|Float]]: duration>| removes <code>duration</code> seconds from the end of the clip
|TrimEnd:[[Type:Func`2|Func`2]]<[[Type:Float|Float]], [[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|[[Type:Func`2|Func`2]]<[[Type:Float|Float]], [[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|false| cuts off audio data from the end of the audio clip.
|FadeIn()|[[Type:Func`2|Func`2]]<[[Type:Float|Float]]: duration>| makes the audios volume increase from 0 to original over <code>duration</code> seconds at the start of the clip.
|FadeIn:[[Type:Func`2|Func`2]]<[[Type:Float|Float]], [[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|[[Type:Func`2|Func`2]]<[[Type:Float|Float]], [[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|false| Makes the audio fade in over x seconds.
|FadeOut()|[[Type:Func`2|Func`2]]<[[Type:Float|Float]]: duration>| makes the audios volume decrease from original volume to 0 over <code>duration</seconds> seconds at the end of the clip.
|FadeOut:[[Type:Func`2|Func`2]]<[[Type:Float|Float]], [[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|[[Type:Func`2|Func`2]]<[[Type:Float|Float]], [[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|false| Makes the audio fade out over x seconds.
|MakeFadeLoop()|[[Type:Func`2|Func`2]]<[[Type:Float|Float]]: duration>| blends the start and end of the clips by <code>duration</code> seconds to make the audio seem seamless.
|MakeFadeLoop:[[Type:Func`2|Func`2]]<[[Type:Float|Float]], [[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|[[Type:Func`2|Func`2]]<[[Type:Float|Float]], [[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|false| Makes the audio loopable, using a cross fade of x seconds.
|ConvertToWAV()|[[Type:Func`1|Func`1]]| converts the audio clip type to Windows audio vodec.
|ConvertToWAV:[[Type:Func`1|Func`1]]<[[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|[[Type:Func`1|Func`1]]<[[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|false| converts the audio clip type to Windows audio vodec.
|ConvertToVorbis()|[[Type:Func`1|Func`1]]| converts the audio clip type to Vorbis.
|ConvertToVorbis:[[Type:Func`1|Func`1]]<[[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|[[Type:Func`1|Func`1]]<[[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|false| converts the audio clip type to Vorbis.
|ConvertToFLAC()|[[Type:Func`1|Func`1]]| Converts the audio clip type to FLAC.
|ConvertToFLAC:[[Type:Func`1|Func`1]]<[[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|[[Type:Func`1|Func`1]]<[[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|false| Converts the audio clip type to FLAC.
|ApplyZitaReverb:[[Type:Func`2|Func`2]]<[[Type:ZitaParameters|ZitaParameters]], [[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|[[Type:Func`2|Func`2]]<[[Type:ZitaParameters|ZitaParameters]], [[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|false| Uses [[Type:ZitaParameters|ZitaParameters]] to create a reverberation sound effect on this audio clip.
|Normalize:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| Makes the volume during the audio clip consistent.
|ExtractSides:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| Split the audio into two or more clips for different audio tracks.
|Denoise:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| Removes noise from the audio clip
|TrimSilence:[[Type:ButtonEventHandler`1|ButtonEventHandler`1]]<[[Component:FloatTextEditorParser|FloatTextEditorParser]]>|[[Type:ButtonEventHandler`1|ButtonEventHandler`1]]<[[Component:FloatTextEditorParser|FloatTextEditorParser]]>|true| removes the silence from the start and end of the audio clip
|TrimStartSilence:[[Type:ButtonEventHandler`1|ButtonEventHandler`1]]<[[Component:FloatTextEditorParser|FloatTextEditorParser]]>|[[Type:ButtonEventHandler`1|ButtonEventHandler`1]]<[[Component:FloatTextEditorParser|FloatTextEditorParser]]>|true| removes the silence from the start of the clip.
|TrimEndSilence:[[Type:ButtonEventHandler`1|ButtonEventHandler`1]]<[[Component:FloatTextEditorParser|FloatTextEditorParser]]>|[[Type:ButtonEventHandler`1|ButtonEventHandler`1]]<[[Component:FloatTextEditorParser|FloatTextEditorParser]]>|true| removes the silence from the end of the clip.
|TrimStart:[[Type:ButtonEventHandler`1|ButtonEventHandler`1]]<[[Component:FloatTextEditorParser|FloatTextEditorParser]]>|[[Type:ButtonEventHandler`1|ButtonEventHandler`1]]<[[Component:FloatTextEditorParser|FloatTextEditorParser]]>|true| cuts off audio data from the start of the audio clip.
|TrimEnd:[[Type:ButtonEventHandler`1|ButtonEventHandler`1]]<[[Component:FloatTextEditorParser|FloatTextEditorParser]]>|[[Type:ButtonEventHandler`1|ButtonEventHandler`1]]<[[Component:FloatTextEditorParser|FloatTextEditorParser]]>|true| cuts off audio data from the end of the audio clip.
|FadeIn:[[Type:ButtonEventHandler`1|ButtonEventHandler`1]]<[[Component:FloatTextEditorParser|FloatTextEditorParser]]>|[[Type:ButtonEventHandler`1|ButtonEventHandler`1]]<[[Component:FloatTextEditorParser|FloatTextEditorParser]]>|true| Makes the audio fade in over x seconds.
|FadeOut:[[Type:ButtonEventHandler`1|ButtonEventHandler`1]]<[[Component:FloatTextEditorParser|FloatTextEditorParser]]>|[[Type:ButtonEventHandler`1|ButtonEventHandler`1]]<[[Component:FloatTextEditorParser|FloatTextEditorParser]]>|true| Makes the audio fade out over x seconds.
|MakeLoopable:[[Type:ButtonEventHandler`1|ButtonEventHandler`1]]<[[Component:FloatTextEditorParser|FloatTextEditorParser]]>|[[Type:ButtonEventHandler`1|ButtonEventHandler`1]]<[[Component:FloatTextEditorParser|FloatTextEditorParser]]>|true| Makes the audio loopable, using a cross fade of x seconds.
|ConvertToWAV:[[Type:ButtonEventHandler`1|ButtonEventHandler`1]]<[[Component:FloatTextEditorParser|FloatTextEditorParser]]>|[[Type:ButtonEventHandler`1|ButtonEventHandler`1]]<[[Component:FloatTextEditorParser|FloatTextEditorParser]]>|true| converts the audio clip type to Windows audio vodec.
|ConvertToVorbis:[[Type:ButtonEventHandler`1|ButtonEventHandler`1]]<[[Component:FloatTextEditorParser|FloatTextEditorParser]]>|[[Type:ButtonEventHandler`1|ButtonEventHandler`1]]<[[Component:FloatTextEditorParser|FloatTextEditorParser]]>|true| converts the audio clip type to Vorbis.
|ConvertToFLAC:[[Type:ButtonEventHandler`1|ButtonEventHandler`1]]<[[Component:FloatTextEditorParser|FloatTextEditorParser]]>|[[Type:ButtonEventHandler`1|ButtonEventHandler`1]]<[[Component:FloatTextEditorParser|FloatTextEditorParser]]>|true| Converts the audio clip type to FLAC.
}}
}}
Latest revision as of 16:26, 12 April 2025
This article or section is a Stub. You can help the Resonite Wiki by expanding it.
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.