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
    • LiDAR Solutions
    • Motor Control Hardware Platforms
    • Speech Processing Solutions
    • Video

    Design Center Forums

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

    Highlighted Webinar

    Power Integrity for High Performance Measurement Systems

    Increasing data rates driven by AI workloads and the evolution from 5G to emerging 6G standards are placing new demands on electronic test and measurement...

    Places

    • ADI Academy
    • ADI Webinars
    • EZ Blogs
    • 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
    • Other Products Library
    • Precision Technology Signal Chains Library
    • Software Modules and SDKs Library
    • Supervisory Circuits Library
    • Wireless Sensor Networks Library

    Upcoming Learning & Events

    • Humanoid Robotics: Deterministic Motion Control & Edge AI Systems
    View All Webinars
  • Community Hub

    Challenge Yourself!

      KCC Quizzes AQQ302 about Bang Gap Reference Generation

      1.Quote of the month: "People Who Say They Sleep Like a Baby usually don't have one" - unknown 2. New quiz AQQ302 about Band Gap Reference Voltage...

    View All

    What's Brewing

      Read the Blog:  Simplified I/O: One Chip, Flexible Voltage Output, 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 of the blog: Simplified I/O: One Chip, Flexible Voltage Outpu...

    View All

    Places

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

    Resources

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

    Visit ContentZone

    Search content by industry or technology.
    • Blogs
    • Technical Articles
    • Tutorials
    • Videos
    • Webinars
    Your ADI content all in one place.
    View ContentZone

    The Latest Read

    JESD204 Bring-Up: From Link-Up to Data Integrity

    This blog presents a structured bring-up methodology for the ZCU102 + ADRV9009 platform, stepping through each initialization phase in sequence and identifying...

    New Release

    Signal Chain Designer: DC Error Simulation
    Signal Chain Designer: DC Error Simulation

    This video covers the DC error calculation capabilities of Signal Chain Designer. DC error is unique in that often requires calibration and has so many...

    Recent Technical Insights

    Latest Technical Article from Analog.com
    Game of DronesPart 1: How IMU Navigation Architectures Make or Break a Drone

    This article explains why industrial-grade UAVs require fundamentally different architectures than consumer drones. It highlights the need for inertial...

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 Using compressors to avoid output clipping
  • Q&A
  • Docs/FAQs
  • 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
  • +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
    • Can I have multiple versions of SigmaStudio installed simultaneously?
    • How are the audio inputs routed in SigmaStudio's Input cell?
    • How can I change parameters on-the-fly in an application without SigmaStudio?
    • How do I change the sample rate of my SigmaStudio system?
    • How do I report a SigmaStudio bug?
    • New SigmaStudio 3.3 Beta Version Available
    • New SigmaStudio Download Site
    • Sigma 300 (ADAU145x) Exponential Slewing
    • SigmaStudio consulting services...
    • The ADAU1372 is not on the list of compatible processors or under Processors/DSPs on Sigmastudio 3.11.1 or 3.11. Can you please tell me how I can use the EVAL board with ADAU1372?
    • Third Party Algorithm Plugins in SigmaStudio
    • True peak-to-peak detection in SigmaStudio
    • Using compressors to avoid output clipping
    • Using stopwatch with feedback loop to create periodic test signal
    • What operating systems are supported to run SigmaStudio?
    • Where can I download SigmaStudio?
    • Where can I find a description of the changes made in the latest version of SigmaStudio?
    • Where can I send my questions I don't want to post in a public forum?
    • Why can't I control any of the knobs or sliders in my SigmaStudio project?
  • +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

Using compressors to avoid output clipping

Q: My SigmaDSP program allows the user to set EQ and volume settings. The EQ can be boost or cut. When the user boosts an EQ band, sometimes there is distortion on the outputs of the serial port or DAC. How can I fix this?


A: If you are using gain inside the DSP, there is the potential that you clip the signal when it is output. The number format for 24 bit audio is 1.23, and the format in the DSP core is 5.23 (4 bits of headroom are added). For more information on these number formats, see here: https://ez.analog.com/message/13377#13377

If you increase the gain inside the DSP, you can avoid clipping because of these headroom bits (up to 24 dB). However, when you output from the DSP to the DAC or the serial output port, the top 4 bits will be truncated (saturated) and clipping will occur.

Therefore, you will need to do one of the following:
- Place some attenuation on the input signal
- Use some limiter or compressor functionality as the last step in your signal flow

I would suggest using a full-range (-90 dB to +24 dB) RMS compressor with a fast time constant, relatively fast release, soft knee, and a limiting curve set at around -3 dB to -6 dB. I attached an example project for reference. Alternatively, you can use the limiter cell.

Attachments:
ez.analog.com/.../3348.CompressorExample.dspproj.zip
Tags: compressor noise clipping sigmastudio SigmaDSP
  • Share
  • History
  • More
  • Cancel
 
Related Content
  • RE: ADAU1466 usage issues in Sigmastudio 4.7
    Harishgowtham
    Hello Axvn, Please refer the below schematic for simple param eq implementation You can achieve +20dB inside the core (32 bit in 8.24 format), once the data goes outside the core then the 32-bit...
  • RE: Subwoofer DSP problem. Unstable Output with larger input
    DaveThib
    Hello Ryan, I am not sure where to start here. I did download your project and used the Audio Precision to make measurements. First thing I need to point out is that the Max single ended line input...
  • RE: Trying to understand Limiters and Sound Volumes
    DaveThib
    Hello Jendo, I am going to add a little detail to the great post from KJBob. He did a great job explaining that it is not just about clipping in the DSP but the entire system. You have to figure out...
 
Related Content
  • RE: ADAU1466 usage issues in Sigmastudio 4.7
    Harishgowtham
    Hello Axvn, Please refer the below schematic for simple param eq implementation You can achieve +20dB inside the core (32 bit in 8.24 format), once the data goes outside the core then the 32-bit...
  • RE: Subwoofer DSP problem. Unstable Output with larger input
    DaveThib
    Hello Ryan, I am not sure where to start here. I did download your project and used the Audio Precision to make measurements. First thing I need to point out is that the Max single ended line input...
  • RE: Trying to understand Limiters and Sound Volumes
    DaveThib
    Hello Jendo, I am going to add a little detail to the great post from KJBob. He did a great job explaining that it is not just about clipping in the DSP but the entire system. You have to figure out...
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