Locale Icon
English
  • Forums

    Popular Forums

    • LTspice
    • Video
    • Power Management
    • RF & Microwave
    • Precision ADCs
    • FPGA Reference Designs

    Product Forums

    • Amplifiers
    • Clocks & Timers
    • Data Converters
    • Direct Digital Synthesis (DDS)
    • Energy
    • Interface and Isolation
    • MEMS Inertial Sensors
    • Power Management
    • Processors & DSP
    • Processors & Microcontrollers
    • Switches & Multiplexers
    • Sensors
    • Voltage References
    View All

    Application Forums

    • A2B Audio Bus
    • Audio
    • Automated Test Equipment (ATE)
    • Condition-Based Monitoring
    • Depth, Perception & Ranging Technologies
    • Embedded Vision Sensing Library
    • Motor Control Hardware Platforms
    • Precision Technology Signal Chains Library
    • Video
    • Wireless Sensor Networks Reference Library

    Design Center Forums

    • ACE Evaluation Software
    • ADEF System Platforms
    • Design Tools & Calculators
    • FPGA Reference Designs
    • Linux Software Drivers
    • Microcontroller no-OS Drivers
    • Power Studio Designer
    • Power Studio Planner
    • Reference Designs
    • Robot Operating System (ROS) SDK
    • Signal Chain Power (SCP)
    • Software Interface Tools
    • System Demonstration Platform (SDP) Support
  • Learn

    Highlighted Webinar

    Power Management Fundamentals II Session 4: Isolated Converters Explained

    What does isolation mean for power topologies? Let's review what galvanic isolation means and go through the terminology and standards. We'll explore isolation...

    Places

    • ADI Academy
    • ADI Webinars
    • Video Annex
    • Virtual Classroom

    Libraries

    • 3D ToF Depth Sensing Library
    • Continuous-Wave CMOS Time of Flight (TOF) Library
    • Embedded Vision Sensing Library
    • Gigabit Multimedia Serial Link (GMSL) Library
    • Optical Sensing Library
    • Precision Technology Signal Chains Library
    • Software Modules and SDKs Library
    • Supervisory Circuits Library
    • Wireless Sensor Networks Library

    Latest Webinars

    • Power Management Fundamentals II Session 6: Key Layout Considerations for Power
    • A 16T/16R X-Band Direct Sampling Phased Array Subsystem using Apollo MxFE
    • Power Management Fundamentals II Session 5: Deeper Look into Power Protection
    • Power Management Fundamentals II Session 4: Isolated Converters Explained
    • Maximize Your Power Regulator: Key Considerations for Thermal Performance
    View All Webinars
  • Community Hub

    Challenge Yourself!

      KCC's Quizzes AQQ296 about repairing an equation in a digital display

      1. Quote of this month: " When I die, I want to die like my grandfather who died peacefully in his sleep. Not screaming like all the passengers in his...

    View All

    What's Brewing

      Read a Blog, Take this Quiz for Another Chance to Win a Gift Card!

      Important: Read the blog first . The quiz questions are all based on the content from the blog: Too Much Chatter and Not Enough Talk - Learn the Benefits...

    View All

    Places

    • Community Help
    • Logic Lounge
    • Super User Program
    • Analog Dialogue Quiz

    Resources

    • EZ Code of Conduct
    • EZ How To Help Articles
    • Getting Started Guide
    • ADI: Words Matter
    • Community Help Videos
    View All
  • Blogs

    Highlighted Blogs

    The Power Problem Inside Every AI Breakthrough: Part 1 of 3

    Artificial intelligence isn’t just changing how we interact with the world; it’s transforming the very hardware that makes it all possible. As AI invades...

     

    Simplifying Stability with EVAL-KW4503Z: Part 1 of 3

    Sensors are all around us. They help our gadgets, appliances, and electronic equipment "notice" what's happening in our environment. Essentially, they...

    Latest Blogs

    • Energy Transfer Considerations in Isolated SMPS: Part 2 of 4
    • Automating LTspice .NOISE Measurements with .STEP and .MEAS Directives: Part 2 of 3
    • ​​Channel Specification: The Key to GMSL Compliance​
    • Understanding Voltage Domain Isolation in Field-Bus Systems
    • Ethernet-APL’s Impact on Functional, Intrinsic, and Cyber Safety
    Read All Blogs

    ADI Blogs

    • EZ Spotlight
    • The Engineering Mind
  • ContentZone

    Visit ContentZone

    ContentZone

    Technical articles. Blogs. Videos. Your ADI content, all in one place.

    View ContentZone

    Featured Content

    Featured Content Title

    Blurb About Content

    View Content By Industry

    • Aerospace and Defense Systems
    • Automotive Solutions
    • Consumer Technology Solutions
    • Data Center Solutions
    • Energy Solutions
    • Healthcare Solutions
    • Industrial Automation Technology Solutions
    • Instrumentation and Measurement Solutions
    • Intelligent Building Solutions
    • Wireless Communication Solutions

    View Content By Technology

    • A2B Audio Bus
    • ADI OtoSense Predictive Maintenance Solutions
    • Dynamic Speaker Management
    • Gallium Nitride (GaN) Technology
    • Gigabit Multimedia Serial Link (GMSL)
    • Industrial Vision
    • Power Solutions
    • Precision Technology
    • RF
    • Sensor Interfaces
    • SmartMesh
