SignalUtils.TriangleToneInit Method

procedure TriangleToneInit(Freq: Double; Phase: Double; Mag: Double; asym: Double; var ToneState: TTriangleState; Complex: Boolean);

Initialize the generation of a triangle function.

#NameTypeDescription
1FreqDoublescalar
2PhaseDoublescalar
3MagDoublescalar
4asymDoublescalar
5ToneStateTTriangleState
6ComplexBoolean

Result: stored in self (calling object)

Remarks:

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.

See Also: SignalUtils.TriangleTone, SignalUtils.Tone