[Csnd] Print detected DC offset levels
Date | 2019-06-19 01:07 |
From | Peter Burgess |
Subject | [Csnd] Print detected DC offset levels |
Is there a way of examining a section of realtime audio and in some way printing the level of DC offset? I know we have DC filters, but I'm trying to figure out if a click issue I have with audio generated in an instr block could be in any way related to an unexpectedly introduced DC offset. It's almost certainly not, but it occured to me this is something I don't know if there's a tool for yet.
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
Pete |
Date | 2019-06-19 02:02 |
From | Pete Goodeve |
Subject | Re: [Csnd] Print detected DC offset levels |
Attachments | None |
Date | 2019-06-19 02:06 |
From | Michael Gogins |
Subject | Re: [Csnd] Print detected DC offset levels |
Save it to a file with fout. Then examine it with an editor. On Tue, Jun 18, 2019, 20:08 Peter Burgess <pete.soundtechnician@gmail.com> wrote:
|
Date | 2019-06-19 02:41 |
From | Peter Burgess |
Subject | Re: [Csnd] Print detected DC offset levels |
Yeah, fair enough guys. For the use case that's good enough to do it externally really. It's not something I intend to do repeatedly. Cheers to both of you for the quick/late night replies (if it is late night where you are?) Peter On Wed, 19 Jun 2019, 02:06 Michael Gogins, <michael.gogins@gmail.com> wrote:
|
Date | 2019-06-19 19:44 |
From | Justin Smith |
Subject | Re: [Csnd] Print detected DC offset levels |
Wouldn't the first bin in a dft contain a dc level? Smoothing that over time should give a decent estimation of offset. Perhaps via the pvs opcodes? On Tue, Jun 18, 2019 at 6:41 PM Peter Burgess |