vMix Forums
»
General
»
General Discussion
»
Gain and audio distortion in broadcast and recording
Rank: Advanced Member
Groups: Registered
Joined: 10/30/2013(UTC) Posts: 290 Location: The Netherlands
Thanks: 6 times Was thanked: 21 time(s) in 15 post(s)
|
I've got an issue with the gain in general audio settings.
To avoid clipping I decreased the level of my soundcard to -6dB max. To compensate this and have some extra volume in the broadcasts I increased the gain setting to +9dB in vMix (soundcard level in vMix is 0dB).
But now my broadcasts (FMLE and FFMPEG) have distorted audio when the dB meter in vMix shows 0dB. (I can not hear any distortion on my headphone on the PC's speaker output)
The soundcards input is not clipping at all. How is this possible? I thought that the gain in vMix only compensate for a low source volume and can't increase overall volumes beyond 0db, so why the distortion?
Unfortunately there is only a make up gain so I can't gain first and then use the compressor to limit to -1dB.
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 8/20/2014(UTC) Posts: 388
Thanks: 29 times Was thanked: 80 time(s) in 51 post(s)
|
We really need to know the source and a little more detail, but is entirely possible to overdrive audio while registering 0db if the source is overdriven prior to the soundcard.
Can you give us more detail?
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 10/30/2013(UTC) Posts: 290 Location: The Netherlands
Thanks: 6 times Was thanked: 21 time(s) in 15 post(s)
|
The source is a CD player with a standard line output connected to a Realtek ALC888 onboard soundcard (level 40%). There is a passive Nano patch volume attenuator (set to 50%) between the two devices.
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 8/20/2014(UTC) Posts: 388
Thanks: 29 times Was thanked: 80 time(s) in 51 post(s)
|
I assume mic input?
What does it sound like prior to starting vmix?
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 10/7/2015(UTC) Posts: 635 Location: California
Thanks: 122 times Was thanked: 123 time(s) in 115 post(s)
|
Quote:To avoid clipping I decreased the level of my soundcard to -6dB max. To compensate this and have some extra volume in the broadcasts I increased the gain setting to +9dB in vMix (soundcard level in vMix is 0dB). How does the audio sound if you do not increase the gain in vMix to +9dB? Have you tried using a USB soundcard/device with a Line Level input? Line level sources going into mic level inputs can cause an impedance mismatch resulting in distorted audio. As kjones9999 mentioned you can have over-driven, distorted audio even while registering 0db or below.
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 10/25/2012(UTC) Posts: 178 Location: Barbados
Thanks: 2 times Was thanked: 24 time(s) in 24 post(s)
|
It is not clear from your description but you may be putting CD output into a mic input. CD output needs to go to a Line input. On most built in Audio Interfaces it is BLUE, Microphone is RED.
Check that out.
Maxi
|
|
|
|
Rank: Administration
Groups: Administrators
Joined: 1/13/2010(UTC) Posts: 5,211 Location: Gold Coast, Australia Was thanked: 4301 time(s) in 1523 post(s)
|
wwdv, can you confirm you are running the latest vMix 17 update? There was a bug a few months back where the gain on recording and streaming ended up being higher than what is heard on the headphones.
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 10/30/2013(UTC) Posts: 290 Location: The Netherlands
Thanks: 6 times Was thanked: 21 time(s) in 15 post(s)
|
I'm running vMix 17.0.0.105 (Win7 32bit) and using the line input, not the mic input. Without gain the broadcast sounds OK but then the sound level is too low. (because of the low input level to avoid clipping) With maximum gain, the PC's line output (and headphone) sounds still OK, but the broadcast and the recording are distorted. I tried also the Automatic Gain Control and then there is still a little bit distortion. I tested an Audio Genie Pro USB soundcard with the same results. SportsNetUSA.net wrote:Quote:As kjones9999 mentioned you can have over-driven, distorted audio even while registering 0db or below. Can you explain me how this is possible when there is no clipping? And why is the headphone sounding still OK?
|
|
|
|
Rank: Administration
Groups: Administrators
Joined: 1/13/2010(UTC) Posts: 5,211 Location: Gold Coast, Australia Was thanked: 4301 time(s) in 1523 post(s)
|
I think I see what might be happening.
Once the audio is received from the audio driver (at whatever format the driver provides) it is immediately converted to 32bit floating point for all processing in vMix.
With floating point audio you can increase audio above 0dB from within vMix and it won't distort. But things like streaming require standard 16bit PCM audio, so it is converted back to that format and that is when the distortion might show up.
The sound card may also accept floating point audio which is why it is not distorted there.
To solve this, check the dB level in vMix making sure it doesn't peak above -1dB as a safe level and the distortion should go away.
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 10/30/2013(UTC) Posts: 290 Location: The Netherlands
Thanks: 6 times Was thanked: 21 time(s) in 15 post(s)
|
OK thanks, that will explain things.
|
|
|
|
vMix Forums
»
General
»
General Discussion
»
Gain and audio distortion in broadcast and recording
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.
Important Information:
The vMix Forums uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close