muffon icon indicating copy to clipboard operation
muffon copied to clipboard

No support for surround audio

Open filipporomani opened this issue 3 years ago • 8 comments

I have a 5.1 surround, and i'm not able to use that with muffon! That's the only negative perk of the software. I hope it can get fixed!

filipporomani avatar Sep 11 '22 07:09 filipporomani

@filipporomani Hello again and thanks for your feedback. Are you sure that the audio you're listening on muffon is in 5.1?

staniel359 avatar Sep 11 '22 10:09 staniel359

Hello to you too! Yes I'm sure, I play the same song on Spotify and i have full surround, and with the same song on muffon it hasn't.

filipporomani avatar Sep 11 '22 12:09 filipporomani

@filipporomani I see. Can you provide a song example?

staniel359 avatar Sep 11 '22 12:09 staniel359

For example glimmer of hope by Tevvez In spotify app i get full surround, in muffon i don't

filipporomani avatar Sep 11 '22 12:09 filipporomani

@filipporomani Do you use Spotify premium account or basic?

staniel359 avatar Sep 11 '22 12:09 staniel359

Basic

filipporomani avatar Sep 11 '22 12:09 filipporomani

@filipporomani I made a research on your question. Turns out that there're some problems with 5.1 sound on Chromium-based browsers (Electron / Chrome / Edge). Whereas Firefox plays it fine.

Didn't find much information on how to solve this. If there're some info, it's outdated now.

staniel359 avatar Sep 11 '22 16:09 staniel359

Ok, hope Google will document it! Anyways, thank you for the help!

filipporomani avatar Sep 11 '22 16:09 filipporomani

@staniel359 i saw your issue(https://github.com/electron/electron/issues/35853) and i just found a new flag which is supposed to work with chrome versions after 79(newer versions: --disable-features=AudioServiceOutOfProcess  https://boomspeaker.com/google-chrome-5-1-surround-sound/ this article was updated 9 days ago so I suppose it is currently working hope this helps

gamersi avatar Jan 15 '23 13:01 gamersi

@gamersi Thanks.

I use this site to test 5.1 audio: https://www2.iis.fraunhofer.de/AAC/multichannel.html

I tried using that flag, but the sound hasn't changed. But I can't really tell if sound in Electron is actually 5.1. There seems to be an issue with right surround speaker. Also I have quite poor headphones so I can't check it properly.

staniel359 avatar Jan 15 '23 16:01 staniel359

the real problem for this is that some providers don't provide 5.1 music! As far as i know, YouTube only provides stereo audio with no surround. Instead spotify provides up to 7.1 audio

filipporomani avatar Jan 16 '23 13:01 filipporomani

On brave (chromium) i can play 5.1 audio without any particular config.

filipporomani avatar Jan 16 '23 14:01 filipporomani

@filipporomani I've tried the Brave browser and the issue is the same as I wrote above. How do you tell if audio is 5.1 or not?

staniel359 avatar Feb 06 '23 19:02 staniel359

I actually have a subwoofer and 2 rear speakers, with spotify both of them play while with muffon they don't

filipporomani avatar Feb 06 '23 19:02 filipporomani

i don't what it depends from, on firefox for example everything (even youtube) is surround, on brave only the link you sent above plays with surround.

filipporomani avatar Feb 06 '23 19:02 filipporomani

@filipporomani I see.

I may try making some code changes, then release the next version and then you test it and tell me if it worked, okay?

staniel359 avatar Feb 06 '23 19:02 staniel359

Yes ofc! I'll wait for the next release

filipporomani avatar Feb 06 '23 19:02 filipporomani

@filipporomani Are you using Windows?

staniel359 avatar Feb 07 '23 09:02 staniel359

Yes I'm using windows

Il mar 7 feb 2023, 10:06 Aleksey Shpakovsky @.***> ha scritto:

@filipporomani https://github.com/filipporomani Are you using Windows?

— Reply to this email directly, view it on GitHub https://github.com/staniel359/muffon/issues/67#issuecomment-1420427580, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARKKPKIMT467EGN2LB7JRQLWWIGCRANCNFSM6AAAAAAQJVFMZY . You are receiving this because you were mentioned.Message ID: @.***>

filipporomani avatar Feb 07 '23 11:02 filipporomani

@filipporomani Try this please:

  1. Right click on muffon's shortcut
  2. Properties
  3. Target field

Like here:

image

  1. Try adding those lines at the end, one at a time, then all of them:
--disable-features=AudioServiceOutOfProcess
--disable-features=AudioProcessSandbox
--disable-features=AudioServiceSandbox
--try-supported-channel-layouts
--force-wave-audio
--disable-audio-output-resampler
  1. Test surround audio

staniel359 avatar Feb 07 '23 15:02 staniel359

Okk so today I'll not be home until 22PM (UTC+2), I'll probably test later this evening or tomorrow.

Thank you so much and sorry!!

Il mar 7 feb 2023, 16:11 Aleksey Shpakovsky @.***> ha scritto:

@filipporomani https://github.com/filipporomani Try this please:

  1. Right click on muffon's shortcut
  2. Properties
  3. Target field

Like here:

[image: image] https://user-images.githubusercontent.com/18214933/217282519-55b4beee-792a-47b2-9499-893d5406a1aa.png

  1. Try adding those lines at the end, one at a time, then all of them:

--disable-features=AudioServiceOutOfProcess --try-supported-channel-layouts --force-wave-audio --disable-audio-output-resampler

  1. Test surround audio

— Reply to this email directly, view it on GitHub https://github.com/staniel359/muffon/issues/67#issuecomment-1420935927, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARKKPKOLYHGB5G4XYAPR7MTWWJQZHANCNFSM6AAAAAAQJVFMZY . You are receiving this because you were mentioned.Message ID: @.***>

filipporomani avatar Feb 07 '23 16:02 filipporomani

@filipporomani Please don't be sorry :)

staniel359 avatar Feb 07 '23 19:02 staniel359

--try-supported-channel-layouts worked for me. Now 5.1 works!!! At least on my machine

filipporomani avatar Feb 08 '23 16:02 filipporomani

@filipporomani Good. Only this one worked?

staniel359 avatar Feb 08 '23 16:02 staniel359

Yes

filipporomani avatar Feb 08 '23 16:02 filipporomani

Btw, audio lags heavily sometimes using that flag

filipporomani avatar Feb 08 '23 16:02 filipporomani

@filipporomani Okay, thank you!

How exactly?

staniel359 avatar Feb 08 '23 16:02 staniel359

Nvm, it probably was a problem of my cable. It was lagging with spotify too, i changed audio cable and now it works.

filipporomani avatar Feb 08 '23 16:02 filipporomani

@filipporomani Good. Now I need to figure out how to add this flag to packaged app.

staniel359 avatar Feb 08 '23 16:02 staniel359

I really can't help you with that, i don't know how to package an app

filipporomani avatar Feb 08 '23 16:02 filipporomani