DewDSPMasterNET
Tone Routines
Summary
Generate a sine function.

Unit
SignalUtils

Declaration
Procedure Tone(Dst: TVec; SampleCount: integer; Freq, Phase, Mag: TSample; Complex: boolean = false);

Description
Generate a sine signal with frequency Freq, initial Phase and amplitude Mag. Set Complex to true to generate a complex signal. The routine is not stream capable. For longer vectors, the speed is much greater than Sin(Ramp(...)) call.
Categories
Signal generation
 See Also 
ToneInit 

Declaration
Procedure Tone(Dst: TVec; var ToneState: TToneState);

Description
Place a tone defined with a call to ToneInit in Dst. The routine is stream capable.
Categories
Signal generation
 See Also 
ToneInit 

Copyright 2008 Dew Research
http://www.dewresearch.com