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:gainenvelope [11 Jun 2020 14:55] – [Targets Supported] Nikhin Shetty | resources:tools-software:sigmastudiov2:modules:gain:gainenvelope [07 May 2021 09:23] (current) – [Output] Nikhin Shetty | ||
---|---|---|---|
Line 1: | Line 1: | ||
[[resources/ | [[resources/ | ||
====== Gain Envelope ====== | ====== Gain Envelope ====== | ||
+ | {{: | ||
\\ | \\ | ||
- | {{: | + | {{: |
- | \\ | + | |
- | {{: | + | |
===== Description ===== | ===== Description ===== | ||
The Generic Gain Envelope algorithm has a fully programmable gain envelope. The envelope is accessible by clicking the cell’s icon. | The Generic Gain Envelope algorithm has a fully programmable gain envelope. The envelope is accessible by clicking the cell’s icon. | ||
Line 14: | Line 13: | ||
\\ | \\ | ||
===== Variants ===== | ===== Variants ===== | ||
+ | Selected Gain Envelope Type | ||
- Generic Gain Envelope | - Generic Gain Envelope | ||
- Gain Envelope EndlessLoop | - Gain Envelope EndlessLoop | ||
- | \\ | ||
===== Targets Supported ===== | ===== Targets Supported ===== | ||
- | ^Name^ADSP-214xx(Sample)^ADSP-214xx(Block)^ADSP-215xx/ | + | ^ Name ^ ADSP-214xx ^ ADSP-215xx/ |
- | |Gain Envelope| | + | | ------------------------------------------------------------ | -------------------- | -------------------------------- | ---------------------------- | |
- | \\ | + | |Gain Envelope| |
+ | |Gain Envelope EndlessLoop| B/S | B/S | S | | ||
===== Pins ===== | ===== Pins ===== | ||
==== Input ==== | ==== Input ==== | ||
^Name^Type^Description^ | ^Name^Type^Description^ | ||
- | |Input0|Audio|Input channel | + | |------------------------------|------------------------------------------------------------|------------------------------| |
- | \\ | + | |EnvelopeControl| Control | Control Input| |
+ | |Input< | ||
==== Output ==== | ==== Output ==== | ||
^Name^Type^Description^ | ^Name^Type^Description^ | ||
- | |Output0|Control|Output channel | + | |------------------------------|------------------------------------------------------------|------------------------------| |
- | \\ | + | |Output <fc # |
+ | Note: | ||
+ | * <fc # | ||
===== Configurable Parameters ===== | ===== Configurable Parameters ===== | ||
^GUI Parameter Name^Default Value^Range^Function Description^ | ^GUI Parameter Name^Default Value^Range^Function Description^ | ||
- | |Gain_channel< | + | |------------------------------|----------------------------------------|----------------------------|----------------------------------------------------------| |
- | |IsDBps_channel< | + | |Maximum Time|1104 ms|10 to 4400 ms|Time interval |
- | |Max_Channel<n>|0|Min_Channel < Max_Channel < 200|Configure the maximum value of gain for nth channel| | + | |GainValue_Point<fc # |
- | |Min_Channel<n>|0|-200 < Min_Channel | + | |Time(ms)_Point<fc # |
- | |NumChannels|1|20|Num of input and output | + | |NumChannels|2|20|Number |
+ | |GainEnvelopeType|Generic Gain Envelope|NA |Gain Envelope types. Change in this value requires re-compilation| | ||
\\ | \\ | ||
===== DSP Parameters ===== | ===== DSP Parameters ===== | ||
- | ^Parameter Name^Description^ADSP-214xx/ | + | ^ Parameter Name |
- | |Gain_channel< | + | | ---------------------------------------- |
- | |Slew_Channel< | + | |StartGain|Initial gain value|Float| FixPoint8d24 |
+ | |GainPoints| Time intervals | ||
+ | |GainSlope| scales the slope of gain points | ||
+ | | numberofgainpoints | gain points count |NA |Integer32| | ||
+ | | lowestgain | lowest gain value |NA | FixPoint8d24 | ||
\\ | \\ | ||
===== DSP Parameter Computation ===== | ===== DSP Parameter Computation ===== | ||
- | Slew_Channel0 | + | |-------------------------------|-------------------------------------------------| |
+ | |StartGain | = Math.Pow(10, (GainValue_Point[0] / 20)) | | ||
+ | |lowestgain| =0.00000025| | ||
+ | |numberofgainpoints |= GainPoints count - 1| | ||
\\ | \\ |