Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jarvis ne me comprend pas . #1010

Open
seniorpapou opened this issue Jul 8, 2022 · 0 comments
Open

Jarvis ne me comprend pas . #1010

seniorpapou opened this issue Jul 8, 2022 · 0 comments

Comments

@seniorpapou
Copy link

Description

Français and English are allowed.
Detailed description of your problem.
In case of feature request, please provide justification & example of usage.

Raspberry pi4
Python 3

Bonjour,
Jarvis intallé.
je réussis à le faire démarrer.. je prononce son nom (Hector) ou même n'importe quoi,
J'ai bien l"echo" dans le haut-parleur , donc l'audio fonctionne. J'ai aussi, de temps en temps un petit "clac" après avoir dit son nom.
Il n'y a aucune réponse . Probablement mauvaise definition pour la reconnaissance : mon choix :pocketsphinx
PocketSphinx dictionary (stt_engines/pocketsphinx/jarvis-dictionary.dic) │
│PocketSphinx language model (stt_engines/pocketsphinx/jarvis-languagemodel│
│PocketSphinx logs (/dev/null)

Merci de m'orienter afin que je puisse vous fournir des informations complémentaires.
"""
{"version": 2, "width": 80, "height": 24, "timestamp": 1657272767, "env": {"SHELL": "/bin/bash", "TERM": "xterm-256color"}}
[0.02676, "o", "\u001b[?2004hpi@raspberrypi:/jarvis$ "]
[7.055963, "o", "sudo apt-get install -y asciinema && asciinema rec"]
[8.73729, "o", "\r\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C^[[200
sudo apt-get install -y asciinema && asciinema rec # start session recording"]
[9.625656, "o", "\u001b[A\b\b\b./jarvis.sh -nv\u001b[K\r\n\r\u001b[K\u001b[A\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C"]
[11.54793, "o", "\r\n\u001b[?2004l\r"]
[11.634801, "o", "\u001b[2mNotice: you can use 'jarvis' instead of './jarvis.sh'\u001b[0m\r\n"]
[11.882205, "o", "\u001b[2m\r\n------------ Config ------------\r\n"]
[11.88255, "o", "jv_branch master \r\njv_version \r\njv_arch aarch64 \r\njv_os_name debian \r\njv_os_version 11 \r\nlanguage fr_FR \r\nplay_hw false \r\nrec_hw hw:1,0 \r\n"]
[11.882786, "o", "speaker Default \r\nmicrophone JMTek, LLC. KLIM Talk \r\nrecorder sox \r\ntrigger_stt pocketsphinx \r\ncommand_stt pocketsphinx \r\ntts_engine svox_pico \r\n"]
[11.883088, "o", "--------------------------------\r\n\u001b[0m\r\n"]
[11.90313, "o", "\u001b[2mDEBUG: program_startup hook\u001b[0m\r\n"]
[11.916159, "o", "\u001b[2mDEBUG: start_speaking hook "Hello"\u001b[0m\r\n\u001b[95mHector\u001b[0m: Hello\r\n"]
[13.019951, "o", "\u001b[2mDEBUG: stop_speaking hook\u001b[0m\r\n"]
[13.020901, "o", "\u001b[94mUser defined commands:\u001b[0m\r\n"]
[13.028959, "o", "\u001b[2mAIDE\t\t\tBONJOUR|SALUT\tCOMMENTAPPELLE*\r\nMERCI\t\t\tAU REVOIR|BYE\tANNULE*|TERMINE*\r\nENCORE*\t\t\tTEST\t\t\tVERSION\r\nREPETE () ET ()\tCA VA*\t\t\t>OUI\r\n>NON|PAS\u001b[0m"]
[13.02972, "o", "\r\n"]
[13.030909, "o", "\u001b[95mHector\u001b[0m: Waiting to hear 'Hector'\r\n\u001b[96mpapou\u001b[0m: "]
[13.101909, "o", "\u001b[2m(listening...)\u001b[0m\r\n"]
[13.103278, "o", "\u001b[2m rec -V1 -q -r 16000 -c 1 -b 16 -e signed-integer --endian little /dev/shm/jarvis-record.wav gain 0 silence 1 0.1 1% 1 0.5 1% pad 0.5 0.5 trim 0 5\u001b[0m\r\n"]
[32.317543, "o", "\u001b[2mDEBUG: speech duration was 15 (10 = 1 sec)\u001b[0m\r\n"]
[34.203309, "o", "|\b"]
[34.306622, "o", "/\b"]
[34.410625, "o", "-\b"]
[34.51439, "o", "\\b"]
[34.620766, "o", "\u001b[2m(listening...)\u001b[0m\r\n"]
[34.621355, "o", "\u001b[2m rec -V1 -q -r 16000 -c 1 -b 16 -e signed-integer --endian little /dev/shm/jarvis-record.wav gain 0 silence 1 0.1 1% 1 0.5 1% pad 0.5 0.5 trim 0 5\u001b[0m\r\n"]
[37.374083, "o", "\u001b[2mDEBUG: speech duration was 15 (10 = 1 sec)\u001b[0m\r\n"]
[39.234652, "o", "|\b"]
[39.339787, "o", "/\b"]
[39.445658, "o", "-\b"]
[39.549921, "o", "\\b"]
[39.657191, "o", "\u001b[2m(listening...)\u001b[0m\r\n"]
[39.657856, "o", "\u001b[2m rec -V1 -q -r 16000 -c 1 -b 16 -e signed-integer --endian little /dev/shm/jarvis-record.wav gain 0 silence 1 0.1 1% 1 0.5 1% pad 0.5 0.5 trim 0 5\u001b[0m\r\n"]
[41.328642, "o", "\u001b[2mDEBUG: speech duration was 10 (10 = 1 sec)\u001b[0m\r\n"]
[43.185554, "o", "|\b"]
[43.286212, "o", "/\b"]
[43.389884, "o", "-\b"]
[43.493332, "o", "\\b"]
[43.599588, "o", "\u001b[2m(listening...)\u001b[0m\r\n"]
[43.600315, "o", "\u001b[2m rec -V1 -q -r 16000 -c 1 -b 16 -e signed-integer --endian little /dev/shm/jarvis-record.wav gain 0 silence 1 0.1 1% 1 0.5 1% pad 0.5 0.5 trim 0 5\u001b[0m\r\n"]
[45.820783, "o", "\u001b[2mDEBUG: speech duration was 18 (10 = 1 sec)\u001b[0m\r\n"]
[47.698994, "o", "|\b"]
[47.801958, "o", "/\b"]
[47.90802, "o", "-\b"]
[48.011703, "o", "\\b"]
[48.118363, "o", "\u001b[2m(listening...)\u001b[0m\r\n"]
[48.118927, "o", "\u001b[2m rec -V1 -q -r 16000 -c 1 -b 16 -e signed-integer --endian little /dev/shm/jarvis-record.wav gain 0 silence 1 0.1 1% 1 0.5 1% pad 0.5 0.5 trim 0 5\u001b[0m\r\n"]
[62.449718, "o", "^C"]
[62.726564, "o", "\u001b[0m\r\n"]
[62.727434, "o", "\u001b[2mDEBUG: program_exit hook\u001b[0m\r\n"]
[62.734215, "o", "\u001b[?2004hpi@raspberrypi:~/jarvis$ "]
[65.634091, "o", "\u001b[?2004l\r\r\nexit\r\n"]

"""

Alternatively attach a terminal session recording using asciinema:

sudo apt-get install -y asciinema && asciinema rec # start session recording
./jarvish.sh -nv # start jarvis directly in troubleshooting mode
Ctrl+D # stop recording
y # yes to upload and get URL to paste here
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant