編譯安裝好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.