flite讀取text時候,提示error:oss_audio: failed to open audio device /dev/dsp

編譯安裝好TTS 開源軟件flite後,可以通過命令去運行flite命令去讀取text內容試試。出現瞭如下error:
flite -voice slt -t “Qingdao is a beautiful city”
oss_audio: failed to open audio device /dev/dsp

我的服務器系統是Debian 10, google上有人建議做如下操作:
sudo apt-get install pulseaudio
sudo apt-get install libpulse-dev
sudo apt-get install osspd

但是本地環境還是不好用,這應該是相關音頻內核模塊沒有加載。
sudo modprobe snd_pcm_oss

Debian OSS (Open Sound System)的介紹, 請參考https://wiki.debian.org/OSS.

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章