Re: [Csnd] Issues with dcblock, dcblock2
Date | 2022-08-25 19:15 |
From | Scott Daughtrey |
Subject | Re: [Csnd] Issues with dcblock, dcblock2 |
It appears the 2 attachments didn't propagate correctly, why I don't know. But if you're curious to see them here are links: https://drive.google.com/file/d/1iONfYQZz1hypS9Z-wOLNnvuLXJURBSZI/view?usp=drivesdk https://drive.google.com/file/d/1iY8iAAZAfmNxEvB0NFcQi13M0pLD1j2R/view?usp=drivesdk 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 |
Date | 2022-08-29 17:29 |
From | Steven Yi |
Subject | Re: [Csnd] Issues with dcblock, dcblock2 |
Apologies for the delay in reply. As it is now I'm of the mindset that both are useful but have bigger caveats than I previously understood. dcblock2's usable range seems very limited with that rolloff starting well into bass range. I'll need to run some further investigation of dcblock though as that waveform is very different from what I expected. On Thu, Aug 25, 2022 at 2:15 PM Scott Daughtrey <stunes6556@gmail.com> wrote: It appears the 2 attachments didn't propagate correctly, why I don't know. But if you're curious to see them here are links: |
Date | 2022-08-30 12:58 |
From | Victor Lazzarini |
Subject | Re: [Csnd] [EXTERNAL] [Csnd] Issues with dcblock, dcblock2 |
Attachments | dcblock128.png dcblock512.png |
I’m going to drop my two cents. I can’t speak for dcblock, but I implemented dcblock2 from someone else’s paper (I thought I had noted the reference but I did not, I can’t recall the paper now, must search for it).
Its slope is dependent on the filter order. The default is 128, and can be increased. Of course, longer filters will take more computation and also there may be other issues to do with the steepness of the amplitude response (I need to think about
these, perhaps read the paper again since it’s been a long time).
To demonstrate this, see the amplitude responses for orders 128 and 512.
best
========================
Prof. Victor Lazzarini Maynooth University Ireland On 29 Aug 2022, at 17:29, Steven Yi <stevenyi@GMAIL.COM> wrote: |
Date | 2022-08-30 14:16 |
From | Victor Lazzarini |
Subject | Re: [Csnd] [EXTERNAL] [Csnd] Issues with dcblock, dcblock2 |
I *think* the dcblocker2 corresponds to the linear-phase filter in this text (by quickly comparing the code to it) https://www.iro.umontreal.ca/~mignotte/IFT3205/Documents/TipsAndTricks/DCBlockerAlgorithms.pdf but I don’t remember picking it from here. I thought this came from a DAFX paper, but I can’t find it. ======================== Prof. Victor Lazzarini Maynooth University Ireland > On 30 Aug 2022, at 12:58, Victor Lazzarini |
Date | 2022-08-30 14:33 |
From | John ff |
Subject | Re: [Csnd] [EXTERNAL] [Csnd] Issues with dcblock, dcblock2 |
dcblock is from Perry Cook coded by me. Just a simple hp filter
On 30 Aug 2022, at 12:59, Victor Lazzarini <victor.lazzarini@mu.ie> wrote:
|
Date | 2022-08-30 14:43 |
From | Victor Lazzarini |
Subject | Re: [Csnd] [EXTERNAL] [Csnd] Issues with dcblock, dcblock2 |
Actually, looking at the code, the impact on the CPU should be negligible if at all present. It’s only a longer delay, but the computation is the same. The effect is in the increased group delay, which may or may not be relevant. ======================== Prof. Victor Lazzarini Maynooth University Ireland > On 30 Aug 2022, at 14:16, Victor Lazzarini |
Date | 2022-08-30 16:27 |
From | Rory Walsh |
Subject | Re: [Csnd] [EXTERNAL] [Csnd] Issues with dcblock, dcblock2 |
Perhaps it came to you in a dream Victor? 🤣 On Tue 30 Aug 2022, 2:16 p.m. Victor Lazzarini, <Victor.Lazzarini@mu.ie> wrote: I *think* the dcblocker2 corresponds to the linear-phase filter in this text (by quickly comparing the code to it) |
Date | 2022-08-30 16:37 |
From | Victor Lazzarini |
Subject | Re: [Csnd] [EXTERNAL] [Csnd] Issues with dcblock, dcblock2 |
It might as well have been, it’s all a daze, Csound 5.09, don’t even know when that was. ======================== Prof. Victor Lazzarini Maynooth University Ireland > On 30 Aug 2022, at 16:27, Rory Walsh |