<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof">
This tends to imply you have an A-D convertor in the chain. This will affect the step impulse you want to use for calibration possibly more than the capacitors. You will also need to roll off your correction filter before you get to DC - there's a lot of
crap around at <10Hz which if this is music/voice you won't want. <br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof">
Conversely if it's geological audio or something like that, I'd suggest a different mic system that is dc coupled :-)<br>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Synth-diy <synth-diy-bounces@synth-diy.org> on behalf of Didrik Madheden via Synth-diy <synth-diy@synth-diy.org><br>
<b>Sent:</b> 11 December 2022 14:49<br>
<b>To:</b> SDIY List <synth-diy@synth-diy.org><br>
<b>Subject:</b> [sdiy] Removing the effect of a DC blocking filter through DSP</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">Today the thing I'm tasked with is that I have some audio recorded<br>
through a setup containing one or more DC blocking caps, and would<br>
like to recover the unaffected audio. In principle, this could<br>
potentially be fairly simple depending on the circuit: model a 1 pole<br>
HP filter and run it backwards. Of course, the issue is that you would<br>
be integrating over a fairly long period of time (in my case I'd need<br>
to do it over multiple seconds) and the output is likely to diverge<br>
easily. I'm able to produce a step function from this system as a<br>
reference.<br>
<br>
Before I roll up my sleeves and try to code something myself, is there<br>
any project or code examples that does exactly this, in particular<br>
automating or visualizing the trimming of the parameters needed to<br>
avoid divergence? In the ideal case, such a software might have a<br>
waveform view where I can select part of the reference waveform that's<br>
silent, for extracting a corrective DC offset, and the pulse of my<br>
reference step function, for extracting the filter parameters, and out<br>
comes the parameters I need.<br>
<br>
-- <br>
/Didrik<br>
_______________________________________________<br>
Synth-diy mailing list<br>
Synth-diy@synth-diy.org<br>
<a href="http://synth-diy.org/mailman/listinfo/synth-diy">http://synth-diy.org/mailman/listinfo/synth-diy</a><br>
Selling or trading? Use marketplace@synth-diy.org<br>
</div>
</span></font></div>
</body>
</html>