SignalUtils.TriangleToneInit Method

void TriangleToneInit(Double Freq, Double Phase, Double Mag, Double asym, ref TTriangleState ToneState, Boolean Complex)

Initialize the generation of a triangle function.

#NameTypeDescription
1FreqDoublescalar
2PhaseDoublescalar
3MagDoublescalar
4asymDoublescalar
5ToneStateTTriangleState (ref)
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