-
Notifications
You must be signed in to change notification settings - Fork 4
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 is not recognized when audio devices are set to Analog Stereo Duplex #48
Comments
Hello, The app internally launches the following command: sox -q -d -r 16000 -c 1 -b 16 -e signed-integer -t raw OUTPUT Feel free to debug it directly. If you find that you need to set a specific capture device, you can use the standard AUDIODEV=XX ./Shazam.linux-x64 To list available device names, run: arecord -l |
Thanks for coming back to me. I did some testing with a Bluetooth speaker and tried your proposal with changing the More testing results:I just used the Shazam app without issues, with some other device (e.g. a Bluetooth speaker) selected as output device. (Input device is unchanged and still Turning off Bluetooth forces a swith of output devices to In conclusion, the app seems to work reliably when an output device other then the internal speakers ( Trying to change
|
As I mentioned in my previous reply, the error originates from the Please try running the following command in a terminal:
If this command successfully records a file, the app should work as well. If you discover that the While I’d love to assist further, I’m not a desktop Linux user. I recommend posting a question on communities like unix.stackexchange.com, sound.stackexchange.com, or other relevant Q&A platforms. |
Hey there,
I really enjoy using your program when I listen to radio and mixes on my laptop.
Unfortunately, after starting the program and initiating tagging with either
SPACE
orA
, I often get the following error message:Writing this Github issue, I think I finally figured out how to reproduce it on my laptop (Kubuntu 24.04 LTS). With no headphones etc. connected, my audio devices are configured as
Analog Stereo Duplex
, so both speakers (output) and microphone (input) are enabled.With this settings, your Shazam program doesn't work reliably on my laptop. At the time of writing this, I always get the error message with this configuration.
However, when I switch the device settings to
Analog Stereo Input
, where only the microphone is enabled and speakers are shut off, it works perfectly fine (when I play music from my phone, as the laptop's speakers are disabled)!When I switch to
Analog Stereo Output
(microphone off, speakers on) I get the identical error message as withAnalog Stereo Duplex
, which suggests that withAnalog Stereo Duplex
the Shazam program does not recognize the microphone properly.I didn't notice this issue when I started using your program. The issue used to appear only rarely when I started using your Shazam program (mid November '24) but after maybe a month, I can rarely ever use it because this error message appears very frequently. I also don't know why it sometimes works and sometimes doesn't, I always have my audio devices set to
Analog Stereo Duplex
.What doesn't (reliably) solve the problem:
The text was updated successfully, but these errors were encountered: