mycroft
user. 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.conf
file. For information on this configuration file, see https://mycroft.ai/documentation/mycroft-conf/.-l
flag/etc/mycroft/mycroft.conf
.pactl info
pactl list sinks short
to list output devices available to the current user:pactl list sources short
will list input devices available to the current user:pactl set-default-source
(for input) or pactl set-default-sink
(for output) to update:pactl info
short
.Popen(play_wav_cmd)
and OSError: [Errno 2] No such file or directory
this 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:alsamixer
is a utility provided by the ALSA sound system on Raspbian Stretch that allows you to select an audio playback (output) and input (capture) device.alsamixer
, type Ctrl +C
to exit the guided setup and you will be at the Linux command line. Type alsamixer
as shown below:F4
.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.alsamixer
usually has an option to see all capture and playback devices. In this case, the command key to see all devices is F5
.lsusb
can be used to see what USB devices are connected to the system. lsusb -v
can be also used, but produces significantly more output.groups
will 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 audio
group.alsamixer
is a command-line utility to adjust volume and muting of both inputs and outputs.pulseaudio -k
kills the current instance of pulseaudio.pulseaudio --start
will start pulseaudio.pavucontrol
is a GUI mixer client for X.pacmd
is an interactive shell version of pactl
. Use help
to see more once in the shell.