I have installed mycroft-mimic3-tts (the python module) to my system, the purpose being to convert text reponses from a python AI bot into audio. Although the program functions and returns text, no audio is heard. Does anyone know mycroft-mimic3-tts works in relation to Zorin OS 16? My friend who runs Fedora 38 has it working fine. When I run the program it does return an error, I will post it:
Reading text from stdin...
INFO:mimic3_tts.tts:Loaded voice from /usr/share/mycroft/mimic3/voices/en_UK/apope_low
ALSA lib conf.c:3725:(snd_config_hooks_call) Cannot open shared library libasound_module_conf_pulse.so (libnsl.so.2: cannot open shared object file: No such file or directory)
ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM default
aplay: main:852: audio open error: No such file or directory
Traceback (most recent call last):
File "mimic3.py", line 40, in <module>
File "mimic3_tts/__main__.py", line 129, in main
File "mimic3_tts/__main__.py", line 481, in process_lines
File "mimic3_tts/__main__.py", line 512, in play_wav_bytes
File "subprocess.py", line 424, in check_output
File "subprocess.py", line 528, in run
subprocess.CalledProcessError: Command '['aplay', '-q', '/tmp/tmp1hfvmzu5.wav']' returned non-zero exit status 1.
[161555] Failed to execute script 'mimic3' due to unhandled exception!
This is the error that appears when I navigate to /usr/bin and type the following into my terminal:
sudo mimic3 "hello world"
If working properly, a voice should have repeated "hello world" in an AI voice, but it did not.
Any assistance is appreciated!
Thanks in advance.
-Joshua