[jitsi-dev] Audio distortion in Jitsi on windows 7


#1

Hi,

Recently I have started to notice that Jitsi seems to distort audio going
to the headset or speakers of the PC user.

To provide a scenario that has occurred today:

*Freeswitch conference bridge
*2 x Yealink hard phones connect to bridge.
*2 x Jitsi soft phones connect to bridge.

When a Yealink user speaks loudly the sound is distorted for the Jitsi
users, but not for the other Yealink user.

Also I have noticed when Jitsi dials into an IVR on Freeswitch and plays a
wav file the sound is also distorted if the wav file is loud in parts.

It sounds like the sound is being clipped, does anyone know what would be
causing this? I don't remember it happening in V1 Jitsi.

Thanks
Tom


#2

Hey Tom,

Could it be that you up-ed the Jitsi volume of your speakers at some
point? We do stream amplification for incoming flows so the effect would
be similar to what you describe. Can you try taking it down a notch?
(You get a slider when you click on the speaker button to the left of
the audio levels).

Cheers,
Emil

···

On 30.01.13, 16:38, Tom Parrott wrote:

Hi,

Recently I have started to notice that Jitsi seems to distort audio going
to the headset or speakers of the PC user.

To provide a scenario that has occurred today:

*Freeswitch conference bridge
*2 x Yealink hard phones connect to bridge.
*2 x Jitsi soft phones connect to bridge.

When a Yealink user speaks loudly the sound is distorted for the Jitsi
users, but not for the other Yealink user.

Also I have noticed when Jitsi dials into an IVR on Freeswitch and plays a
wav file the sound is also distorted if the wav file is loud in parts.

It sounds like the sound is being clipped, does anyone know what would be
causing this? I don't remember it happening in V1 Jitsi.

Thanks
Tom

--
https://jitsi.org


#3

Hi Emil,

Thanks for the suggestion, I have tried turning it down to 1 notch above
silent, but the clipping still occurs, albeit it quieter.

It's also happening on two different PCs with different versions of the
nightly build, one of them (mine) is bang up-to-date (1.1.4450.10402) and
the other is a few weeks old (1.1.4392.10245).

We are both using the G722 codec, although it still happens when using PCMU.

Thanks
Tom

···

Hey Tom,

Could it be that you up-ed the Jitsi volume of your speakers at some
point? We do stream amplification for incoming flows so the effect would
be similar to what you describe. Can you try taking it down a notch?
(You get a slider when you click on the speaker button to the left of
the audio levels).

Cheers,
Emil

On 30.01.13, 16:38, Tom Parrott wrote:

Hi,

Recently I have started to notice that Jitsi seems to distort audio
going
to the headset or speakers of the PC user.

To provide a scenario that has occurred today:

*Freeswitch conference bridge
*2 x Yealink hard phones connect to bridge.
*2 x Jitsi soft phones connect to bridge.

When a Yealink user speaks loudly the sound is distorted for the Jitsi
users, but not for the other Yealink user.

Also I have noticed when Jitsi dials into an IVR on Freeswitch and plays
a
wav file the sound is also distorted if the wav file is loud in parts.

It sounds like the sound is being clipped, does anyone know what would
be
causing this? I don't remember it happening in V1 Jitsi.

Thanks
Tom

--
https://jitsi.org


#4

Actually, I take that back, the audio distortion is a lot better with PCMU
rather than G722.

···

Hi Emil,

Thanks for the suggestion, I have tried turning it down to 1 notch above
silent, but the clipping still occurs, albeit it quieter.

It's also happening on two different PCs with different versions of the
nightly build, one of them (mine) is bang up-to-date (1.1.4450.10402) and
the other is a few weeks old (1.1.4392.10245).

We are both using the G722 codec, although it still happens when using
PCMU.

Thanks
Tom

Hey Tom,

Could it be that you up-ed the Jitsi volume of your speakers at some
point? We do stream amplification for incoming flows so the effect would
be similar to what you describe. Can you try taking it down a notch?
(You get a slider when you click on the speaker button to the left of
the audio levels).

