Csound Csound-dev Csound-tekno Search About

[Csnd] Strange issue with pareq

Date2013-07-19 07:57
Fromlppier
Subject[Csnd] Strange issue with pareq
Hi, 

I'm using pareq to do a parametric volume cut 

keqfreq chnget "eqFreq"
keqgain chnget	 "eqGain"
keqq	   chnget	 "eqQ"
ga1 pareq ga1, keqfreq, keqgain, keqq

The manual says this :

ares pareq asig, kc, kv, kq [, imode] [, iskip]
kc -- center frequency in peaking mode, corner frequency in shelving mode. 
kv -- amount of boost or cut. A value less than 1 is a cut. A value greater
than 1 is a boost. A value of 1 is a flat response. 
kq -- Q of the filter (sqrt(.5) is no resonance) 
asig -- the incoming signal 

My range for keqgain is from -20 to 20. The boost works okay. 
However when I want to cut the volume at this frequency, and have keqgain at
-20. It doesn't seem to cut the volume at that freq. In fact it seems to be
boosting as well to my ears. 

Am I using this opcode wrongly? 

Many thanks. 



--
View this message in context: http://csound.1045644.n5.nabble.com/Strange-issue-with-pareq-tp5725779.html
Sent from the Csound - General mailing list archive at Nabble.com.

Date2013-07-19 08:44
FromPier
SubjectRe: [Csnd] Strange issue with pareq
It's ok I solved it - I need to do this 
keqgain = ampdb(keqgain)

On 19 Jul, 2013, at 2:57 PM, lppier  wrote:

> Hi, 
> 
> I'm using pareq to do a parametric volume cut 
> 
> keqfreq chnget "eqFreq"
> keqgain chnget	 "eqGain"
> keqq	   chnget	 "eqQ"
> ga1 pareq ga1, keqfreq, keqgain, keqq
> 
> The manual says this :
> 
> ares pareq asig, kc, kv, kq [, imode] [, iskip]
> kc -- center frequency in peaking mode, corner frequency in shelving mode. 
> kv -- amount of boost or cut. A value less than 1 is a cut. A value greater
> than 1 is a boost. A value of 1 is a flat response. 
> kq -- Q of the filter (sqrt(.5) is no resonance) 
> asig -- the incoming signal 
> 
> My range for keqgain is from -20 to 20. The boost works okay. 
> However when I want to cut the volume at this frequency, and have keqgain at
> -20. It doesn't seem to cut the volume at that freq. In fact it seems to be
> boosting as well to my ears. 
> 
> Am I using this opcode wrongly? 
> 
> Many thanks. 
> 
> 
> 
> --
> View this message in context: http://csound.1045644.n5.nabble.com/Strange-issue-with-pareq-tp5725779.html
> Sent from the Csound - General mailing list archive at Nabble.com.
> 
> 
> Send bugs reports to the Sourceforge bug tracker
>            https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>