Siri for Developers. Siri is the world’s most popular intelligent assistant, and now has an all new compact design. With SiriKit and Shortcuts, your apps can help users get things done with just their voice, intelligent suggestions, or the Shortcuts app. During installation, you can also determine whether the sound output of your Raspberry Pi-Alexa speaker should be via the jack port (3.5 mm) or via the HDMI output. Finally, specify whether you want to keep the default activation word as “Alexa” or use another voice command to start the language wizard.
Latest versionReleased:
Alexa Voice Service Python SDK
Player
We have 3 players (mpv, mpg123 and gstreamer) to use.SpeechSynthesizer and Alerts prefer mpg123 which is more responsive.AudioPlayer likes gstreamer > mpv > mpg123. Gstreamer supports more audio format and works well on raspberry pi. We can also specify the player of AudioPlayer using the environment variable PLAYER.
Recorder
2 recorders (pyaudio & arecord) are available. We can use environment variable RECORDER to specify the recorder. For example, run RECORDER=pyaudio alexa-tap will use pyaudio as the recorder. By default, arecord is used as the recorder.
Keyword detector (optional)
Use PocketSphinx or Snowboy. To use pocketsphinx, install respeaker python library and pocketsphinx.To use Snowboy, go to Snowboy's Github to install it.
If you use raspberry pi and gstreamer, it is likely that gstreamer's default audio sink is GstOMXHdmiAudioSink. It ignores ALSA configurations and outputs audio to HDMI. If you don't want to use HDMI audio output, you should run sudo apt remove gstreamer1.0-omx gstreamer1.0-omx-rpi
For ReSpeaker Core (MT7688)
gstreamer1.0, pyaudio and pocketsphinx and respeaker python library are already installed by default, just run pip install avs
Autocad architecture 2020 mac. For Debian/Ubuntu/Raspbian https://downhfil735.weebly.com/os-x-el-capitan-10-11-0-15a284-download-free.html.
run alexa-audio-check to check if recording & playing is OK. If RMS is not zero, recording is OK, if you can hear alarm, playing is OK
run alexa-auth to login Amazon, it will save authorization information to ~/.avs.json
run alexa-tap, then press Enter to talk with alexa
If you want to use a specified player, use the environment variable PLAYER to specify it, such as PLAYER=mpv alexa-tap or PLAYER=mpg123 alexa or PLAYER=gstreamer alexa
install respeaker and pocketsphinx python packages
sudo pip install respeaker pocketsphinx # pocketsphinx requires gcc toolchain and libpulse-dev
run alexa, then use 'alexa' to start a conversation with alexa, for example, 'alexa, what time is it'
Install Snowboy
Install voice-engine python library
sudo pip install voice-engine
run the following python script and use the keyword alexa to start a conversation with alexa
If you want to use your own client id and product id, try:
create a file named config.json with your product_id, client_id and client_secret
run alexa-auth -c config.json
run alexa-tap or alexa
GNU General Public License v3
This project is based on nicholas-gh/python-alexa-client
This package was created with Cookiecutter_ and the audreyr/cookiecutter-pypackage project template.
0.5.5
Transferring music from mac to samsung galaxy s7. 0.5.4
0.5.3
0.5.1
0.5.0
0.4.0
0.3.0
0.2.2
0.2.1
0.2.0
0.1.1
0.1.0
Foxit pdf mac. 0.0.9
0.0.8
0.0.7
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size avs-0.5.5-py2.py3-none-any.whl (220.0 kB) | File type Wheel | Python version py2.py3 | Upload date | Hashes |
Filename, size avs-0.5.5.tar.gz (218.1 kB) | File type Source | Python version None | Upload date | Hashes |
Algorithm | Hash digest |
---|---|
SHA256 | adfd4b760a1bc6a58eabd0dbb02fc9db88d60c5c884dd03065815233a1e55337 |
MD5 | d2ece861dc7f59a4d77e4c0ce82a82ae |
BLAKE2-256 | bd73e420be72c5723834ef0d5499a05a029c51caf84d521836724a6813a8f4c9 |
Algorithm | Hash digest |
---|---|
SHA256 | 3aabe1a45fe85d98b65b0981d6d109f11cf3c005ba44002e76c29dd2dca2c2cb |
MD5 | 56402214e7e5732d9da631180badcfd6 |
BLAKE2-256 | 909ccb3de628e96b52ed3703caa3b50f23af7b764a80de3da615b439e50757fc |