Cheers,
Emil

On 30.01.13, 16:38, Tom Parrott wrote:

Hi,

Recently I have started to notice that Jitsi seems to distort audio
going
to the headset or speakers of the PC user.

To provide a scenario that has occurred today:

*Freeswitch conference bridge
*2 x Yealink hard phones connect to bridge.
*2 x Jitsi soft phones connect to bridge.

When a Yealink user speaks loudly the sound is distorted for the Jitsi
users, but not for the other Yealink user.

Also I have noticed when Jitsi dials into an IVR on Freeswitch and
plays
a
wav file the sound is also distorted if the wav file is loud in parts.

It sounds like the sound is being clipped, does anyone know what would
be
causing this? I don't remember it happening in V1 Jitsi.

Thanks
Tom

--
https://jitsi.org


#5

Its OK with OPUS too, seems G722 decoding is problematic at higher volumes.

···

Hi Emil,

Thanks for the suggestion, I have tried turning it down to 1 notch above
silent, but the clipping still occurs, albeit it quieter.

It's also happening on two different PCs with different versions of the
nightly build, one of them (mine) is bang up-to-date (1.1.4450.10402) and
the other is a few weeks old (1.1.4392.10245).

We are both using the G722 codec, although it still happens when using
PCMU.

Thanks
Tom

Hey Tom,

Could it be that you up-ed the Jitsi volume of your speakers at some
point? We do stream amplification for incoming flows so the effect would
be similar to what you describe. Can you try taking it down a notch?
(You get a slider when you click on the speaker button to the left of
the audio levels).

Cheers,
Emil

On 30.01.13, 16:38, Tom Parrott wrote:

Hi,

Recently I have started to notice that Jitsi seems to distort audio
going
to the headset or speakers of the PC user.

To provide a scenario that has occurred today:

*Freeswitch conference bridge
*2 x Yealink hard phones connect to bridge.
*2 x Jitsi soft phones connect to bridge.

When a Yealink user speaks loudly the sound is distorted for the Jitsi
users, but not for the other Yealink user.

Also I have noticed when Jitsi dials into an IVR on Freeswitch and
plays
a
wav file the sound is also distorted if the wav file is loud in parts.

It sounds like the sound is being clipped, does anyone know what would
be
causing this? I don't remember it happening in V1 Jitsi.

Thanks
Tom

--
https://jitsi.org


#6

Is that happening from Jitsi to Jitsi too? Or does it only occur when
you have a hardphone involved?

Emil

···

On 30.01.13, 18:23, Tom Parrott wrote:

Its OK with OPUS too, seems G722 decoding is problematic at higher volumes.

Hi Emil,

Thanks for the suggestion, I have tried turning it down to 1 notch above
silent, but the clipping still occurs, albeit it quieter.

It's also happening on two different PCs with different versions of the
nightly build, one of them (mine) is bang up-to-date (1.1.4450.10402) and
the other is a few weeks old (1.1.4392.10245).

We are both using the G722 codec, although it still happens when using
PCMU.

Thanks
Tom

Hey Tom,

Could it be that you up-ed the Jitsi volume of your speakers at some
point? We do stream amplification for incoming flows so the effect would
be similar to what you describe. Can you try taking it down a notch?
(You get a slider when you click on the speaker button to the left of
the audio levels).

Cheers,
Emil

On 30.01.13, 16:38, Tom Parrott wrote:

Hi,

Recently I have started to notice that Jitsi seems to distort audio
going
to the headset or speakers of the PC user.

To provide a scenario that has occurred today:

*Freeswitch conference bridge
*2 x Yealink hard phones connect to bridge.
*2 x Jitsi soft phones connect to bridge.

When a Yealink user speaks loudly the sound is distorted for the Jitsi
users, but not for the other Yealink user.

Also I have noticed when Jitsi dials into an IVR on Freeswitch and
plays
a
wav file the sound is also distorted if the wav file is loud in parts.

It sounds like the sound is being clipped, does anyone know what would
be
causing this? I don't remember it happening in V1 Jitsi.

