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.
|Output0||Control||Output channel 0|
|GUI Parameter Name||Default Value||Range||Function Description|
|Frequency||500||0 to 0.5* sample rate||Sets the frequency for sinetone|
|OnOff_Channel0||False||True/False||Enabled/Disabled the algorithm for the channel, When the algorithm is disabled, the output pin will output a constant value 0.0|
|Phase_Channel0||0||0 to 360 degress||initial phase of the sinetone|
|Gain_Channel0||0||-138 to 24 dB||Gain, the sinetone wave to be multiplied|
|NumChannels||1||20||Number of input and output channels. Change in Channels requires re-compilation|
|Sin||Sin value for generating a sinetone wave at particular frequency||Float|
|Cos||Cos value for generating a sinetone wave at particular frequency||Float|
|Gain_Channel0||Gain, the sinetone wave to be multiplied||Float|
|Phase_Channel0||initial phase of the sinetone wave||Float|
|OnOff||Enabled/Disabled the algorithm||Float|
Sin = sin(2*π*fs/FS)
Cos = cos(2*π*fs/FS)
Where fs is frequency and FS is the sampling rate