I can hear a voice when I do
$this->bbcode_second_pass_code('', '$ aplay /usr/share/sounds/alsa/Front_Center.wav')
But can not get sound any other way. None of the audio players I have tried work. I am trying to get "festival" to work but get
$this->bbcode_second_pass_code('', '@alarmpi ~]$ echo "This is an example. Arch is the best." | festival --tts
ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
ALSA lib conf.c:4241:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4241:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
ALSA lib conf.c:4241:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4720:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM default
aplay: main:682: audio open error: No such file or directory
ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
ALSA lib conf.c:4241:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory')
Above is only a part of the error output.
I have scoured the net but can find no solution.
Can anyone offer any advice ??
Thanks.
