# Questions tagged [dynamic-range-compression]

This is for algorithms that compress the dynamic range of a signal, such as used in audio or image processing.

20 questions
Filter by
Sorted by
Tagged with
48 views

### What is the best to confirm that the output of a matched filter for a linear FM chirp is correct?

I have written a matched filter in matlab to compress a linear FM chirp signal and would like to confirm that the results of my range compression. My question is what is the best way to do this? I ...
23 views

### How do you perform range compression of SAR data on a 2D matrix?

I am building a Matlab program to process RADARSAT-1 data that came with this book. The book describes the steps to creating SAR image as follows I am currently implement the range compression step. ...
31 views

### How auto release works in dynamic range compressor

Could anyone help me to understand how auto release mode works in audio dynamic range compressor? After I typed "auto release" in seatch box on that forum I get "0 results".
65 views

### RMS typical length for audio dynamic compressor

I know what does it mean Root Mean Square. But I can’t find any information what is typical portion (length) of audio signal for RMS envelope detector in dynamic audio compressor. Of course I know it ...
69 views

### Sum of cosines as squashed as possible

I have 10 cosine waves of the form $\cos(2\pi(x f_n+\varphi_n))$, where $f_n$, the frequency, is an integer from 1 to 10 and $\varphi_i$, the phase, is a number from 0 to 1: s(x) = \sum\limits_{n=1}...
181 views

### Is there any python code for applying a-law/mu-law on 3D numpy array?

I have 3D numpy array of probabilities between [0,1], I need to emphasize on some area with lower probabilities. I was suggested to apply a-law and mu-law. I am wondering if there is python library/...
148 views

### Dynamic compressor - ratio in logarithmic scale problem

I want to use decibels to describe compression ratio. So for example ratio 4:1 means that every 4 input decibels above threshold causes raise of output only 1 decibel. And I also want ratio to be ...
41 views

### Dynamics processor for speech - apply gain on delayed samples?

A Dynamics processor (limiter, compressor, expander, and gate) is calculating the output gain at some point in time, and it is applying this gain at some delayed point in time. This allows for ...
465 views

### Compute dynamic range in a linear quantization system

I know the dynamic range is the ratio between the maximum amplitude and the minimum amplitude of a signal, calculating the dynamic range in dB I get a difference of logarithms: But why the dynamic ...
122 views

### Can you recommend an efficient encoding algorithm for sound with long periods of silence?

As a side personal project, I'm coding an Android application that I plan to use to record the sounds of our first baby. I'm kind of new to the world of Android development and sound processing, so ...
149 views

### Gain of resonating filters

I'm trying to make a music instrument based on a resonator with a high Q, such as Ableton's Corpus and Ableton's Resonator (I think the former is based on a simple 2nd order resonant filter while the ...
109 views

### What does the operator 'Range Detector' do in this block diagram? How can it be modeled?

I'm trying to implement a 'Compressor/Expander/Noise gate' for automatic gain control of audio signals. The block diagram of the system is shown below: I don't understand how the 'Range Detector' ...
2k views

### A query on the non-uniform quantization

I have read that non-uniform quantization boosts the smaller amplitude signals by a large amount. However the larger amplitude signals receive a small gain. As shown in the below diagram (Compressor ...
142 views

### Fast method to decompress huffman and arithmetic encoded data

By nature, when decompressing huffman (and I assume also Arithmetic encoded data) we have to read it in bit by bit and then see how it traverses a huffman code tree that has the actual symbol value at ...
544 views

### Dynamic range compression - Need pseudo algorithm for normalizing a signal

I have a signal that is NOT an audio signal (but looks like an audio signal - probably you can even "play" it). I would like to amplify the signal in regions where its amplitude is low. In very rare ...
1k views

### Differences between soft knee and hard knee in Dynamic Range Compression (DRC)?

I want to know more about where it is advantageous to use a soft knee and where and why a hard knee is preferred. Also I would like to get my hands on some good resources which talk about ...
472 views

### Dynamic range compression in the frequency domain?

I'm trying to do frequency-band specific dynamic range compression (like multi-band compression) and was thinking of whether dynamic range compression is doable in the frequency domain or whether it's ...
205 views

### Map the Amplitude Envelope from [dbmin,dbmax] to [-inf,dbmax]

I would like to map the envelope of a sound (which has max dB level = dbmax, and min dB level = dbmin) from [dbmin,dbmax] to ...