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

Error opening sound device when using files for input and output #99

Open
TJNII opened this issue May 28, 2020 · 1 comment
Open

Error opening sound device when using files for input and output #99

TJNII opened this issue May 28, 2020 · 1 comment
Labels

Comments

@TJNII
Copy link

TJNII commented May 28, 2020

Good evening:

I'm hitting the common Error, couldn't open /dev/audio issue. However, unlike the other reports I've found, I'm trying to run dsd against wav files and do not wish to use the soundcard:

$ dsd -n recordings/442.700_2020-05-27_23-50-12.wav -w out/442.700_2020-05-27_23-50-12.decoded.wav        
Digital Speech Decoder 1.7.0-dev (build:v1.6.0-91-gf175834)
mbelib version 1.3.0
Disabling audio output to soundcard.
Writing audio to file out/442.700_2020-05-27_23-50-12.decoded.wav
Error, couldn't open /dev/audio

When reading from a file (-r), writing to a file (-w), and not sending speech to the audio device (-n) I'd expect it to not need to open the sound device at all, thereby bypassing the portaudio OSS chicanery all together. Is there another flag I missed or is the audio device is needed when doing solely file IO?

@szechyjs
Copy link
Owner

you probably want dsd -n -i myfile.wav -w output.wav

https://github.com/szechyjs/dsd/wiki/Operation#inputoutput-options

@szechyjs szechyjs added the help label Oct 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants