Overload List
| # | Signature | Description |
|---|---|---|
| 1 | void SquareTone(TVec *Dst, TSquareToneState &State); | Generate a square wave function. |
| 2 | void SquareTone(TVec *Dst, int SampleCount, double Freq, double Phase, double Mag, bool Complex = false, const int MaxHarmonics = - 1); | Generate a square wave function. |
Overload 1: void SquareTone(TVec *Dst, TSquareToneState &State);
Generate a square wave function.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Dst | TVec * | |
| 2 | State | TSquareToneState & |
Remarks:
Place a tone defined with a call to ToneInit in Dst. The routine is stream capable. Dst.IsDouble will be used to determine floating point precision.
See Also: SignalUtils::ToneInit
Declared in Dew::Signal::Units::SignalUtils · Dew.Signal/Units.SignalUtils.h · Cross-compiler
Overload 2: void SquareTone(TVec *Dst, int SampleCount, double Freq, double Phase, double Mag, bool Complex = false, const int MaxHarmonics = - 1);
Generate a square wave function.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Dst | TVec * | |
| 2 | SampleCount | int | |
| 3 | Freq | double | |
| 4 | Phase | double | |
| 5 | Mag | double | |
| 6 | Complex = false | bool | |
| 7 | MaxHarmonics = - 1 | const int |
Remarks:
Generate a square 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. Dst.IsDouble will be used to determine floating point precision.
See Also: SignalUtils::ToneInit
Declared in Dew::Signal::Units::SignalUtils · Dew.Signal/Units.SignalUtils.h · Cross-compiler