Subscribe to our mailing list to get news, specials and updates:     Name: Email:
<-back

Diagnosing Audio Distortion Symptoms

2015-05-20 - Hauptwerk Technical

 AAAAAAaaaagh!!!! What happened?!! Your Hauptwerk system sounds like a car radio between stations when you play it. It's crunchy. Scratchy, It stutters like an electronic dance music starlet.

Is it your amplifiers? Audio interface? The operating system? Hauptwerk? Or is it some perfect storm of the all of these?

Good question! Great question! So, grab a beverage, relax and we'll work through it.

It should be noted that we're not talking about clicks and pops in your sound. Clicks and pops are a problem with your audio buffer or you have devices with mis-matched sample rates. For this article, we're talking about audio distortion. 

The Great Cure All

In general, if you are experiencing audio issues out of the blue, then your first course of action is to shut down all of your equipment and reboot the system. Chances are that doing so will fix the problem. If this fixes the problem, then it means the problem was most likely related to the driver for your audio card failing or the audio card itself having internal problems. So, a general reboot is the great cure all.

The Old "Birds and the Buzz" Talk

Way back in the stone age of 2008, I had a customer whose audio card just needed to be rebooted every so often. She had it plugged in and powered through her Firewire port. For whatever reason, that connection didn't survive the boot up process periodically. In that case, the solution was to power the unit using a power adapter instead of relying on the power from the Firewire port. We never figured out what actually caused the problems. We just found a workaround.

In lots of cases, you may never know what's causing it but you may find that doing a specific thing or doing things in a particular order makes your problem disappear. That's just the way it is...

If rebooting your system does not solve your audio issues, or this is a constant issue, you should probably check some other parameters. 


Social Distortion

To help to ferret out the cause, you need to understand that your Hauptwerk instrument is comprised of several different parts all working in concert to produce the overall sound.

The basic audio signal flow works like this:

Sample Set Samples > Hauptwerk > Audio Card > Amplifiers > Speakers/Headphones  

If you are wondering why I did not include your keyboards or other MIDI devices in the audio chain, please visit the "I Want A MIDI - Clarifying MIDI Misconceptions" article before moving on.

Theoretically, there could be distortion in the samples provided in your sample set. However, the chances of this are extremely remote and you would probably have heard about the problem already from others who own that particular sample set. Additionally, it would likely be limited to only a few, specific notes out of the thousands of pipe samples in the sample set. So, it's possible like it's possible to win the lottery.

There could also be a problem with the speakers. However, it's rare that a speaker would break unless there has been some obvious trauma to it. Also, it's likely that the problem would manifest itself in a single speaker rather than multiples (unless said trauma was common to all). So, if the problem only happens with one particular speaker, then this is worth pursuing but only after looking into my next point.

Turn That Thing Down!... Which One?

Part of the confusion with Hauptwerk audio signal chains comes from the fact that Hauptwerk, the audio card and the amplifiers each have their own volume and/or gain settings. Having one of those gains or volumes set too high is usually the culprit for consistent, ongoing audio distortion problems.

What to do? Start at the beginning of the chain. 

First in the chain is Hauptwerk itself. With Hauptwerk open, go to View > Large floating control panels > Audio, MIDI and Performance and open that panel.



Have a look at the Trim dB area. By default, Hauptwerk is set at -10dB. If it happens to be set at 0dB or +4dB, then we've probably found your problem. Try setting the trim back to -10dB and see if that fixes the distortion issue. This will drop the overall volume but don't worry about that right now. Chances are that this will fix your problem. If it does, then you have a few of choices for the overall volume:

  1. You can increase the volume slider (just above the Trim dB setting) if it's not already at 100. 
  2. You can try increasing the trim by 1db at a time until you hear distortion again (at which time you should decrease it by the amount of your last increase)
  3. You can adjust the output volume of your audio interface
  4. You can adjust the volume of your amplifier(s) or powered speakers
You should probably opt for #1 or #4. 

If your Trim dB was already set at -10 when you opened up the Audio, MIDI and Performance panel, or if you turn up the volume on Hauptwerk (after putting the trim back to -10dB) then we should move on to your audio interface and your amplifier.


Professional vs. Consumer

There are two basic kinds of audio gear (at least); consumer-grade and professional grade. Actually, there are quality spectrums within each of those groups as well. That's why you have 8-channel audio interfaces for $499 and 8-channel interfaces for $1899. Cheaper "professional" gear is sometimes referred to as "prosumer" gear. However, in general, there is consumer and pro.

The reason this is important is because consumer-grade electronics are set to receive incoming audio signals at -10dBV (remember the Hauptwerk default output Trim setting of -10dB?). "Professional" audio equipment is calibrated for +4dBu at 600 ohms resistance. 

For techies, you can read more about that here:  http://en.wikipedia.org/wiki/Line_level  

For the rest, what this means is this: if you go from a "professional" audio device (i.e a home studio audio interface) that is outputting +4dBu audio signals and you plug that into a consumer device (i.e your home theatre amplifier) which is looking for signals at -10dBV, you will be exponentially overloading the input of the amplifier by a whole lot. That overloading produces distortion. (Mumblecake did the math below. The difference would be a bit less than 12dB between consumer and pro-grade equipment once you convert all of the units. I originally said that there is a 14dB difference - it's still a lot)

So, have a look at your equipment. Check the specs. You may find that you have mismatched the output and inputs of your devices. 

If you have, then you need to reduce the output of the device with the higher output dB rating (example your audio interface) until you're no longer getting distortion coming out of the next device in the chain (example your amplifier). Once you are no longer getting distortion coming out, you can then increase the output volume of the second device (amplifier) to a comfortable level.

The Disclaimer

We should have fixed the issue by now. However, if we haven't, there is one more thing to check. See if your audio interface has it's own, independent audio settings panel. Check it's input gain (trim) and output volume like you did for Hauptwerk. Normally, when you set the trim and volume in Hauptwerk, those settings are transferred automatically to your interface. However, if you're still having problems, it's worth checking at this point. 

That's it

In a nutshell, that's it. These are the basics for how your audio output stream works and how to troubleshoot it.

To recap: Make sure you start adjusting starting with Hauptwerk and moving sequentially along the signal chain to the audio interface and then the amplifiers. If you do not, you will be endlessly frustrated and any slight change will upset whatever balance you accidentally acquire.




A PHP Error was encountered

Severity: Notice

Message: Undefined property: stdClass::$art_pl_link

Filename: articles/view_cat.php

Line Number: 110

Comments

You must Sign up or to comment.

Subscribe to get the latest articles and updates!