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 fonctionne plus en audio #957

Open
jackkkk93350 opened this issue Nov 17, 2019 · 5 comments
Open

Jarvis ne fonctionne plus en audio #957

jackkkk93350 opened this issue Nov 17, 2019 · 5 comments

Comments

@jackkkk93350
Copy link

jackkkk93350 commented Nov 17, 2019

08AAF346-2478-45F6-A084-23987B20F770

bonjour,
Jarvis fonctionnait bien jusque là que se soit avec le micro ou en mode clavier.
Depuis 3 jours le mode clavier fonctionne toujours bien mais avec le micro les réponses renvoyée par site ne sont plus prise en compte.

@jackkkk93350
Copy link
Author

6DBB67C4-DC27-4276-823D-F7992F223D17
EFFF8BD3-3CFE-4926-A211-FAB65031F3F3

@wormch
Copy link

wormch commented Nov 21, 2019

Il faut corriger une ligne dans la détection du STT, a la place de:

perl -lne 'print $1 if m{"name":"([^"]*)"}'

faut mettre:

jq -r '._text'

Example pour wit.ai:

_wit_transcribe () {
json=curl -XPOST 'https://api.wit.ai/speech?v=20170307' -s -L -H "Authorization: Bearer $wit_server_access_token" -H "Content-Type: audio/wav" --data-binary "@$audiofile"
$verbose && jv_debug "DEBUG: $json"
#echo $json | perl -lne 'print $1 if m{"name":"([^"]*)"}' > $forder
echo $json | jq -r '._text' > $forder
}

@testsky680
Copy link

Merci beaucoup ça fonctionne ;)

@jackkkk93350
Copy link
Author

merci de ta réponse je teste et vous tiens au courant

@jackkkk93350
Copy link
Author

Merci tout fonctionne a nouveau

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

3 participants