If RMS is not zero, recording is OK, if you can hear alarm, playing is OK $alexa-audio-check Run alexa-audio-check to check if recording & playing is OK. Gir1.2-gstreamer-1.0 python-gi python-gst-1.0 Sudo apt-get install gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly \ Gstreamer1.0, pyaudio and pocketsphinx and respeaker python library are already installed by default, just run pip install avsįor Debian/Ubuntu/Raspbian sudo apt-get install mpg123 mpv If you don't want to use HDMI audio output, you should run sudo apt remove gstreamer1.0-omx gstreamer1.0-omx-rpi Requirements It ignores ALSA configurations and outputs audio to HDMI. If you use raspberry pi and gstreamer, it is likely that gstreamer's default audio sink is GstOMXHdmiAudioSink. To use Snowboy, go to Snowboy's Github to install it. To use pocketsphinx, install respeaker python library and pocketsphinx. By default, arecord is used as the recorder. For example, run RECORDER=pyaudio alexa-tap will use pyaudio as the recorder. We can use environment variable RECORDER to specify the recorder. We can also specify the player of AudioPlayer using the environment variable PLAYER.Ģ recorders (pyaudio & arecord) are available. Gstreamer supports more audio format and works well on raspberry pi. SpeechSynthesizer and Alerts prefer mpg123 which is more responsive.ĪudioPlayer likes gstreamer > mpv > mpg123. We have 3 players ( mpv, mpg123 and gstreamer) to use. Support multiple audio players: gstreamer 1.0, mpv and mpg123.Support Alexa Voice Service API v20160207.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |