Csound Csound-dev Csound-tekno Search About

Bass click caused by compress

Date2016-05-06 15:34
FromPeter Burgess
SubjectBass click caused by compress
I've discovered yesterday that the compressor (compress2) that I have
on my bass for sidechain compression is causing a horrible click at
the start of each bass note. Anyone know why that is, and how I might
be able to stop it?

Pete

Date2016-05-06 15:48
FromSteven Yi
SubjectRe: Bass click caused by compress
Hard to tell without knowing what settings you are using. Could you post that?

On Fri, May 6, 2016 at 10:34 AM, Peter Burgess
 wrote:
> I've discovered yesterday that the compressor (compress2) that I have
> on my bass for sidechain compression is causing a horrible click at
> the start of each bass note. Anyone know why that is, and how I might
> be able to stop it?
>
> Pete
>
> --
> http://algorythmradio.com
> https://soundcloud.com/algorythmradio
>
> Csound mailing list
> Csound@listserv.heanet.ie
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
> Send bugs reports to
>         https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2016-05-06 15:54
FromPeter Burgess
SubjectRe: Bass click caused by compress
icompThresh init -80.5
icompLoknee init -20
icompHiknee init -20
icompRatio  init  16
icompAtt     init  0.001
icompDec     init  0.01
ablank init 1
asideL compress2 aoscSubDclkL, gaKickSide, icompThresh, icompLoknee,
icompHiknee, icompRatio, icompAtt, icompDec, 0
asideR compress2 aoscSubDclkR, gaKickSide, icompThresh, icompLoknee,
icompHiknee, icompRatio, icompAtt, icompDec, 0


I've changed the threshold up and down a fair bit, to be honest, this
opcode still confuses me. The threshold and the knees in particular.
It seems the knees act like a combination of both threshold and knee
from an average compressor pluggin, and the threshold mainly only
affects anything when using sidechain compression... is that anywhere
close to how this works?

On Fri, May 6, 2016 at 3:48 PM, Steven Yi  wrote:
> Hard to tell without knowing what settings you are using. Could you post that?
>
> On Fri, May 6, 2016 at 10:34 AM, Peter Burgess
>  wrote:
>> I've discovered yesterday that the compressor (compress2) that I have
>> on my bass for sidechain compression is causing a horrible click at
>> the start of each bass note. Anyone know why that is, and how I might
>> be able to stop it?
>>
>> Pete
>>
>> --
>> http://algorythmradio.com
>> https://soundcloud.com/algorythmradio
>>
>> Csound mailing list
>> Csound@listserv.heanet.ie
>> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
>> Send bugs reports to
>>         https://github.com/csound/csound/issues
>> Discussions of bugs and features can be posted here
>
> Csound mailing list
> Csound@listserv.heanet.ie
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
> Send bugs reports to
>         https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here


Date2016-05-07 02:07
FromAlex Weiss
SubjectRe: Bass click caused by compress
I haven't tried your code, but 0.001s seems to be way too low of an attack time for a bass signal -- especially when combined with such a high ratio.

Alex

On Fri, May 6, 2016 at 7:54 AM Peter Burgess <pete.soundtechnician@gmail.com> wrote:
icompThresh init -80.5
icompLoknee init -20
icompHiknee init -20
icompRatio  init  16
icompAtt     init  0.001
icompDec     init  0.01
ablank init 1
asideL compress2 aoscSubDclkL, gaKickSide, icompThresh, icompLoknee,
icompHiknee, icompRatio, icompAtt, icompDec, 0
asideR compress2 aoscSubDclkR, gaKickSide, icompThresh, icompLoknee,
icompHiknee, icompRatio, icompAtt, icompDec, 0


I've changed the threshold up and down a fair bit, to be honest, this
opcode still confuses me. The threshold and the knees in particular.
It seems the knees act like a combination of both threshold and knee
from an average compressor pluggin, and the threshold mainly only
affects anything when using sidechain compression... is that anywhere
close to how this works?

On Fri, May 6, 2016 at 3:48 PM, Steven Yi <stevenyi@gmail.com> wrote:
> Hard to tell without knowing what settings you are using. Could you post that?
>
> On Fri, May 6, 2016 at 10:34 AM, Peter Burgess
> <pete.soundtechnician@gmail.com> wrote:
>> I've discovered yesterday that the compressor (compress2) that I have
>> on my bass for sidechain compression is causing a horrible click at
>> the start of each bass note. Anyone know why that is, and how I might
>> be able to stop it?
>>
>> Pete
>>
>> --
>> http://algorythmradio.com
>> https://soundcloud.com/algorythmradio
>>
>> Csound mailing list
>> Csound@listserv.heanet.ie
>> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
>> Send bugs reports to
>>         https://github.com/csound/csound/issues
>> Discussions of bugs and features can be posted here
>
> Csound mailing list
> Csound@listserv.heanet.ie
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
> Send bugs reports to
>         https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here



--
http://algorythmradio.com
https://soundcloud.com/algorythmradio

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Date2016-05-07 10:30
FromPeter Burgess
SubjectRe: Bass click caused by compress
Maybe so, although I've used the same attack time and ratio settings
on the compressor in bitwig studio, and ran the exact same signal
through it with no problems. It's also happening when there isn't any
sidechain signal besides a constant that I have set. I have just been
playing around with the sidechain constant, with values between 0 and
1, and the theshold and knees with values between -90 and 0. I can't
seem to find anything that works properly. I've also just tried an
attack and decay of 0.1 with various settings, and I still get the
click.

If you have the sidechain constant too low, no signal gets through at
all, no matter what the theshold and knee settings are, but if the
sidecahin constant is too high, then the signal should be constantly
compressed right? It seems that with any setting that allows sound
through, I get that click, no matter how I set the knees and
threshold.

Just to make sure I'm understanding correctly, the threshold
determines how high the sidechain signals amplitude needs to be to
start causing compression right? Which way round is it, lower
thresholds are more sensitive? I'm getting very confused when
adjusting the sidechain signal level and threshold, it's feeling like
it's working backwards.

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here