Last active
October 6, 2018 01:51
-
-
Save alexglow/ddaa3ae879110c905ceb1f747c5879e9 to your computer and use it in GitHub Desktop.
snips ai output
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AlexBox:~ alex$ sam install assistant -i proj_59lE2amy64B5 | |
Downloading assistant | |
NLU training done | |
ASR training done | |
✔ Deploying assistant to raspberrypi.local... | |
Checking for skills | |
Cloning skill Snips.TimesTables_EN from url: https://github.com/snipsco/snips-skill-times-tables-quiz | |
Cloning into 'snips-skill-times-tables-quiz'... | |
Warning: Some actions are not executable. Snips-skill-server won't be able to run them. Files: | |
/var/lib/snips/skills/snips-skill-times-tables-quiz/action-quizz.py | |
To change the permission on your device, run: | |
chmod +x /var/lib/snips/skills/snips-skill-times-tables-quiz/action-quizz.py | |
✔ Generating virtual environment for python actions | |
Checking actions for end-user parameters | |
Relaunching snips-skill-server | |
✔ Snips assistant is now running. Say jarvis to start! | |
i Run sam watch to see the logs | |
AlexBox:~ alex$ sam watch | |
[18:21:24] Watching on localhost:1883 (MQTT) | |
^C | |
AlexBox:~ alex$ sam test speaker | |
Testing speaker | |
✔ Playing sound on your speaker. Press Enter to stop... | |
Playing sound on your speaker. Press Enter to stop... done | |
i Didn't hear anything ? Run : sam setup audio | |
AlexBox:~ alex$ sam test microphone | |
i Plug in your microphone and turn on your speaker | |
Stopping snips audio server | |
✔ Say something in the microphone, then press a key to continue... | |
✔ Playing the recording | |
Relaunching snips-audio-server | |
i Didn't hear anything? Check the recording level of your microphone and the volume of the speaker. | |
i Alternatively you can run sam setup audio to setup your microphone | |
AlexBox:~ alex$ sam watch | |
[18:22:41] Watching on localhost:1883 (MQTT) | |
^C | |
// For this one, I did run the chmod command on the Pi in order to enable the response. I also re-tested the mic and speaker, both of which worked fine. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AlexBox:~ alex$ sam install demo | |
✔ Installing Snips fake weather demo | |
Checking for skills | |
Cloning skill from url: https://github.com/snipsco/snips-skill-weather-tts.git | |
Cloning into 'snips-skill-weather-tts'... | |
✔ Installing pip and virtualenv. This could take a while. | |
✔ Generating virtual environment for python actions | |
Checking actions for end-user parameters | |
Relaunching snips-skill-server | |
✔ Snips assistant is now running. Say hey_snips to start! | |
i Run sam watch to see the logs | |
AlexBox:~ alex$ sam watch | |
[18:10:25] Watching on localhost:1883 (MQTT) | |
^C | |
// For this one, I waited about a minute to see if any response would happen (or the command would terminate), but nothing happened. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AlexBox:~ alex$ sam status | |
Connected to device raspberrypi.local | |
OS version ................... Raspbian GNU/Linux 9 (stretch) | |
Installed assistant .......... WISE | |
Language ..................... en | |
Hotword ...................... jarvis | |
ASR engine ................... snips | |
Status ....................... Live | |
Service status: | |
snips-analytics .............. 0.58.3 (running) | |
snips-asr .................... 0.58.3 (running) | |
snips-audio-server ........... 0.58.3 (running) | |
snips-dialogue ............... 0.58.3 (running) | |
snips-hotword ................ 0.58.3 (running) | |
snips-nlu .................... 0.58.3 (running) | |
snips-skill-server ........... 0.58.3 (running) | |
snips-tts .................... 0.58.3 (running) |
I hit this wall before, when I tried to run a demo on the MATRIX Voice long ago, after installing the one that flashes red LEDs in response to my voice.
Here are similar descriptions of issues, from the forum, none of which seem to be resolved:
- https://community.matrix.one/t/solved-microphone-issues/1450/4 – seemed to be happening on Alexa
- https://community.matrix.one/t/alexa-with-matrix-creator/1079
- Here's one that seems to have been solved, also on Alexa – https://community.matrix.one/t/solved-matrix-voice-and-alexa-sdk-no-audio-output-issue/1454/19 – but the command they suggested returns "gst-launch-1.0: command not found", which is not too surprising.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I ran both of these tests over ssh.
Problem description: