# Using FMOD\_DSP\_PARAMETER\_SIDECHAIN with a FMOD\_DSP\_TYPE\_COMPRESSOR

**URL:** https://qa.fmod.com/t/using-fmod-dsp-parameter-sidechain-with-a-fmod-dsp-type-compressor/12752
**Category:** FMOD Engine
**Created:** [October 18, 2016, 1:22am UTC](https://qa.fmod.com/t/using-fmod-dsp-parameter-sidechain-with-a-fmod-dsp-type-compressor/12752 "2016-10-18T01:22:55Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![spotco](https://avatars.discourse-cdn.com/v4/letter/s/858c86/32.png) [@spotco](https://qa.fmod.com/u/spotco)
#### Post date: [October 18, 2016, 1:22am UTC](https://qa.fmod.com/t/using-fmod-dsp-parameter-sidechain-with-a-fmod-dsp-type-compressor/12752/1 "2016-10-18T01:22:55Z")

</div>

Hey, I’d like to use a playing Channel as the sidechain on a Compressor DSP.

What I’m doing:  
-I’m getting the DSP\_TAIL of a channel, and adding it as a FMOD\_DSPCONNECTION\_TYPE\_SIDECHAIN input on the compressor DSP.  
-I’m enabling FMOD\_DSP\_COMPRESSOR\_USESIDECHAIN on the compressor DSP.

Doing both of the above, adding the compressor dsp to my master group, and then playing a sound has no noticeable ducking sidechain effect. The code is below.

Questions:

1. How are you supposed to connect the sidechain of a Compressor DSP? (If I added multiple inputs, which one would be used?)

2. Is there any further documentation or examples on using the Compressor DSP?

3. Is there any way to debug what is going on?

---

<div class="post-metadata">

### Author: ![brett](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/brett/32/261_2.png) [@brett](https://qa.fmod.com/u/brett)
#### Post date: [October 19, 2016, 1:05am UTC](https://qa.fmod.com/t/using-fmod-dsp-parameter-sidechain-with-a-fmod-dsp-type-compressor/12752/2 "2016-10-19T01:05:01Z")

</div>

Hi ,  
The compressor is designed to catch peaks above the FMOD\_DSP\_COMPRESSOR\_THRESHOLD value, and compressed based on that.  
By default it is 0db max, so that it catches loud volumes (from a non sidechain perspective) and compresses the signal down to avoid clipping.

If you want to use it in a ducking fashion from another signal (ie sidechain), you would need to lower your threshold to something lower, ie you can start with -60 and it should work.
