Wiki

This version (09 Jul 2019 08:18) was approved by Ashwin Radhakrishnan.The Previously approved version (20 Jan 2016 10:16) is available.Diff

Click here to return to the Sources section.

Sine Tone with Phase and Gain(ADSP-SC5xx/215xx)


This module can be used to generate a Sine Tone at different frequencies. The gain and phase of the algorithm can be configured



Output Pins

NameFormat [int/dec/float] - [control/audio]Function Description
Pin 0: Output audioOutput Sine Tone signal from the module



Grow Algorithm

The module supports growth to a maximum of 14 channels

Configuration



GUI Control NameDefault ValueRangeFunction Description
GUI Control NameDefault ValueRangeFunction Description
on/offoffon/offTurns the output of the cell on or off. When the output is off, the output pin will output a constant value of 0.
Frequency500.010.01 to 0.5*Sample RateThe sets the frequency of the sine tone that is output from the cell.
Initial Phase00 to 360Initial Phase of the sine signal.
Gain0-138 to 24 dB The gain to be multiplied on the sine tone



DSP Parameter Information

GUI Control NameCompiler NameFunction Description
Frequency_cosToneGenwithPhaseGainBlkAlg1cos Cos value for generating a particular frequency
Frequency_sinToneGenwithPhaseGainBlkAlg1sin Sin value for generating a particular frequency
PhaseToneGenwithPhaseGainBlkAlg1phasevalues Cos and Sine value packed for all growths to generate a specific phase
GainToneGenwithPhaseGainBlkAlg1gain0 Gain value



Here,

  • Green - Algorithm Name
  • Red - Instance Number (Changes for each instance)
  • Blue - Parameter Name
  • Orange - Growth



Algorithm Description

This modules generates Sine tone based on the Frequency and the Phase set in the GUI. Gain of the sine tone can be adjusted from the GUI. Sine Tone can be switched On/Off using the On/Off checkbox in the GUI.

Supported ICs

  1. ADSP215xx
  2. ADSPSC5xx



Sine Tone With Phase and Gain(ADAU145x)

The Tone (Lookup/Sine) block generates a tone from a lookup table. The gain and the initial phase of the algorithm can be configured. Set the tone frequency in text field or use the arrows; the checkbox turns the tone on and off.

To change the source's Sampling Rate, Right-click in the block and select Set Sampling Rate, which will open the Sampling Rate window (default is 44.1 kHz).

Output Pins

NameFormat [int/dec/float] - [control/audio]Function Description
Pin 0: Output complex-audioOutput Sine Tone signal from the module


GUI Control

GUI Control NameDefault ValueRangeFunction Description
on/offoffon/offTurns the output of the cell on or off. When the output is off, the output pin will output a constant value of 0.
Frequency500.010.01 to 0.5*Sample RateThe sets the frequency of the sine tone that is output from the cell.
Initial Phase00 to 360Initial Phase of the sine signal.
Gain0-144 to 42 dB The gain to be multiplied on the sine tone
resources/tools-software/sigmastudio/toolbox/sources/sinetonewithphaseandgain.txt · Last modified: 27 Jun 2019 06:50 by Ashwin Radhakrishnan