You are here: Symbol Reference > SignalUtils Namespace > Functions > SignalUtils.ToneInit Function
DSP Master VCL
ContentsIndex
PreviousUpNext
SignalUtils.ToneInit Function

Initialize the generation of a sine function.

Pascal
procedure ToneInit(Freq: double; Phase: double; Mag: double; var ToneState: TToneState; Complex: boolean = false);

Initialize a sine signal ToneState with frequency Freq, initial Phase and amplitude Mag. Set Complex to true to generate a complex signal. ToneState is to be passed to the Tone routine to generate the actuall time series.

Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!