You are here: Symbol Reference > SignalUtils Namespace > Functions > SignalUtils.TriangleToneInit Function
DSP Master VCL
ContentsIndex
PreviousUpNext
SignalUtils.TriangleToneInit Function

Initialize the generation of a triangle function.

Pascal
procedure TriangleToneInit(Freq: double; Phase: double; Mag: double; Asym: double; var ToneState: TTriangleState; Complex: boolean = false);

Initialize a triangular signal ToneState with frequency Freq, initial Phase, Asym assymetry and amplitude Mag. Set Complex to true to generate a complex signal. ToneState is to be passed to the TriangleTone routine to actually generate the time series.

Copyright (c) 1999-2025 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!