-
Notifications
You must be signed in to change notification settings - Fork 50
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
FAIL sox: Sorry, there is no default audio device configured #18
Comments
I am having similar trouble. Any luck yet? |
I got this working using: sox -t waveaudio "Logitech" outputFileName.wav "Logitech" is what I renamed my microphone in the recording tab of the sound control panel. I renamed it by clicking the properties button and typing in the text box. |
Can you please let us know how you have fixed this. I tried to add cmdArgs but that throw "Missing filename error" |
I would first try getting sox working in the command line and then go in and edit the cmdArgs to reflect the code that's working in the command line. take the code I entered and change "Logitech" to whatever your mic is named in the control panel and see if that works |
I solved this problem by installing sox 14.4.1 rather than 14.4.2 |
i had the some problum and solved it using the sox 14.4.2 to play a file just use the following format: sox " filename.format"(e.g file.wav) -t waveaudio i'm not sure what this mean but i do know that it work for all files format i tryied even mp3 which was a big suprise for me consider the problems that i had with this format from the first time i used sox hope it helps you too |
I had the same problems as above using 14.4.2 on windows 10. I tried the -t waveaudio option. I also tried renaming my output device and then using it. None of the solutions that I found here or on other sites worked with 14.4.2.. What did work for me was downloading and using 14.4.1. Thanks ibramn! |
Tor me uninstalling 14.4.2 and installing 14.4.1 worked on windows 10. Also had to set the environment path variable. |
In the event this helps anyone else... In addition to specifying the device index or name you can also specify
In the case of this library we see here:
In my case downgrading to 14.4.1 made no difference, the order of parameters must be as shown above. |
In case someone else – here in the future – still gets stuck with this problem. For me, using 14.4.2, the issue was fixed after installing SoX handlers for other audio formats.
(I'm using Raspberry Pi, by the way. Just to leave the keyword here and possibly help more people) |
Thank you very much it help me very much |
Santa brought me a Raspberry Pi Zero 2 W for Christmas today (well, "Santa" is me, but I've been having so much fun with it that I feel like a kid). I've managed to get it to play 24-bit, 96 kHz FLAC over Wi-Fi, usually without any under-runs. I'm so impressed with this tiny bugger. The command above was helpful for getting audio going, so thanks so much for sharing. I just had to add my account to the
After logging back in, I am able to play tracks without having to use Merry Christmas! |
much appreciated 😀 |
i use pocketsphinx with sox cmd on windows platform, and sox is 14.4.2 when i run live.exe, it come this error,
} |
can anyone help me solving this error ?
I'm working on windows OS and sox-14-4-2
The text was updated successfully, but these errors were encountered: