There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

Audio on imac running Linux is not as good as on MacOS

First Lemmy post for me!

I was going to post on /Linuxquestions but I thought I would try here first.

I have an imac2011 which I ran Ubuntu 23.04, Kubuntu and Ubuntu Cinnamon. I discovered Easy Effects audio app which allowed me to download profiles to enhance the audio from the system.

I recently decided to try OpenCoreLegacyParcher and installed a newer version of macos, which is currently running on my system and the audio quaility is just breath taking compared to Linux.

Is there anyway I can get closer to audio from macos on Linux? I’m considering going back to Linux soon but I think i’ll miss how good the audio is :(

Atemu ,
@Atemu@lemmy.ml avatar

Apple very likely applies specially tweaked DSP. They’re very very good at that.
You’d have to replicate that using something like Easy Effects. Play around with the EQ and see what you can do.

It could also be a bad driver in which case you probably can’t do anything about that.

ceanth OP ,

Hello, I don’t think its a driver issue but its more of tweaking issue.

Is there anyway I take make an EQ based on the audio output on macos? I don’t think my ears are good enough to remember the sound output on macOS for me to then replicate in Linux when I switch over

Atemu ,
@Atemu@lemmy.ml avatar

That’s an interesting thought and you could potentially even do that using commodity hardware.

You could create a sound file which first plays a few short beeps for synchronisation and then does a sweep of the full frequency range. You’d then play that file back in macOS and in Linux at the same volume and record it with a mic in a fixed position.
Then you’d take the two recordings, line them up using the synchronisation beeps and compare the amplitudes of any given frequency. From that difference you could infer the EQ you’d have to add on Linux to get the same frequency response as macOS.

I don’t know how exactly you’d do the last step but it should at least be possible.

Mic quality (beyond a very basic point) or colouring should be an issue since you’d have the same mic frequency response in both tests and only care about the difference.

Raimu ,
@Raimu@lemmy.ml avatar

By default audio is often configured to run properly on the crappiest sound card and CPU. Since you used easyeffect I assume you use pipeWire. Here some of my config : In pipewire.conf :


<span style="color:#323232;">default.clock.rate          = 96000
</span><span style="color:#323232;"> default.clock.allowed-rates = [ 44100 48000 96000 192000 ]
</span>

In pipewire-pulse.conf


<span style="color:#323232;">stream.properties = {
</span><span style="color:#323232;">    resample.quality      = 10
</span><span style="color:#323232;">}
</span>
Atemu ,
@Atemu@lemmy.ml avatar

Unless you happen to be a bat, setting the output sample rate to 96000 will do absolutely nothing to improve audio quality.

WeirdGoesPro ,

Batman intensifies.

Raimu ,
@Raimu@lemmy.ml avatar

As @holland said I shouldn’t have set default.clock.rate.

I have 96000 and 192000 in allowed-rates beacause some of my flac are at this sample rate and it avoid resampling them and losing quality (or using CPU in this case because at resample.quality 10 it should not be hearable)

holland ,

If you’re using default.clock.allowed-rates you shouldn’t set default.clock.rate or it won’t switch based on the source frequency.

mom ,

You should take a look into JamesDSP https://github.com/Audio4Linux/JDSP4Linux

Pantherina ,

There is a Flatpak! Awesome and lol of course it works way better than on damn Android, where you need weird hacks that dont really work

mom ,

For android I’ve stuck to the OG Viper4Android since JamesDSP kinda acts funky.

ceanth OP ,

Thank you!

mom ,

No problem

Shady_Shiroe ,

I learned that PopOs runs best on iMac with least amount of problems, I don’t know if that will fix audio but you can always download PopOs on a flash drive and boot to it to try out without installing it on drive.

ceanth OP ,

Thats a good idea, I suppose I could use a live Linux boot to play around with the EQ settings

  • All
  • Subscribed
  • Moderated
  • Favorites
  • [email protected]
  • random
  • lifeLocal
  • goranko
  • All magazines