mycroftuser. On picroft, any mic or speakers you add to it may need to be configured as Mycroft uses the default input and output from pulse.
The microphone can't hear me or the CLI shows no change in the input meter while speaking.
test.wav. From the commandline on the device run:
mycroft.conffile. For information on this configuration file, see https://mycroft.ai/documentation/mycroft-conf/.
pactl list sinks shortto list output devices available to the current user:
pactl list sources shortwill list input devices available to the current user:
pactl set-default-source(for input) or
pactl set-default-sink(for output) to update:
OSError: [Errno 2] No such file or directorythis usually indicates that mycroft cannot find pulseaudio. Make sure it's installed and mycroft is able to access it. On Debian based systems like Ubuntu you can install the package by running:
alsamixeris a utility provided by the ALSA sound system on Raspbian Stretch that allows you to select an audio playback (output) and input (capture) device.
Ctrl +Cto exit the guided setup and you will be at the Linux command line. Type
alsamixeras shown below:
alsamixer. In this case, the command key for choosing 'Select sound card' is
F6. Use the arrow keys on your keyboard to navigate up and down the list to choose your preferred soundcard.
alsamixerusually has an option to see all capture and playback devices. In this case, the command key to see all devices is
lsusbcan be used to see what USB devices are connected to the system.
lsusb -vcan be also used, but produces significantly more output.
groupswill list all the system groups the current user is a part of. In dev instances of mycroft, can be used to see if the mycroft user is part of the audio group. If running list sinks or list sources you see null or no devices for the user, use this command to verify if you're part of the
alsamixeris a command-line utility to adjust volume and muting of both inputs and outputs.
pulseaudio -kkills the current instance of pulseaudio.
pulseaudio --startwill start pulseaudio.
pavucontrolis a GUI mixer client for X.
pacmdis an interactive shell version of
helpto see more once in the shell.