Thanks
Tom

--
https://jitsi.org

--
https://jitsi.org


#7

Its happening when I call Freeswitch with an extension that just plays a
wav file back to the caller. There is a certain part that is louder than
the rest of the file, but there is no clipping in the actual file, i.e
when played back through Audacity on the same PC running Jitsi there is no
distortion.

So that takes the yealink phones out of the equation.

So it the call setup is:

Jitsi -> Freeswitch (plays wav file to caller)

With G722 it distorts at a certain point, with PCMU or OPUS it doesn't

I've attached part of the file, its the bit at the beginning where it says
"fastest".

For wav files its not so much of an issue as I can just alter the file,
but this is occurring during live conversations, but this is a good
example of the issue.

Thanks
Tom

usMandarinIvr2.wav (33.3 KB)

···

Is that happening from Jitsi to Jitsi too? Or does it only occur when
you have a hardphone involved?

Emil

On 30.01.13, 18:23, Tom Parrott wrote:

Its OK with OPUS too, seems G722 decoding is problematic at higher
volumes.

Hi Emil,

Thanks for the suggestion, I have tried turning it down to 1 notch
above
silent, but the clipping still occurs, albeit it quieter.

It's also happening on two different PCs with different versions of the
nightly build, one of them (mine) is bang up-to-date (1.1.4450.10402)
and
the other is a few weeks old (1.1.4392.10245).

We are both using the G722 codec, although it still happens when using
PCMU.

Thanks
Tom

Hey Tom,

Could it be that you up-ed the Jitsi volume of your speakers at some
point? We do stream amplification for incoming flows so the effect
would
be similar to what you describe. Can you try taking it down a notch?
(You get a slider when you click on the speaker button to the left of
the audio levels).

Cheers,
Emil

On 30.01.13, 16:38, Tom Parrott wrote:

Hi,

Recently I have started to notice that Jitsi seems to distort audio
going
to the headset or speakers of the PC user.

To provide a scenario that has occurred today:

*Freeswitch conference bridge
*2 x Yealink hard phones connect to bridge.
*2 x Jitsi soft phones connect to bridge.

When a Yealink user speaks loudly the sound is distorted for the
Jitsi
users, but not for the other Yealink user.

Also I have noticed when Jitsi dials into an IVR on Freeswitch and
plays
a
wav file the sound is also distorted if the wav file is loud in
parts.

It sounds like the sound is being clipped, does anyone know what
would
be
causing this? I don't remember it happening in V1 Jitsi.

Thanks
Tom

--
https://jitsi.org

--
https://jitsi.org


#8

We just tried it on our local * installation and didn't hear the
problem. However, * was refusing to play it as it was and we had to
resample to 16bit.

Could you maybe upload a recording somewhere?

···

On 30.01.13, 18:34, Tom Parrott wrote:

Its happening when I call Freeswitch with an extension that just plays a
wav file back to the caller. There is a certain part that is louder than
the rest of the file, but there is no clipping in the actual file, i.e
when played back through Audacity on the same PC running Jitsi there is no
distortion.

So that takes the yealink phones out of the equation.

So it the call setup is:

Jitsi -> Freeswitch (plays wav file to caller)

With G722 it distorts at a certain point, with PCMU or OPUS it doesn't

I've attached part of the file, its the bit at the beginning where it says
"fastest".

For wav files its not so much of an issue as I can just alter the file,
but this is occurring during live conversations, but this is a good
example of the issue.

Thanks
Tom

Is that happening from Jitsi to Jitsi too? Or does it only occur when
you have a hardphone involved?

Emil

On 30.01.13, 18:23, Tom Parrott wrote:

Its OK with OPUS too, seems G722 decoding is problematic at higher
volumes.

Hi Emil,

Thanks for the suggestion, I have tried turning it down to 1 notch
above
silent, but the clipping still occurs, albeit it quieter.

It's also happening on two different PCs with different versions of the
nightly build, one of them (mine) is bang up-to-date (1.1.4450.10402)
and
the other is a few weeks old (1.1.4392.10245).

