Csound Csound-dev Csound-tekno Search About

[Csnd] dcblock/dcblock2

Date2010-09-28 13:44
FromIain McCurdy
Subject[Csnd] dcblock/dcblock2
dcblock2 is described as a more effective dc filter than dcblock but the test below seems to contradict this. Is there any reason for this? Thanks, Iain.

<CsoundSynthesizer>

<CsOptions>
-odcblock.wav
</CsOptions>

<CsInstruments>

sr = 44100
ksmps = 10
nchnls = 1
0dbfs = 1

instr 1
a1 pinkish 0.2
a1 streson a1,60,0.95
a1 dcblock a1
out a1
endin

instr 2
a1 pinkish 0.2
a1 streson a1,60,0.95
a1 dcblock2 a1
out a1
endin

</CsInstruments>
<CsScore>
i 1 0 10;dcblock
i 2 10 10;dcblock2
e
</CsScore>
</CsoundSynthesizer>


Date2010-09-28 13:56
FromVictor Lazzarini
Subject[Csnd] Re: dcblock/dcblock2
Not sure, the two outputs look correct to me. Now, I know there was a bug with dcblock2 which I spotted sometime I don't remember when, but I fixed it.
Maybe that is the difference? I am using a newish CVS build.

Victor


On 28 Sep 2010, at 13:44, Iain McCurdy wrote:

dcblock2 is described as a more effective dc filter than dcblock but the test below seems to contradict this. Is there any reason for this? Thanks, Iain.

<CsoundSynthesizer>

<CsOptions>
-odcblock.wav
</CsOptions>

<CsInstruments>

sr = 44100
ksmps = 10
nchnls = 1
0dbfs = 1

instr 1
a1 pinkish 0.2
a1 streson a1,60,0.95
a1 dcblock a1
out a1
endin

instr 2
a1 pinkish 0.2
a1 streson a1,60,0.95
a1 dcblock2 a1
out a1
endin

</CsInstruments>
<CsScore>
i 1 0 10;dcblock
i 2 10 10;dcblock2
e
</CsScore>
</CsoundSynthesizer>



Date2010-09-28 14:49
FromIain McCurdy
Subject[Csnd] RE: Re: dcblock/dcblock2
Attachmentsdcblockdcblock2.jpg  
Thanks Victor. It seems to be a Windows thing. As you mentioned, output looks fine on Mac. Attached is the output on windows ver 5.12 doubles prebuilt.
I.

________________________________
> From: Victor.Lazzarini@nuim.ie
> To: csound@lists.bath.ac.uk
> Date: Tue, 28 Sep 2010 13:56:11 +0100
> Subject: [Csnd] Re: dcblock/dcblock2
>
> Not sure, the two outputs look correct to me. Now, I know there was a
> bug with dcblock2 which I spotted sometime I don't remember when, but I
> fixed it.
> Maybe that is the difference? I am using a newish CVS build.
>
> Victor
>
>
> On 28 Sep 2010, at 13:44, Iain McCurdy wrote:
>
> dcblock2 is described as a more effective dc filter than dcblock but
> the test below seems to contradict this. Is there any reason for this?
> Thanks, Iain.
>
>
>
>
> -odcblock.wav
>
>
>
>
> sr = 44100
> ksmps = 10
> nchnls = 1
> 0dbfs = 1
>
> instr 1
> a1 pinkish 0.2
> a1 streson a1,60,0.95
> a1 dcblock a1
> out a1
> endin
>
> instr 2
> a1 pinkish 0.2
> a1 streson a1,60,0.95
> a1 dcblock2 a1
> out a1
> endin
>
>
>
> i 1 0 10;dcblock
> i 2 10 10;dcblock2
> e
>
>
>
>
 		 	   		  
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"


Date2010-09-28 15:03
FromVictor Lazzarini
Subject[Csnd] Re: RE: Re: dcblock/dcblock2
Maybe it's been fixed post-5.12.

Victor
On 28 Sep 2010, at 14:49, Iain McCurdy wrote:

>
> Thanks Victor. It seems to be a Windows thing. As you mentioned,  
> output looks fine on Mac. Attached is the output on windows ver 5.12  
> doubles prebuilt.
> I.
>
> ________________________________
>> From: Victor.Lazzarini@nuim.ie
>> To: csound@lists.bath.ac.uk
>> Date: Tue, 28 Sep 2010 13:56:11 +0100
>> Subject: [Csnd] Re: dcblock/dcblock2
>>
>> Not sure, the two outputs look correct to me. Now, I know there was a
>> bug with dcblock2 which I spotted sometime I don't remember when,  
>> but I
>> fixed it.
>> Maybe that is the difference? I am using a newish CVS build.
>>
>> Victor
>>
>>
>> On 28 Sep 2010, at 13:44, Iain McCurdy wrote:
>>
>> dcblock2 is described as a more effective dc filter than dcblock but
>> the test below seems to contradict this. Is there any reason for  
>> this?
>> Thanks, Iain.
>>
>>
>>
>>
>> -odcblock.wav
>>
>>
>>
>>
>> sr = 44100
>> ksmps = 10
>> nchnls = 1
>> 0dbfs = 1
>>
>> instr 1
>> a1 pinkish 0.2
>> a1 streson a1,60,0.95
>> a1 dcblock a1
>> out a1
>> endin
>>
>> instr 2
>> a1 pinkish 0.2
>> a1 streson a1,60,0.95
>> a1 dcblock2 a1
>> out a1
>> endin
>>
>>
>>
>> i 1 0 10;dcblock
>> i 2 10 10;dcblock2
>> e
>>
>>
>>
>>
> 		 	   		
> 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"
>
> 



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"