this post was submitted on 09 Aug 2023
34 points (94.7% liked)

Linux

48216 readers
704 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

I hope it's fine to ask this here, I'm using endeavor os with KDE and got some little speakers for my pc, they however only seem to play sound from the "front left" channel, is there a way to make pulse audio send all audio on it? Like, mono mode? I couldn't find anything that does that...

Edit: Found a solution! Like i said before in a comment on this post turned out i was running pipewire-pulse, so i could use pipewire solutions! tried easyeffects and it perfectly fitted my needs, thanks for all the responses everyone!

top 35 comments
sorted by: hot top controversial new old
[–] bruce965@lemmy.ml 6 points 1 year ago (1 children)

I haven't checked, but I assume PulseEffects must have a module to convert stereo to mono.

[–] Quills@sh.itjust.works 3 points 1 year ago (1 children)

Pulse effects, is that some sort of addon to pulse audio? Will look into it, thanks!

[–] bruce965@lemmy.ml 2 points 1 year ago* (last edited 1 year ago) (1 children)

It's an application that runs in the background and applies all sorts of filters and effects to your sound before it goes to the speakers. It's actually quite cool, it can upgrade a crappy set of speakers/headphones to a mediocre one by applying the right adjustments.

https://github.com/wwmm/easyeffects

[–] Quills@sh.itjust.works 1 points 1 year ago* (last edited 1 year ago) (1 children)

Oh i see, tried to install it here but it didn't work, the app doesn't start, Lots of people are recommending switching to pipewire, i think i may try that

[–] bruce965@lemmy.ml 1 points 1 year ago (1 children)

I see. I've never used it but it sounds like a good suggestion :)

[–] Quills@sh.itjust.works 2 points 1 year ago* (last edited 1 year ago) (1 children)

hey! So, i ended up trying to download this again and it worked perfectly, it was exactly what i needed, i think it didn't work before cuz i had downloaded the wrong app, didn't saw that the name was "easyeffects" and downloaded this "pulseeffects-legacy" one, which didn't work probably cuz turned out i was using pipewire-pulse all along, so yeah, your suggestion was the one i needed soo, thank you!

[–] bruce965@lemmy.ml 1 points 1 year ago

I'm glad it's working! Yeah, right after posting that message I also noticed they forked it with a new name.

[–] StefanT@lemmy.world 5 points 1 year ago

If you use pipewire instead of pulse audio then you can install pipewire-jack and then use any of the jack patchbay applications to rewire the channels. Currently I use qpwgraph but there are several options.

[–] ogeist@lemmy.dbzer0.com 4 points 1 year ago (1 children)

First, change to pipewire, old man, pipewire is the new kid in the block and works great with Bluetooth headphones.

Then use streambay to do whatever you want with your audio.

Check this video: https://youtu.be/Zv1P6-kUn0c

[–] PipedLinkBot@feddit.rocks 1 points 1 year ago

Here is an alternative Piped link(s): https://piped.video/Zv1P6-kUn0c

Piped is a privacy-respecting open-source alternative frontend to YouTube.

I'm open-source, check me out at GitHub.

[–] maiskanzler@feddit.de 4 points 1 year ago

Hmm, the easy way would be to simply set the balance to 100% left, but that's just the left channel and not both. Maybe combined with some of the other's suggestions it could work.

[–] QuazarOmega@lemmy.world 4 points 1 year ago (1 children)

You can also use Helvum, it's a patchbay native to Pipewire

[–] Quills@sh.itjust.works 2 points 1 year ago (1 children)

after some messing around to see how the app works i got it, it's working thank you so much!!

[–] QuazarOmega@lemmy.world 2 points 1 year ago (2 children)

Great! I agree it's a little rough for now, and it seems development is kinda slow, but it works for what it tries to achieve already

[–] fhein@lemmy.world 2 points 1 year ago (1 children)

Give qpwgraph a try, does the same thing

[–] QuazarOmega@lemmy.world 1 points 1 year ago

Oh thanks, didn't know there was a Qt counterpart, it looks pretty good!

[–] Quills@sh.itjust.works 1 points 1 year ago (1 children)

yeah
And i just noticed that, it doesn't work like i thought, tried correcting it with the help of a sink it almost worked but as they disappear after a reboot it reverts everything i did, saaaad it was so close of working

[–] QuazarOmega@lemmy.world 1 points 1 year ago (1 children)

Ah that's annoying, so as I understand it should just be down to having persistent sink and routing right? Not sure if this what you want as I haven't tried, but could this thread be helpful?

