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

Can't open /dev/dsp #17

Open
MChhay opened this issue Dec 10, 2018 · 2 comments
Open

Can't open /dev/dsp #17

MChhay opened this issue Dec 10, 2018 · 2 comments

Comments

@MChhay
Copy link

MChhay commented Dec 10, 2018

I'm running Linux Mint 19 Cinnamon 3.8.8

I'm trying to run main/na_record and I get the following error

~$ speech_tools/main/na_record -f 16000 -time 5 -o test.wav -otype riff

Linux: can't open /dev/dspfor reading

From searching online, it looks like OSS is no longer supported. I've tried installing some OSS compatibility modules, but still haven't had any success in running ./na_record

It seems like the /dev/dsp error has already been fixed in festival: https://bugs.launchpad.net/ubuntu/+source/festival/+bug/662630
I didn't have any issues with playback in festival either.

There's a few old workarounds listed for festival here: https://wiki.archlinux.org/index.php/Festival#Usage_with_a_Sound_Server

Is there any way I can apply those workarounds to festvox? Or are there any other methods to get recording/playback in festvox to work?

@lenzo-ka
Copy link
Collaborator

Yep. Also for macOS. And the current bindings for macOS are deprecated so will disappear in a year or so. For Linux, ALSA should be fine and shouldn't be much trouble. If OSS is still a concern, maybe someone will take it on.

@zeehio
Copy link
Contributor

zeehio commented Aug 30, 2020

On a Debian Linux system and derivatives (e.g. Ubuntu, Mint) please install libasound-dev (sudo apt install libasound-dev) and then run again ./configure and make. (if you still get the same error please try starting from scratch uncompressing speech-tools on a clean directory)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants