SignalUtils::Tone Function

Overload List

#SignatureDescription
1void Tone(TVec *Dst, TToneState &ToneState);Generate a sine function.
2void Tone(TVec *Dst, int SampleCount, double Freq, double Phase, double Mag, bool Complex = false);Generate a sine function.

Overload 1: void Tone(TVec *Dst, TToneState &ToneState);

Generate a sine function.

#NameTypeDescription
1DstTVec *
2ToneStateTToneState &
Remarks:

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

See Also: SignalUtils::ToneInit
Declared in Dew::Signal::Units::SignalUtils · Dew.Signal/Units.SignalUtils.h · Cross-compiler

Overload 2: void Tone(TVec *Dst, int SampleCount, double Freq, double Phase, double Mag, bool Complex = false);

Generate a sine function.

#NameTypeDescription
1DstTVec *
2SampleCountint
3Freqdouble
4Phasedouble
5Magdouble
6Complex = falsebool
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
Declared in Dew::Signal::Units::SignalUtils · Dew.Signal/Units.SignalUtils.h · Cross-compiler