The most recent version of this page is a draft.DiffThis version (10 Feb 2021 12:42) was approved by Sanjeeva Reddy.

This is an old revision of the document!

Click here to return to the Sources page



The SineTone block generates a sinetone at different frequencies. The gain and phase of the algorithm can be configured for each channel individually.


This block has checkbox to enabled or disabled the algorithm. Check the box to enable this algorithm. It has the text fields for frequency, phase and gain to generate the sinetone at different frequencies with different phase and gain.

Targets Supported

SineTone Yes YesYes Yes



Output0ControlOutput channel 0

Configurable Parameters

GUI Parameter NameDefault ValueRangeFunction Description
Frequency5000 to 0.5* sample rateSets the frequency for sinetone
OnOff_Channel0FalseTrue/FalseEnabled/Disabled the algorithm for the channel, When the algorithm is disabled, the output pin will output a constant value 0.0
Phase_Channel000 to 360 degress initial phase of the sinetone
Gain_Channel00 -138 to 24 dB Gain, the sinetone wave to be multiplied
NumChannels120 Number of input and output channels. Change in Channels requires re-compilation

DSP Parameters

Parameter NameDescriptionADSP-214xx/SC5xx/215xx
SinSin value for generating a sinetone wave at particular frequencyFloat
CosCos value for generating a sinetone wave at particular frequencyFloat
Gain_Channel0Gain, the sinetone wave to be multipliedFloat
Phase_Channel0initial phase of the sinetone waveFloat
OnOffEnabled/Disabled the algorithmFloat

DSP Parameter Computation

Sin = sin⁡(2*π*fs/FS)
Cos = cos⁡(2*π*fs/FS)
Where fs is frequency and FS is the sampling rate

/srv/ · Last modified: 13 May 2021 09:04 by Prasad Kamath