The '''TestSineWaveSource''' component acts the same as a [[Component:SineWaveClip|SineWaveClip]] if it were continuously playing as an [[Component:AudioClipPlayer|AudioClipPlayer]]. The main difference though is it allows constant and quick changes in <code>Frequency</code> and <code>Amplitude</code> without needing time to recalculate.
== Usage ==
== Usage ==
{{Table ComponentFields
{{Table ComponentFields
|Frequency|Float|
|Frequency|Float| The pitch of the audio streamed whistle tone.
|Amplitude|Float|
|Amplitude|Float| The loudness of the streamed whistle tone.
}}
}}
== Behavior ==
== Usage ==
Attach to a slot and insert into a [[Component:AudioOutput]] to hear the streamed whistle tone.
== Examples ==
== Examples ==
Can be used to test frequencies or be used for a whistle type instrument with quick changes without having to change the speed or volume of a [[Component:AudioClipPlayer]]
== See Also ==
== See Also ==
* [[Component:SineWaveClip]]
[[Category:Components:Debug{{#translation:}}|Test Sine Wave Source]]
[[Category:Components:Debug{{#translation:}}|Test Sine Wave Source]]
[[Category:Components{{#translation:}}|Test Sine Wave Source]]
[[Category:Components{{#translation:}}|Test Sine Wave Source]]
[[Category:ComponentStubs]]
Latest revision as of 21:05, 3 February 2025
Component image
Test Sine Wave Source component as seen in the Scene Inspector
The TestSineWaveSource component acts the same as a SineWaveClip if it were continuously playing as an AudioClipPlayer. The main difference though is it allows constant and quick changes in Frequency and Amplitude without needing time to recalculate.
Attach to a slot and insert into a Component:AudioOutput to hear the streamed whistle tone.
Examples
Can be used to test frequencies or be used for a whistle type instrument with quick changes without having to change the speed or volume of a Component:AudioClipPlayer