logo

Live Production Software Forums


Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
wwdv  
#1 Posted : Saturday, July 23, 2016 5:41:46 PM(UTC)
wwdv

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.

kjones9999  
#2 Posted : Saturday, July 23, 2016 7:10:12 PM(UTC)
kjones9999

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?
wwdv  
#3 Posted : Saturday, July 23, 2016 7:28:51 PM(UTC)
wwdv

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.
kjones9999  
#4 Posted : Saturday, July 23, 2016 8:33:37 PM(UTC)
kjones9999

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?
SportsNetUSA.net  
#5 Posted : Saturday, July 23, 2016 9:10:03 PM(UTC)
SportsNetUSA.net

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.
Maximus  
#6 Posted : Saturday, July 23, 2016 10:46:48 PM(UTC)
Maximus

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
admin  
#7 Posted : Saturday, July 23, 2016 11:35:50 PM(UTC)
admin

Rank: Administration

Groups: Administrators
Joined: 1/13/2010(UTC)
Posts: 5,211
Man
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.
wwdv  
#8 Posted : Sunday, July 24, 2016 5:19:44 AM(UTC)
wwdv

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?



admin  
#9 Posted : Sunday, July 24, 2016 8:01:41 AM(UTC)
admin

Rank: Administration

Groups: Administrators
Joined: 1/13/2010(UTC)
Posts: 5,211
Man
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.
wwdv  
#10 Posted : Sunday, July 24, 2016 8:53:08 AM(UTC)
wwdv

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.



Users browsing this topic
Guest (3)
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.