We are both using the G722 codec, although it still happens when using
PCMU.

Thanks
Tom

Hey Tom,

Could it be that you up-ed the Jitsi volume of your speakers at some
point? We do stream amplification for incoming flows so the effect
would
be similar to what you describe. Can you try taking it down a notch?
(You get a slider when you click on the speaker button to the left of
the audio levels).

Cheers,
Emil

On 30.01.13, 16:38, Tom Parrott wrote:

Hi,

Recently I have started to notice that Jitsi seems to distort audio
going
to the headset or speakers of the PC user.

To provide a scenario that has occurred today:

*Freeswitch conference bridge
*2 x Yealink hard phones connect to bridge.
*2 x Jitsi soft phones connect to bridge.

When a Yealink user speaks loudly the sound is distorted for the
Jitsi
users, but not for the other Yealink user.

Also I have noticed when Jitsi dials into an IVR on Freeswitch and
plays
a
wav file the sound is also distorted if the wav file is loud in
parts.

It sounds like the sound is being clipped, does anyone know what
would
be
causing this? I don't remember it happening in V1 Jitsi.

Thanks
Tom

--
https://jitsi.org

--
https://jitsi.org

--
https://jitsi.org


#9

Hi Emil,

I tried the different codecs this morning, and I checked the original
sound file.

The original sound file from the voice artist is actually clipped, so
that's clearly the issue with that sound file.

However G722 seems to make this clipping more obvious that G711 and Opus.

I wonder if there is something to do with Freeswitch conference is causing
the clipping of live audio.

Tom

···

Its happening when I call Freeswitch with an extension that just plays a
wav file back to the caller. There is a certain part that is louder than
the rest of the file, but there is no clipping in the actual file, i.e
when played back through Audacity on the same PC running Jitsi there is no
distortion.

So that takes the yealink phones out of the equation.

So it the call setup is:

Jitsi -> Freeswitch (plays wav file to caller)

With G722 it distorts at a certain point, with PCMU or OPUS it doesn't

I've attached part of the file, its the bit at the beginning where it says
"fastest".

For wav files its not so much of an issue as I can just alter the file,
but this is occurring during live conversations, but this is a good
example of the issue.

Thanks
Tom

Is that happening from Jitsi to Jitsi too? Or does it only occur when
you have a hardphone involved?

Emil

On 30.01.13, 18:23, Tom Parrott wrote:

Its OK with OPUS too, seems G722 decoding is problematic at higher
volumes.

Hi Emil,

Thanks for the suggestion, I have tried turning it down to 1 notch
above
silent, but the clipping still occurs, albeit it quieter.

It's also happening on two different PCs with different versions of
the
nightly build, one of them (mine) is bang up-to-date (1.1.4450.10402)
and
the other is a few weeks old (1.1.4392.10245).

We are both using the G722 codec, although it still happens when using
PCMU.

Thanks
Tom

Hey Tom,

Could it be that you up-ed the Jitsi volume of your speakers at some
point? We do stream amplification for incoming flows so the effect
would
be similar to what you describe. Can you try taking it down a notch?
(You get a slider when you click on the speaker button to the left of
the audio levels).

Cheers,
Emil

On 30.01.13, 16:38, Tom Parrott wrote:

Hi,

Recently I have started to notice that Jitsi seems to distort audio
going
to the headset or speakers of the PC user.

To provide a scenario that has occurred today:

*Freeswitch conference bridge
*2 x Yealink hard phones connect to bridge.
*2 x Jitsi soft phones connect to bridge.

When a Yealink user speaks loudly the sound is distorted for the
Jitsi
users, but not for the other Yealink user.

Also I have noticed when Jitsi dials into an IVR on Freeswitch and
plays
a
wav file the sound is also distorted if the wav file is loud in
parts.

It sounds like the sound is being clipped, does anyone know what
would
be
causing this? I don't remember it happening in V1 Jitsi.

Thanks
Tom

--
https://jitsi.org

--
https://jitsi.org