EngineerZone
EngineerZone
SigmaDSP Processors & SigmaStudio Dev. Tool
  • Log In
  • User
  • Site
  • Search
OR
Ask a Question
SigmaDSP Processors & SigmaStudio Dev. Tool
  • Processors & DSP
SigmaDSP Processors & SigmaStudio Dev. Tool
Documents Compressor Table Format - Changing compressors at run-time
  • Q&A
  • File Uploads
  • Members
  • Tags
  • Cancel
  • Documents
  • SigmaDSP YouTube Channel - Dave Thib
  • +AD193x: FAQ
  • +ADAU1401AEBZ: FAQ
  • +ADAU144x: FAQ
  • +ADAU1452: FAQ
  • +ADAU145x: FAQ
  • +ADAU1701: FAQ
  • +ADAU1701MINIZ- FAQ
  • +ADAU1761: FAQ
  • +ADAU1772: FAQ
  • +ADI: FAQ
  • +AN-951: FAQ
  • +bitwise logic: FAQ
  • -Compressor Table Format: FAQ
    • Compressor Table Format - Changing compressors at run-time
  • +Creating a simple balance crossfade control: FAQ
  • +Creating constant-dB envelope decay using an existing linear decay algorithm: FAQ
  • +Crossover with more than 3 bands: FAQ
  • +E2PROM: FAQ
  • +EEPROM: FAQ
  • +EVAL DAU144XEBZ: FAQ
  • +EVAL-ADAU1781Z: FAQ
  • +Excluding Cells from the Exported System Files: FAQ
  • +GPIO button: FAQ
  • +GPIOs or Aux ADCs: FAQ
  • +How do I execute a software safeload write?: FAQ
  • +IIR coefficient filter: FAQ
  • +IIR filter: FAQ
  • +Peak Full Range Compressor: FAQ
  • +Preserving "Ear-candy": FAQ
  • +Push Button Volume: FAQ
  • +self-boot EEPROM image: FAQ
  • +Sigma300 Family Products: FAQ
  • +SigmaDSP: FAQ
  • +SigmaStudio: FAQ
  • +single precision VS double precision: FAQ
  • +Stimulus-Probe Capability and Limitations: FAQ
  • +Stopwatch to Count Successive Samples: FAQ
  • +Toolbox into the schematic tab: FAQ
  • +USB communications between the PC and SigmaDSP: FAQ
  • +Using Hierarchy Boards to create re-usable code: FAQ
  • New SigmaStudio 3.2.0 beta version available
  • SigmaStudio 3.3 Released
  • SigmaStudio 3.9.2 Beta Available for Download
  • SigmaStudio Rev 3.15.2 Bug Report for SPI EEPROM Write Speed

Compressor Table Format - Changing compressors at run-time

There are several compressors available in SigmaStudio. Some of them use peak detection, while others use an approximated RMS detection. In order to make the algorithm memory efficient, the transfer function of the compressor that maps input levels to output gain is stored in memory, and the output gain is calculated by linear interpolation.

A list of available compressors is available here: https://wiki.analog.com/resources/tools-software/sigmastudio/toolbox/dynamicsprocessors

The compressor table has 33 points, which matches the 33 points on the GUI. By changing a big point on the curve, you can change the shape of the overall curve. The big blue points act like "anchors" as they alter the curve of the small blue points behind them.

The calculation is actually done using 34 points stored in RAM. The first point stored in RAM represents the gain reduction value for any input below -90dB.

Here's an example: A compressor with a threshold of -6dB and a ratio of 2:1. For all inputs between -90 dB and -6 dB, the output gain is 1. For points above -6 dB, the output gain decreases by 3 dB for every 6 dB increase in input level.


The resulting table is as follows:

