Overload List
| # | Signature | Description |
|---|---|---|
| 1 | void Tone(TVec Dst, ref TToneState ToneState) | Generate a sine function. |
| 2 | void Tone(TVec Dst, Int32 SampleCount, Double Freq, Double Phase, Double Mag, Boolean Complex) | Generate a sine function. |
Overload 1: void Tone(TVec Dst, ref TToneState ToneState)
Generate a sine function.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Dst | TVec | source TVec |
| 2 | ToneState | TToneState (ref) |
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: void Tone(TVec Dst, Int32 SampleCount, Double Freq, Double Phase, Double Mag, Boolean Complex)
Generate a sine function.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Dst | TVec | source TVec |
| 2 | SampleCount | Int32 | |
| 3 | Freq | Double | scalar |
| 4 | Phase | Double | scalar |
| 5 | Mag | Double | scalar |
| 6 | Complex | Boolean |
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