试图在节日中发声,似乎 /dev/dsp/ 在 debian 中丢失了。如何添加这个?
festival> (SayText "Hello")
Linux: can't open /dev/dsp
#<Utterance 0xb669c708>
按照https://wiki.debian.org/SoundFAQ上的说明进行操作
使用安装 oss-compat
apt-get install oss-compat
基本上解决了这个问题,但使用加载 snd-pcm-oss 可能会很好
modprobe snd-pcm-oss
这必须以 root 身份完成。这将创建 /dev/dsp 并解决问题。