|
Post by jaba on Dec 8, 2022 16:15:18 GMT -6
DC offset distortion was mentioned in another thread (how some plug-ins are more/less susceptible to a signal that includes it) but I have to admit I have no idea what it sounds like.
I can see how it would cause a speaker to move oddly and therefore creating some distortion but how does this sound? How do you work around it?
|
|
|
Post by ironinthepath on Dec 8, 2022 17:57:05 GMT -6
DC offset means that the average value of the signal is not zero. If you have a high-pass (also known as low cut) filter before your converters (and they might be built into the actual converter itself, but unlikely) it should block essentially all DC from getting converted. In the above case only the DC imperfections of your ADC itself would remain (basically there is often a chip inside of each audio interface that ultimately does this conversion from analog to digital, in the vast vast majority of pro audio circuits it uses something called the sigma-delta technique - the companies that make these chips usually keep the offset to a minuscule value using "fully differential" circuits, etc.). So I think the main concern would be if you directly plug gear into your signal path that includes information down to DC (maybe a synthesizer). If any of this gear has offset it could make it into your audio file. Another place where it could come up would be a DC-coupled mic preamp or something - but anything that has transformers on the input and output should not be an issue. Although I have never come across a noticeable problem with this myself, if you suspect you have offset it could even be bad enough to be visible within quiet portions of your audio file: if the file peaks/valleys are not centered around zero that is evidence of offset. You should be able to remove the average value digitally (this might be a feature inside your DAW) before adding any susceptible plugins. I'd recommend doing this to a complete individual audio file/track not just a small portion of one (or a low frequency component that is incomplete could be mistaken for offset). In Cubase, for example, you can remove it rather easily (apparently): steinberg.help/cubase_pro_artist/v9/en/cubase_nuendo/topics/audio_processing_and_functions/audio_processing_remove_dc_offset_c.html(so that is how you might work around it, just remove it) If left in place, I don't know for sure, but if it's anything like an analog circuit (my area) a DC offset, especially after amplification, could push the average value of a signal closer to the positive or negative supply rail, so when the audio riding "on top of" the offset tries to swing too high or too low it could clip earlier, either on the max (or min) portion - this would be predominately 2nd harmonic. Before clipping comes a softer form of distortion associated with mildly non-linear behavior. With digital signals (not my area really) like in a DAW we just have lists of numbers (large integer numbers really) and I imagine that with floating point it's not really about "clipping" but rather due to trying to model analog non-linearity in the digital domain. The offset may impact the algorithm creating the "desirable distortion" (and result in undesirable distortion) . Another related set of issues could come up if a plugin were to use something called "the fourier transform" (FFT usually) in the background - if running in "real time" the FFT could only process a subset of the audio file and an offset could be mistaken by the transform as a purposeful low frequency component (if I recall, something called a "window" might be needed to handle issues like this in practice). But all of these details are the responsibility of the plugin designer and they may or may not have considered offset in the audio signal when creating the plugin. In my view, removing it means you don't have to worry about it either way.
|
|
|
Post by jaba on Dec 9, 2022 9:39:15 GMT -6
Thanks for such a detailed reply.
While I was aware of what DC offset was (more/less) I can't say I know what its distortion sounds like compared to other causes (if I were to hear distortion/coloration while mixing, I doubt I'd realize it was caused DC offset by the sound of it).
I do most of my tracking with consoles and transformered pres so perhaps it doesn't end up much in the stuff I'm working on. Said that, I do mix other people's tracks and recently mixed a project that was 98% electronic. Was there DC offset crud I missed? Maybe. Don't know really. But nothing was sounding "wrong" so...yay I guess.
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Dec 9, 2022 10:21:43 GMT -6
DC will cause transformer cores to saturate more quickly, speakers to blow, and a less open, murkier sound. Non-linear digital processes that produce aliasing can also introduce partials near dc that just be similarly removed with a high pass filter.
|
|
|
Post by EmRR on Dec 9, 2022 11:45:38 GMT -6
Spectrafoo has a 'remove DC offset' that's helpful when taking measurements, maybe Metric Halo offers this in their other products. Most DAW should have some sort of DC notch plug that you could scatter about liberally.
|
|
|
Post by jaba on Dec 9, 2022 12:22:42 GMT -6
Spectrafoo has a 'remove DC offset' that's helpful when taking measurements, maybe Metric Halo offers this in their other products. Most DAW should have some sort of DC notch plug that you could scatter about liberally. I use Cubase a lot and it has DC offset detection and removal if it ever rears its head. It's just never something I paid a ton of attention to but will definitely try and keep it in mind.
|
|
|
Post by svart on Dec 9, 2022 15:12:30 GMT -6
So the answer is multifold.
The first part is that DC offset itself is not causing the distortion.
If the DC offset plus the audio signal are not affected by the headroom of the circuit, then there is no resulting distortion. If the DC offset is high enough that the common-mode of the audio signal is affected by the headroom, then you'll have distortion.
Thinking about it in frequency-domain terms, you can think of DC as just another tone. If the amplitude of the tone is high enough, you'll get frequency mixing and the result will be harmonics at offsets equal to DC +/- the audio tone.
Either way, the fix has already been mentioned. A high pass filter of some type. You can AC couple or servo (very slow averaging circuit) an analog circuit. Digitally, the DC removal is similar to an averaging circuit but can allow more precision over time.
|
|
|
Post by Ward on Dec 9, 2022 16:18:20 GMT -6
DC ..... a less open, murkier sound. . Mmmm.... delicious murky sound. It's sacrilicious.
|
|
|
Post by jmoose on Dec 9, 2022 16:52:22 GMT -6
While I was aware of what DC offset was (more/less) I can't say I know what its distortion sounds like compared to other causes (if I were to hear distortion/coloration while mixing, I doubt I'd realize it was caused DC offset by the sound of it). Often a light, fizzy distortion that can sound somewhat like a quantization error or maybe bit reduction? Enough that you'd know something wasn't right... like a layer of glaze not a full on Borg assimilation. Last time I came across any significant amount of DC offset on a project could've been a decade ago? Came in for mix. The band tracked in a homebrew kinda setup. I know they had a transformer loaded console... so the mics hit iron but where it starts to get murky is that the console itself? Not in the best of condition. And since nobody in that group was really an "engineer type" - what I remember of the hookup? Lots of guitar cable strung about so probably some gain & impedance mis-matches? Balanced/unbal conversions blah blah. That said, almost everything had an offset. Drums? Every track. Guitars? Most. Seemed the only things that didn't have offset were vocals & some other bits where they used outboard preamps. Hmmm. I remember having a conversation with the group about it, and they were vaguely aware of "an issue" - in that things weren't totally sounding the way they expected... but also didn't have enough knowledge to really diagnose or deal with it themselves. Anyway. Mixed that one, like most everything else on a desk with all the side dishes. For the most part I did nothing to address the offset. Seemed the act of mixing & processing analog removed whatever was happening and there was no DC offset by the time it reached the 2 track. So this is not a problem? Best as I can figure? And I'm guessing here... but I think whatever happened on that one, the DC was baked in at the converter level. Because when I tried processing to remove offset? Headroom changed but the glaze remained. And since headroom was no concern and boy... there's a dozen songs here, hundreds of tracks... and really no sonic benefit? Let 'er rip! In this modern era I feel things largely sort themselves out... in that a lot of our digital processing options are smarter about removing & automatically applying corrections if needed. Filtering on the analog side of converters is also better then generations ago. And for the most part, almost everything in my shop is transformer coupled so it rarely has a chance to grab hold.
|
|
|
Post by yewtreemagic on Dec 9, 2022 19:09:38 GMT -6
DC will cause transformer cores to saturate more quickly, speakers to blow, and a less open, murkier sound. Non-linear digital processes that produce aliasing can also introduce partials near dc that just be similarly removed with a high pass filter. Occasionally this can be used to advantage by canny designers - here's a fascinating investigation of the Neve Portico 511 preamp: web.archive.org/web/20220520180228/http://koo.corpus.cam.ac.uk/rnd-portico-schematic/The text below is particularly interesting, especially since it was Dan giving me the heads-up that the Fuse Audio VQU-154 EQ is sensitive to DC offset. Sure enough a little DC offset added to taste at its input result in a large but pleasant increase in even harmonics. "The silk RED texture control, as turned up, applies an increasing DC bias offset of up to 0.6 volts to the primary of the output transformer. The primary is two windings in parallel with a resistance of 38 ohms, so the maximum standing current is 16 mA. This generates an even harmonic distortion arising from asymmetric core saturation."
|
|
|
Post by svart on Dec 10, 2022 10:45:40 GMT -6
While I was aware of what DC offset was (more/less) I can't say I know what its distortion sounds like compared to other causes (if I were to hear distortion/coloration while mixing, I doubt I'd realize it was caused DC offset by the sound of it). Often a light, fizzy distortion that can sound somewhat like a quantization error or maybe bit reduction? Enough that you'd know something wasn't right... like a layer of glaze not a full on Borg assimilation. Last time I came across any significant amount of DC offset on a project could've been a decade ago? Came in for mix. The band tracked in a homebrew kinda setup. I know they had a transformer loaded console... so the mics hit iron but where it starts to get murky is that the console itself? Not in the best of condition. And since nobody in that group was really an "engineer type" - what I remember of the hookup? Lots of guitar cable strung about so probably some gain & impedance mis-matches? Balanced/unbal conversions blah blah. That said, almost everything had an offset. Drums? Every track. Guitars? Most. Seemed the only things that didn't have offset were vocals & some other bits where they used outboard preamps. Hmmm. I remember having a conversation with the group about it, and they were vaguely aware of "an issue" - in that things weren't totally sounding the way they expected... but also didn't have enough knowledge to really diagnose or deal with it themselves. Anyway. Mixed that one, like most everything else on a desk with all the side dishes. For the most part I did nothing to address the offset. Seemed the act of mixing & processing analog removed whatever was happening and there was no DC offset by the time it reached the 2 track. So this is not a problem? Best as I can figure? And I'm guessing here... but I think whatever happened on that one, the DC was baked in at the converter level. Because when I tried processing to remove offset? Headroom changed but the glaze remained. And since headroom was no concern and boy... there's a dozen songs here, hundreds of tracks... and really no sonic benefit? Let 'er rip! In this modern era I feel things largely sort themselves out... in that a lot of our digital processing options are smarter about removing & automatically applying corrections if needed. Filtering on the analog side of converters is also better then generations ago. And for the most part, almost everything in my shop is transformer coupled so it rarely has a chance to grab hold. Any AC coupling in the signal path, even in the a/d converter input itself will remove DC offset.
|
|
|
Post by Ward on Dec 12, 2022 11:31:03 GMT -6
DC ..... a less open, murkier sound. . Mmmm.... delicious murky sound. It's sacrilicious. I take it that needed and explanation? DC Offset in Waves plugs can only be desctribed as: Useless, unmusical and hard on the ears. JMHO Prove me wrong!
|
|
|
Post by ironinthepath on Dec 12, 2022 15:53:33 GMT -6
DC will cause transformer cores to saturate more quickly, speakers to blow, and a less open, murkier sound. Non-linear digital processes that produce aliasing can also introduce partials near dc that just be similarly removed with a high pass filter. Occasionally this can be used to advantage by canny designers - here's a fascinating investigation of the Neve Portico 511 preamp: web.archive.org/web/20220520180228/http://koo.corpus.cam.ac.uk/rnd-portico-schematic/The text below is particularly interesting, especially since it was Dan giving me the heads-up that the Fuse Audio VQU-154 EQ is sensitive to DC offset. Sure enough a little DC offset added to taste at its input result in a large but pleasant increase in even harmonics. "The silk RED texture control, as turned up, applies an increasing DC bias offset of up to 0.6 volts to the primary of the output transformer. The primary is two windings in parallel with a resistance of 38 ohms, so the maximum standing current is 16 mA. This generates an even harmonic distortion arising from asymmetric core saturation." I think that from an EE perspective a purposeful "offset" or non-zero DC value (either current or voltage) that is desired is called the "bias". For an opamp or other similar feedback circuit we have something called a "virtual ground" or "virtual short" or "the summing node" and when the circuit is working properly with (negative) feedback applied (the resistors in place in the feedback network, etc.) - an input of 0V should map to an output of 0V (if you have no input signal you want there to be no output signal, including at DC, not just audio). The unwanted DC component is representative of error and called "offset voltage". The unwanted AC portion of the output (with 0V input) is called noise. We measure offset at the output of an amplifier with no input applied. Maybe, as an example, we measure 100mV DC at the output. If the amplifier had a gain factor of 100 set by the resistor ratio (this would like a 40dB gain setting on your mic preamp), we could come up with an equivalent "input referred offset" by working backwards to answer the question "if we measure 100mv at the output and the gain is 100x, what would be the equivalent input voltage to cause it?". It would be 100mV / 100 = 1mV of "input referred offset" for this example. This "offset" is an error and not the desired "bias" we would want. For the example here with an opamp it is usually caused by mismatch in the transistors inside the opamp circuit, amongst other things. Now what about Neve? Would it be better to call it an "offset" (an error) or a purposeful "bias"? I think we need to think about the transformer first. Any transformer used for audio will have a magnetic material for the core (air-core transformers exist but used more for radio-frequency circuits, some DC-DC power converters) since these "ferromagnetic" materials have much better magnetic properties at audio frequencies compared to air alone (look up "magnetic permeability" if interested). Also, ferromagnetic materials tend to keep the magnetic field concentrated inside the material itself unless overdriven (if the core is "saturated"), minimizing unwanted magnetic stray-fields for the unsaturated case. Transformer windings / cores are usually encased themselves in a metal "shielding" material of high permeability (mu-metal) which can help keep any remaining stray field from interacting with nearby circuitry (or more importantly, for input transformers, stop stray magnetic fields from being picked up as interference). The permeability of the magnetic material in the core (iron, steel, etc.) is actually a function of the magnetic field intensity and is actually directional (if interested look up transformer "hysteresis") -- from what I can gather a major part of the "Neve" sound is biasing the output transformer with a static magnetic field (caused by the current in the primary coil of the output transformer in the above quoted post). If I understand correctly this forces the AC signal, the audio, reaching the secondary to "hang out" (that's my term for "biasing" here) on one side of the transformer's B-H curve in a particular position, avoiding effects of hysteresis but with a "pleasing" non-linearity that creates musical harmonics - the choice of this position is purposeful, likely based on listening tests. This is apparently done in the 1073 style circuits too and I guess that those musical harmonics are just now called "silk" over at modern RND. Attachment DeletedEDIT - everything above is basically what the quoted post said but with more (hopefully not mistaken) detail. Below is probably the main point. So, this "bias current" to create our "bias magnetic field" originates on the primary side and only requires a "bias voltage" or "offset voltage" on the primary side. The transformer itself still operates on the principle of "induction" only and thus blocks DC offset on the secondary side. In other words, even with the Neve bias scheme, we should not measure any DC voltage ("offset") on the output side of the transformer (the secondary) which would go to your audio interface -- no offset issue with Neve in this sense. Sorry, I wish I was better at (attempting) to explain this with less words but I guess I'm not. Hopefully this is useful anyway to at least other person :-)
|
|
|
Post by yewtreemagic on Dec 13, 2022 19:45:01 GMT -6
Lots of great detail there, and I agree with all of it ironinthe path. However, the main reason I referred to a DC offset in this case (rather than a bias) is that we were originally discussing the effect of one plug-in on the next in a chain. A you rightly say, 'Bias' generally refers to a 'designed-in' value that aims in conjunction with all the other components of a hardware circuit, to get it performing as well as possible overall. Whereas in our case the plug-in in question (Fuse Audio Labs VQA-154 EQ) was susceptible to any 'stray' DC offset at its input (generally not intended, and certainly not 'designed-in') that occurs on the output of another plug-in, that in turn 'biases' the input of the following one. Does that cover my ass? (answers on a postcard please )
|
|
|
Post by ironinthepath on Dec 13, 2022 20:58:18 GMT -6
Lots of great detail there, and I agree with all of it ironinthe path. However, the main reason I referred to a DC offset in this case (rather than a bias) is that we were originally discussing the effect of one plug-in on the next in a chain. A you rightly say, 'Bias' generally refers to a 'designed-in' value that aims in conjunction with all the other components of a hardware circuit, to get it performing as well as possible overall. Whereas in our case the plug-in in question (Fuse Audio Labs VQA-154 EQ) was susceptible to any 'stray' DC offset at its input (generally not intended, and certainly not 'designed-in') that occurs on the output of another plug-in, that in turn 'biases' the input of the following one. Does that cover my ass? (answers on a postcard please ) Ha ha, I was just (in possibly the most confusing way possible) trying to distinguish between desirable and undesirable "offset", particularly on the analog side only - I completely agree that this whole thread was supposed to focus on offset that made it past the analog-to-digital conversion process (in the form of "ones and zeroes") and could potentially impact the sound of our plug-ins. I am all too familiar with analog offset (for my day job, not specifically audio) but it had never crossed my mind that plug-in sound quality could really be impacted by it until this thread (and the related one) -- definitely learned something there! -Chris
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Dec 13, 2022 22:31:29 GMT -6
Mmmm.... delicious murky sound. It's sacrilicious. I take it that needed and explanation? DC Offset in Waves plugs can only be desctribed as: Useless, unmusical and hard on the ears. JMHO Prove me wrong! A lot of it is not true DC offset but crazy aliasing in the sidechain making the vca do stupid things near dc.
|
|
|
Post by Ward on Dec 14, 2022 8:26:24 GMT -6
I take it that needed and explanation? DC Offset in Waves plugs can only be desctribed as: Useless, unmusical and hard on the ears. JMHO Prove me wrong! A lot of it is not true DC offset but crazy aliasing in the sidechain making the vca do stupid things near dc. Well there you go. Same basic unwanted noise just different explanation or description. Either way. Garbage. Speaking of Waves… I’m reluctant to buy the BB Beauty Beast thing… cos I’ll probably like it for 5 minutes and then hate it. But OTOH Still can’t believe it took me 8-9 years to throw the H Comp on a snare. It actually sounds like a real comp.
|
|
|
Post by ironinthepath on Dec 15, 2022 9:23:09 GMT -6
I played with the BB Tubes plugin yesterday for more than 5 minutes - still like it :-)
|
|