Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Microphone audio coming out only on the left side for other users #238

Closed
riomccloud opened this issue Oct 17, 2023 · 12 comments
Closed

Microphone audio coming out only on the left side for other users #238

riomccloud opened this issue Oct 17, 2023 · 12 comments
Labels
bug Something isn't working

Comments

@riomccloud
Copy link

I noticed that the audio from my microphone only comes from the left side to the other users on the call. This only happens with abaddon. My lavalier microphone is generic. I tried to change options in the call but I couldn't resolve it.

@ouwou
Copy link
Member

ouwou commented Oct 17, 2023

which OS and audio backend (printed to console)?

@riomccloud
Copy link
Author

OS: Windows 10 21H2 (amd64)
Audio backend: WASAPI

@wont-stream
Copy link

That's strange, discord is supposed to be mono only.

@ouwou ouwou added the bug Something isn't working label Oct 18, 2023
@ouwou
Copy link
Member

ouwou commented Oct 18, 2023

ill try making a small standalone program thatll echo back your microphone to see if its a miniaudio issue or a me issue

That's strange, discord is supposed to be mono only.

discord will mix your audio to mono before encoding it, but opus is a strictly stereo codec so you can send stereo audio. i guess discord doesnt mix audio to mono after decoding

@ouwou
Copy link
Member

ouwou commented Oct 19, 2023

can you try this? this will simply echo back your microphone input when you open it, so it should help determine if the problem is a result of the library or me making a mistake using it. if it sounds wrong, also send the output of the exe

audio test.zip

@riomccloud
Copy link
Author

Here it is:
audio-log.txt

@ouwou
Copy link
Member

ouwou commented Oct 19, 2023

and just to confirm youre hearing the same issue with that where audio is playing back only through the left channel?

@riomccloud
Copy link
Author

Yep.

@ouwou
Copy link
Member

ouwou commented Oct 19, 2023

and just to make sure its a miniaudio issue and not a microphone issue can you record yourself on https://mictests.com/ and play it back (or any other software that doesnt do any mixing/channel conversion) and also check the displayed channel count on the left? the other software you used might have mixed to mono so itd be helpful to rule that out. in meantime ill ask the miniaudio dev about this

@riomccloud
Copy link
Author

I tested it and... really the audio only comes from the left. I never imagined it could be mixing...
Ok, not miniaudio's fault, but is there a way to force mixing audio on both channels, with Abaddon or for the entire Windows system?

@ouwou
Copy link
Member

ouwou commented Oct 21, 2023

i can add a force mono option, but as a workaround you can go to your sound control panel and set the microphone to be mono

@ouwou ouwou closed this as completed in 9a5e820 Oct 21, 2023
@ouwou
Copy link
Member

ouwou commented Oct 21, 2023

you can enable the "Mix Mono" option in the voice window now

dragontamer8740 pushed a commit to dragontamer8740/abaddon that referenced this issue Nov 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants