Is there a way to measure distortion/saturation?

Discussion in 'Mixing and Mastering' started by ziked, Jul 24, 2022.

  1. ziked

    ziked Producer

    Joined:
    Nov 30, 2019
    Messages:
    115
    Likes Received:
    107
    I've been fiddling with a VST synth (Charlatan) and noticed a preset sounded slightly distorted. It's two oscillators each have their own volume control, and there's a master volume control.

    It seemed to me that the oscillator volumes were too high which was causing some sort of distortion. I wanted to see it could be fixed, so I decided to match levels as best I could:
    1. (Audio) Lowering only Master Volume.
    2. (Audio) Lowering only the Oscillator volumes.
    So if you can hear it, the second version sounds 'clearer' while the first has some fuzz.

    But I'm wondering if some mastering plugin can show objectively if the signal is distorted, without having to rely on hearing which can be subjective. Or is this basically impossible?
     
  2.  
  3. xorome

    xorome Audiosexual

    Joined:
    Sep 28, 2021
    Messages:
    1,176
    Likes Received:
    860
    'Total Harmonic Distortion' - THD. Some tools (like Plugindoctor) can measure THD.

    MathAudio's THD Meter can do it for free, setting it up is a bit tedious though (https://mathaudio.com/thd-meter.htm)
     
    • Like Like x 1
    • Interesting Interesting x 1
    • List
  4. Sinus Well

    Sinus Well Audiosexual

    Joined:
    Jul 24, 2019
    Messages:
    2,112
    Likes Received:
    1,622
    Location:
    Sanatorium
    Yes. Use a spectrum analyzer or sonogram. Your DAW should already provide these plugins by default.
     
  5. No Avenger

    No Avenger Audiosexual

    Joined:
    Jul 19, 2017
    Messages:
    9,127
    Likes Received:
    6,367
    Location:
    Europe
    ATME, PD can't run synths.

    I doubt that an analyzer or a spectrometer would help. I dl'ed both files, noticed an audible difference but neither of these tools helped me to see that one file has more audible distortion. The visual difference could aswell be caused by a higher RMS or something else.
     
    Last edited: Jul 24, 2022
  6. ziked

    ziked Producer

    Joined:
    Nov 30, 2019
    Messages:
    115
    Likes Received:
    107
    It would be tough to see the effects in a spectrum analyzer. Perhaps some high frequency boost from the distortion but that can also show from an EQ boost or exciter (air band etc).

    Best way I can see the distortion is through a high res spectrogram zoomed in:

    [​IMG]

    Red arrow is the point where some artifact occurs in the distorted version, which does not exist in the clean version. Seems to line up with the peak of the filter envelope, and is mostly affected by resonance amount.
     
    • Like Like x 1
    • Dislike Dislike x 1
    • Interesting Interesting x 1
    • List
  7. phumb-reh

    phumb-reh Guest

    Sounds like the signal is being clipped somewhere along the synth's internal signal flow. As resonance adds gain it's highly likely it's distorting there. I'd go with lowering the oscs volume.
     
  8. orbitbooster

    orbitbooster Audiosexual

    Joined:
    Jan 8, 2018
    Messages:
    1,125
    Likes Received:
    626
    AFAIK Spectrograms won't help much in understandig the source of the problem in harm. distortion, except in clipping, clearly visible.

    THD meters don't use music or generic audio material, though it's theoretically possible knowing infinitesimally the reference.
    A pure clean sine reference at freq. f is fed through the unit under test, the output is read filtering out the fundamental, the remaining partials/harmonics energy is part of the harmonic distortion.
    Then f is sweeped/increased and all new energy results are root mean squared with the others, giving the THD.

    For VST shoud be the same principle: provide clean sine at differet freqs, feed through VST under test, read result with VST THD meter (that I didn't even know to exist in the VST realm, I'll have a look).
     
    Last edited: Jul 25, 2022
  9. No Avenger

    No Avenger Audiosexual

    Joined:
    Jul 19, 2017
    Messages:
    9,127
    Likes Received:
    6,367
    Location:
    Europe
    As I said, you can see a difference (btw even in an analyzer) but can you identify this as distortion just by looking at it???
     
  10. Sinus Well

    Sinus Well Audiosexual

    Joined:
    Jul 24, 2019
    Messages:
    2,112
    Likes Received:
    1,622
    Location:
    Sanatorium
    Yes! By definition, what is visible there is distortion. The question is, what kind of distortion are we dealing with and what exactly triggers it?
    And here I agree with you, the sonogram does not help us.
     
Loading...
Similar Threads - measure distortion saturation Forum Date
Measured Volume out limiter for Headphones - has someone made it? Software Sep 16, 2024
DIY Studio Desk: need help looking for plans, measurements and tips. Studio Feb 9, 2024
how is dynamic range measured? Working with Sound Aug 18, 2022
Reliable sound meter wanted (decibel measurement) Lounge Jun 8, 2022
VST For Measurement BPM From Audio? Software Mar 9, 2021
Loading...