This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
resources:tools-software:sigmastudiov2:modules:gain:singlevolumeshared [19 Jan 2021 06:50] – [Single Volume Shared] Krithika Manchale | resources:tools-software:sigmastudiov2:modules:gain:singlevolumeshared [13 May 2021 05:58] (current) – [DSP Parameters] Nikhin Shetty | ||
---|---|---|---|
Line 2: | Line 2: | ||
====== Single Volume Shared ====== | ====== Single Volume Shared ====== | ||
\\ | \\ | ||
- | {{: | + | {{: |
+ | \\ | ||
+ | ===== Varaints ===== | ||
+ | -Single Control (HW Slew) | ||
+ | -Single Control (No Slew) | ||
+ | -Single Control (RC Accurate) | ||
+ | -Single Control Adjustable (RC Accurate) | ||
+ | -Complex Single Volume Control | ||
===== Description ===== | ===== Description ===== | ||
- | The Single Volume Shared block controls level of the signal through slider. This block has single volume control for ' | + | The Single Volume Shared block controls level of the signal through slider. This block has single volume control for ' |
\\ | \\ | ||
===== Usage ===== | ===== Usage ===== | ||
Line 10: | Line 17: | ||
\\ | \\ | ||
===== Targets Supported ===== | ===== Targets Supported ===== | ||
- | ^Name^ADSP-214xx(Sample)^ADSP-214xx(Block)^ADSP-215xx/ | + | ^ Name ^ ADSP-214xx ^ ADSP-215xx/ |
- | |Single | + | | ------------------------------------------------------------ | -------------------- | -------------------------------- | ---------------------------- | |
- | \\ | + | |Single Control |
+ | |Single | ||
+ | |Single Control (RC Accurate)| NA | NA | S | | ||
+ | |Single Control Adjustable (RC Accurate)| NA | NA | S | | ||
+ | |Complex Single Volume Control | ||
===== Pins ===== | ===== Pins ===== | ||
==== Input ==== | ==== Input ==== | ||
^Name^Type^Description^ | ^Name^Type^Description^ | ||
- | |Input0|Audio|Input channel | + | |------------------------------|------------------------------------------------------------|------------------------------| |
+ | |Input< | ||
==== Output ==== | ==== Output ==== | ||
^Name^Type^Description^ | ^Name^Type^Description^ | ||
- | |Output0|Control|Output channel | + | |------------------------------|------------------------------------------------------------|------------------------------| |
+ | |Output< | ||
+ | Note: | ||
+ | * <fc # | ||
\\ | \\ | ||
===== Configurable Parameters ===== | ===== Configurable Parameters ===== | ||
^GUI Parameter Name^Default Value^Range^Function Description^ | ^GUI Parameter Name^Default Value^Range^Function Description^ | ||
+ | |------------------------------|------------------------------------------------------------|------------------------------| | ||
|Gain|0dB|-200 to +200 dB|change the level of the input signal| | |Gain|0dB|-200 to +200 dB|change the level of the input signal| | ||
|SlewRate(StepSize)|12|1 to 23 (RC and Linear) \\ 0.1 to 0.8 (DB)|Controls the transition time of the signal from one level to another level| | |SlewRate(StepSize)|12|1 to 23 (RC and Linear) \\ 0.1 to 0.8 (DB)|Controls the transition time of the signal from one level to another level| | ||
- | |SlewType|RC|RC, Linear(only in Block), DB(only in Block)|Allows | + | | SlewType |
+ | | CustomVal | ||
|IsDBChosen|True|True/ | |IsDBChosen|True|True/ | ||
- | |NumChannels|1|20|Num of input and output channels. Change in this value requires re-compilation| | + | |NumChannels|1| |
\\ | \\ | ||
===== DSP Parameters ===== | ===== DSP Parameters ===== | ||
- | ^Parameter Name^Description^ADSP-214xx/ | + | ^ Parameter Name |
- | |Gain|change the level of the input signal|Float| | + | | ------------------------ | ------------------------------------------------------------------------------------------------------ | ---------------------------------------- | ---------------------------- | |
- | |SlewRate|Controls the transition time of the signal from one level to another level|Float| | + | |Gain|change the level of the input signal|Float| FixPoint8d24 |
+ | |SlewRate|Controls the transition time of the signal from one level to another level| Float| NA | | ||
+ | | slew_mode | Slew mode and value for HW slew (only for HW slew) | NA | Integer32 | | ||
+ | | alpha | scales the value based on Slew mode and value for HW slew (only for HW slew) | NA | FixPoint8d24 | | ||
+ | | om_alpha | scales the value based on Slew mode and value for HW slew (only for HW slew) | NA | FixPoint8d24 | ||
\\ | \\ | ||
===== DSP Parameter Computation ===== | ===== DSP Parameter Computation ===== | ||
- | SlewRate | + | |---------------------------------|---------------------------------------------------------------------------| |
+ | | SlewRate | ||
+ | | Gain | = Math.Pow(10, | ||
+ | | tc | = 0.04 * Math.Pow(2, (_slewRate - 1)) / 1000| | ||
+ | |alpha | = Math.Exp(-1 / (tc * FS))| | ||
+ | |om_alpha | = 1 - alpha| | ||
\\ | \\ |