Wiki

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
resources:tools-software:sigmastudio:toolbox:basicdsp:lineargain [14 Nov 2012 21:52] – Fixed Target Slew Ram broken link William Jahnresources:tools-software:sigmastudio:toolbox:basicdsp:lineargain [11 Nov 2015 15:42] (current) – Added descriptions of what certain values will do. David Thibodeau
Line 17: Line 17:
 For a sample design using this block, see the [[resources/tools-software/sigmastudio/tutorials/basicdspexamples|Basic DSP]] example. For a sample design using this block, see the [[resources/tools-software/sigmastudio/tutorials/basicdspexamples|Basic DSP]] example.
  
-The value you specify is in 5.23 format (5 bits for the integer, 23 for the decimal). The accepted values for this block are therefore in the range: -16 15.999.+The value you specify is in 5.23 format (5 bits for the integer, 23 for the decimal). The accepted values for this block are therefore in the range: -16 to 15.999
 + 
 +This is the multiplication factor so therefore a value of "1" will not change the gain at all.  
 +The value of "0" will multiply by zero so it will mute the audio. 
 +The value of 2 will double the signal level  (Add 6dB) 
 +Values less than 1 but greater than zero, 0<X<1 will reduce the gain of the signal.  
 +A negative value will invert the polarity of the audio and apply the gain factor. So -2 will add two dB and invert the polarity. A value of -0.5 will lower the signal by 6dB and invert the polarity.  
 +The value of -1 will only invert the polarity.
  
 You can choose a slew or no-slew algorithm. Using slew RAM gradually ramps the signal from original to target value, while using no-slew RAM jumps the signal immediately.  You can choose a slew or no-slew algorithm. Using slew RAM gradually ramps the signal from original to target value, while using no-slew RAM jumps the signal immediately. 
resources/tools-software/sigmastudio/toolbox/basicdsp/lineargain.txt · Last modified: 11 Nov 2015 15:42 by David Thibodeau