Point dB input Output Gain
1 -90 1
2 -87 1
3 -84 1
4 -81 1
5 -78 1
6 -75 1
7 -72 1
8 -69 1
9 -66 1
10 -63 1
11 -60 1
12 -57 1
13 -54 1
14 -51 1
15 -48 1
16 -45 1
17 -42 1
18 -39 1
19 -36 1
20 -33 1
21 -30 1
22 -27 1
23 -24 1
24 -21 1
25 -18 1
26 -15 1
27 -12 1
28 -9 1
29 -6 1
30 -3 0.85
31 0 0.707
32 3 0.6
33 6 0.50

Note that at an input of -6dB (the threshold), the output = input.

At 0dB, the output is 0.707, or -3dB.

At 6 dB, the output is 0.51, or -6dB.

You can make your own curves and calculate the parameters in manually if you prefer. Typically, in a real world system, this is calculated by the microcontroller.

The GUI in SigmaStudio is intended as an easy way to set the compressor curve while tuning the system. To give an end user control over the curve, the table points should be calculated in the microcontroller.

In the GUI, the maximum ratio achievable is limited. However, you can enter in your own parameter data (or right click on a blue point and choose "Set Point Value" to bypass this limitation.

You are correct, the x values are always in 3 dB spacings.

The new "Standard RMS Compressor" has now been released - Check the toolbox under Dynamics Processors > RMS > Standard Resolution > Lower Range.

This FAQ was generated from the following discussion: Developing Sigma DSP Cluster

Tags: compressor microcontroller sigmastudio SigmaDSP
  • Share
  • History
  • More
  • Cancel
 
Related Content
  • RE: Developing Sigma DSP Cluster
    ADIApproved
    Hi Jean, The compressor table has 33 points, which matches the 33 points on the GUI. By changing a big blue point, you can change the overall curve. The big blue points are more like "overlays" as they...
  • RE: Calculating the difference (in decibels) between the RMS levels of two signals
    ADIApproved
    If you'd like to use this functionality, then the RMS Table is exactly what you need. However, in order to implement it correctly, you'll need to manipulate SigmaDSP's number representation to get it to...
  • RE: Compressor input level appears to be displayed/calculated incorrectly
    DaveThib
    Hello liangseaqiang, There really is not a formula for calculating the threshold. It is simply the point at which the gain factors in the table change from "1" to some other number thereby changing the...
 
Related Content
  • RE: Developing Sigma DSP Cluster
    ADIApproved
    Hi Jean, The compressor table has 33 points, which matches the 33 points on the GUI. By changing a big blue point, you can change the overall curve. The big blue points are more like "overlays" as they...
  • RE: Calculating the difference (in decibels) between the RMS levels of two signals
    ADIApproved
    If you'd like to use this functionality, then the RMS Table is exactly what you need. However, in order to implement it correctly, you'll need to manipulate SigmaDSP's number representation to get it to...
  • RE: Compressor input level appears to be displayed/calculated incorrectly
    DaveThib
    Hello liangseaqiang, There really is not a formula for calculating the threshold. It is simply the point at which the gain factors in the table change from "1" to some other number thereby changing the...
analog-devices logo

About Analog Devices

  • Who We Are
  • Careers
  • Newsroom
  • What We Do (Signals+)
  • Investor RelationsExternalLink
  • Quality & Reliability
  • Sales and Distribution
  • What's New on Analog.com
  • Contact Us

Find Help

  • Support
  • Resources
  • WikiExternalLink
  • Analog Dialogue
  • ADI Developer PortalExternalLink

myAnalog

Interested in the latest news and articles about ADI products, design tools, training, and events?

Go to myAnalog
  • Instagram page
  • Twitter page
  • Linkedin page
  • Youtube page
  • Facebook
  • Legal and Risk
  • Accessibility
  • Privacy Policy
  • Privacy Settings
  • Cookie Settings

©2026 Analog Devices, Inc. All Rights Reserved

analog-devices

About Analog Devices

Down Up
  • Who We Are
  • Careers
  • Newsroom
  • What We Do (Signals+)
  • Investor RelationsExternalLink
  • Quality & Reliability
  • Sales and Distribution
  • What's New on Analog.com
  • Contact Us

Find Help

Down Up
  • Support
  • Resources
  • WikiExternalLink
  • Analog Dialogue
  • ADI Developer PortalExternalLink

myAnalog

Interested in the latest news and articles about ADI products, design tools, training, and events?

Go to myAnalog
Instagram page Facebook Twitter page Linkedin page Youtube page
  • Legal and Risk
  • Accessibility
  • Privacy Policy
  • Privacy Settings
  • Cookie Settings

©2026 Analog Devices, Inc. All Rights Reserved