[–] Quills@sh.itjust.works 2 points 1 year ago

Yeah i want the sinks and helvum configurations to persist between reboots, this thread does look interesting, will try that later when i get on my pc

[–] nicman24@kbin.social 3 points 1 year ago

either install an old version of pulseeffects or update to pipewire and set a mono filter

[–] mister_monster@monero.town 3 points 1 year ago (1 children)

Good god I remember doing this like 10 years ago. I don't remember what I did, only that it was a nightmare. I only hope the situation has improved.

https://blog.desdelinux.net/en/pulseaudio-como-cambiar-a-mono-en-lugar-de-stereo/ this looks like something similar to the solution I came to in the end. Here's some more information https://askubuntu.com/questions/17791/can-i-downmix-stereo-audio-to-mono and this https://askubuntu.com/questions/71863/how-to-change-pulseaudio-sink-with-pacmd-set-default-sink-during-playback/72076#72076

Good luck.

[–] Quills@sh.itjust.works 1 points 1 year ago
[–] angrymouse@lemmy.world 3 points 1 year ago* (last edited 1 year ago) (1 children)

qjackctl

I use qpwgraph that have the same Idea for pipewire. You can change all your inputs and outputs, I initially used to send the sound of programs to my discord input in order to stream with sound, but I also use to invert L and R when I'm watching on my couch and the wire does not fit to put the right speaker on the right so I just switch.
It is very easy.
Here some video, but I don't think you will need.
https://www.youtube.com/watch?v=TDBGsbwMo40

[–] PipedLinkBot@feddit.rocks 1 points 1 year ago

Here is an alternative Piped link(s): https://piped.video/watch?v=TDBGsbwMo40

Piped is a privacy-respecting open-source alternative frontend to YouTube.

I'm open-source, check me out at GitHub.

[–] Quills@sh.itjust.works 2 points 1 year ago* (last edited 1 year ago) (1 children)

Just found out my system is actually running pipewire, so that's why everything i tried didn't work right! But when i checked i remember seeing pulse-audio
Or maybe i just read it wrong... well that makes things easier, will look into y'all suggestions about pipe, thanks!

[–] QuazarOmega@lemmy.world 1 points 1 year ago (1 children)

It's probably the pulseaudio provided by the pipewire backend, it is there for compatibility with apps that still rely on it: https://wiki.archlinux.org/title/PipeWire#PulseAudio_clients

[–] Quills@sh.itjust.works 3 points 1 year ago

Ooh yup, that's exactly the same package that's installed here "pipewire-pulse", makes sense

[–] vettnerk@lemmy.ml 2 points 1 year ago (1 children)

Unfortunately I do not remember how, but I did this a few years back. However, I used jackd instead of pulseaudio on that machine, so that might be one of the requirements.

[–] Quills@sh.itjust.works 1 points 1 year ago

Ooh, will keep that in mind thank you!

[–] mvirts@lemmy.world 1 points 1 year ago (1 children)

How much latency can you endure? There are several patch bays for Jack that will let you do this, maybe requiring a mixing plugin or something. Gstreamer also has your back https://stackoverflow.com/a/16480476/9331018

Vlc or ffmpeg can probably do something similar

[–] Quills@sh.itjust.works 0 points 1 year ago* (last edited 1 year ago) (1 children)

I play osu! So latency is something I'd want as small as possible

Oh, i didn't thought about that, won't any solution have some sort of latency? Oh well, let's see, i always play it with headphones so I'd Like to go with with a disablable method or something of that sort tho

[–] mvirts@lemmy.world 1 points 1 year ago* (last edited 1 year ago) (1 children)

Hmmm have you considered a hardware solution? If you're using wired headphones you can get a few adapters to play the left channel in both ears.

Edit: wait that's the opposite, you can get adapters to (electrically incorrectly) connect both outputs to one side, or better yet get a tiny mixer that can do it correctly like this: https://a.co/d/9guRG3A you'll need a stereo splitter cable to get left and right outputs into separate channels, and maybe an adapter for the output

[–] Quills@sh.itjust.works 2 points 1 year ago* (last edited 1 year ago) (1 children)

sadly buying things would not be viable as i could just buy better speakers if i was going to spend more money anyway, but thanks for the suggestion!

[–] mvirts@lemmy.world 1 points 1 year ago (1 children)

I see, is this a broken speaker situation? Maybe time to crack them open and do some fixing? Do you own a soldering iron?

[–] Quills@sh.itjust.works 1 points 1 year ago

Nah i just bought them, just made a bad choice and got a low quality product, two speakers that only play one channel in both haha