SignalUtils.Tone Method

Overload List

#SignatureDescription
1procedure Tone(const Dst: TVec; var ToneState: TToneState);Generate a sine function.
2procedure Tone(const Dst: TVec; SampleCount: Integer; Freq: Double; Phase: Double; Mag: Double; Complex: Boolean);Generate a sine function.

Overload 1: procedure Tone(const Dst: TVec; var ToneState: TToneState);

Generate a sine function.

#NameTypeDescription
1DstTVec
2ToneStateTToneState

Result: stored in self (calling object)

Remarks:

Place a tone defined with a call to ToneInit in Dst. The routine is stream capable.

See Also: SignalUtils.ToneInit

Overload 2: procedure Tone(const Dst: TVec; SampleCount: Integer; Freq: Double; Phase: Double; Mag: Double; Complex: Boolean);

Generate a sine function.

#NameTypeDescription
1DstTVec
2SampleCountInteger
3FreqDoublescalar
4PhaseDoublescalar
5MagDoublescalar
6ComplexBoolean

Result: stored in self (calling object)

Remarks:

Generate a single tone wave signal with frequency Freq, initial Phase and amplitude Mag. Set Complex to true to generate a complex signal. The routine is not stream capable.

See Also: SignalUtils.ToneInit