# Poor Stereo Separation with MP3 encoding

**URL:** <https://forum.audacityteam.org/t/poor-stereo-separation-with-mp3-encoding/114319>\
**Category:** GNU/Linux\
**Tags:** recording, music\
**Created:** [August 9, 2024, 5:14am UTC](https://forum.audacityteam.org/t/poor-stereo-separation-with-mp3-encoding/114319 "2024-08-09T05:14:21Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![jotape1960](https://forum.audacityteam.org/letter_avatar_proxy/v4/letter/j/e8c25b/32.png) [@jotape1960](https://forum.audacityteam.org/u/jotape1960)\
**Post date:** [August 9, 2024, 5:14am UTC](https://forum.audacityteam.org/t/poor-stereo-separation-with-mp3-encoding/114319/1 "2024-08-09T05:14:21Z")

</div>

I’ve been using Audacity since a long time. Now, I’m using the 3.6.1 version inside computers with Ubuntu Studio 22.04.4 LTS (64 bit GNU/Linux), with Jack, Alsa, PulseAudio and partially PipeWire.  
I’m not sure about when exactly this behaviour started but… I can notice a very poor stereo separation (too narrow stereo image compared with the original source) when I save any audio file with MP3 format.  
After a while, thank an app called “Media Info”, I could know each MP3 audio file saved with Audacity, this year, has the following audio parameters (this is just a sample random song):

Audio  
Format : MPEG Audio  
Format version : Version 1  
Format profile : Layer 3  
Format settings : Joint stereo  
Duration : 2 min 46 s  
Bit rate mode : Constant  
Bit rate : 320 kb/s  
Channel(s) : 2 channels  
Sampling rate : 44.1 kHz  
Frame rate : 38.281 FPS (1152 SPF)  
Compression mode : Lossy  
Stream size : 6.34 MiB (100%)  
Writing library : LAME3.100  
Encoding settings : -m j -V 4 -q 3 -lowpass 20.5

The great difference with files saved before this year is about the last line:

Encoding settings : -m s -V 4 -q 3 -lowpass 20.5

SO… I guess the problem is with the characters “-m j”

If I’m right, How can I fix it and change those characters to get the full original stereo wide separation? ???

Or, If we can’t to change this… Is there a way to avoid that parameters was “read” when we play the songs with, let’s say, MPV Player (or whatever)? ???

BTW, When I use another editing software (whatever) to create MP3 files and I look for the same audio parameters with the same “Media Info” app, I can clearly see that last line is not there. In other words, it seems like Audacity is the only one software that add that parameter. Why? ???

---

<div class="post-metadata">

**Author:** ![LWinterberg](https://forum.audacityteam.org/user_avatar/forum.audacityteam.org/lwinterberg/32/29633_2.png) [@LWinterberg](https://forum.audacityteam.org/u/LWinterberg)\
**Post date:** [August 9, 2024, 8:54am UTC](https://forum.audacityteam.org/t/poor-stereo-separation-with-mp3-encoding/114319/2 "2024-08-09T08:54:05Z")

</div>

Joint stereo uses L/R audio when applicable, it essentially means “auto”. Forced M/S audio is encoded with `-m f`.

---

<div class="post-metadata">

**Author:** ![DVDdoug](https://forum.audacityteam.org/user_avatar/forum.audacityteam.org/dvddoug/32/32925_2.png) [@DVDdoug](https://forum.audacityteam.org/u/DVDdoug)\
**Post date:** [August 9, 2024, 2:04pm UTC](https://forum.audacityteam.org/t/poor-stereo-separation-with-mp3-encoding/114319/3 "2024-08-09T14:04:00Z")

</div>

You may need to export as WAV or FLAC and then use a 3rd party MP3 encoder. (I’m a Windows guy so I can’t recommend one.)

And here are the [Lame Command Line Settings](https://pirlwww.lpl.arizona.edu/resources/guide/software/lame/switchs.html).

Those settings **shouldn’t** affect stereo separation. That particular processing is lossless/reversible (assuming it’s done right).

**You might want to experiment** with a left-only or right-only track. You’ll need to [Split Stereo Track](https://manual.audacityteam.org/man/audio_track_dropdown_menu.html), mute one side, and export.

---

<div class="post-metadata">

**Author:** ![jotape1960](https://forum.audacityteam.org/letter_avatar_proxy/v4/letter/j/e8c25b/32.png) [@jotape1960](https://forum.audacityteam.org/u/jotape1960)\
**Post date:** [August 10, 2024, 6:44am UTC](https://forum.audacityteam.org/t/poor-stereo-separation-with-mp3-encoding/114319/4 "2024-08-10T06:44:57Z")

</div>

Thanks a lot!!!  
But, your answer put a great doubt in my mind: If that parameter SHOULDN’T affect the stereo separation, Why I can hear a noticeable narrowing effect when I listen those files with MPV Player, or others sound playback apps? ???  
Is there something related with the playback apps? ???  
If it is that way, How can I fix it? ???

---

<div class="post-metadata">

**Author:** ![jotape1960](https://forum.audacityteam.org/letter_avatar_proxy/v4/letter/j/e8c25b/32.png) [@jotape1960](https://forum.audacityteam.org/u/jotape1960)\
**Post date:** [August 10, 2024, 8:40am UTC](https://forum.audacityteam.org/t/poor-stereo-separation-with-mp3-encoding/114319/5 "2024-08-10T08:40:06Z")

</div>

I think I found out the reason because I have this problem.  
I’d have been experimented with all the resources I have and I think I discovered the problem starting point.  
It isn’t audio Audacity files problem, it is something related with PipeWire and PulseAudio.  
As Ubuntu Studio 22.04 doesn’t have a full PipeWire installation (it is just partially activated), there is a very weird dual existence between PipeWire and PulseAudio.  
For some reason I can’t know (because I’m not a programmer), in some point of the process there is a weird combination between the Front Center channel (from hardware surround channels) with the both standard Front Left and Front Right channels (standard stereo computer output).  
When I use an editing audio software with not surround audio output (like Audacity), I can hear the full stereo separation). But, when I use apps with surround sound capabilities, then I get the poor stereo separation.  
I think some of the last Linux system upgrading changed something with the PipeWire sound server and this behaviour started to be this way.  
Unfortunately, I cannot see some solution.  
SO… It isn’t something related with Audacity.  
The problem to me is I don’t have any clue about how to fix this. Sorry!  
Thank you so much for your time!!!

---

<div class="post-metadata">

**Author:** ![system](https://forum.audacityteam.org/uploads/default/original/1X/81a69b20bcd548215067cfaceccc8a10bfa2d176.png) [@system](https://forum.audacityteam.org/u/system)\
**Post date:** [September 8, 2024, 5:15am UTC](https://forum.audacityteam.org/t/poor-stereo-separation-with-mp3-encoding/114319/6 "2024-09-08T05:15:11Z")

</div>

Closed on September 8, 2024, 5:15am UTC

This topic was automatically closed after 30 days. New replies are no longer allowed.
