I’m trying to get Mycroft running alongside some other programs on my Pi, so I’ve gone for the general linux installation (i.e. building from git repo) rather than the Picroft image.
All seems to work fine through the command line, but I don’t get any audio input or output.
mycroft-mic-test gives me the following error:
Traceback (most recent call last):
File “/usr/lib/python3.5/runpy.py”, line 193, in _run_module_as_main
File “/usr/lib/python3.5/runpy.py”, line 85, in _run_code
File “/home/pi/mycroft-core/mycroft/util/audio_test.py”, line 102, in
File “/home/pi/mycroft-core/mycroft/util/audio_test.py”, line 96, in main
status = play_wav(args.filename).wait()
File “/home/pi/mycroft-core/mycroft/util/init.py”, line 98, in play_wav
File “/usr/lib/python3.5/subprocess.py”, line 676, in init
File “/usr/lib/python3.5/subprocess.py”, line 1282, in _execute_child
raise child_exception_type(errno_num, err_msg)
FileNotFoundError: [Errno 2] No such file or directory: ‘paplay’
Note that I am attempting to just use Alsa rather than PulseAudio, which has caused me a lot of problems in the past. I believe this is the source of the issue, but I’m wondering (and very much hoping) that there is some way to run Mycroft without PA.