Classes | Functions | Variables
alfred_sr_linux::gspeech_node Namespace Reference

Classes

class  SpeechNode

Functions

def run

Variables

string cmd1 = 'sox -r 16000 -t alsa default /tmp/recording.flac silence 1 0.3 1% 1 2.0 1%'
string cmd2 = 'wget -q -U "Mozilla/5.0" --remote-encoding=utf-8 --post-file /tmp/recording.flac --header="Content-Type: audio/x-flac; rate=16000" -O - "http://www.google.com/speech-api/v1/recognize?client=chromium&lang=fr-FR"'
string lang = 'fr-FR'
string NODE = 'system_speech'
string PACKAGE = 'alfred_sr_linux'
string PUB_CONFIDENCE = 'confidence'
string PUB_SPEECH = 'speech'

Function Documentation

Definition at line 73 of file gspeech_node.py.


Variable Documentation

string alfred_sr_linux::gspeech_node::cmd1 = 'sox -r 16000 -t alsa default /tmp/recording.flac silence 1 0.3 1% 1 2.0 1%'

Definition at line 20 of file gspeech_node.py.

string alfred_sr_linux::gspeech_node::cmd2 = 'wget -q -U "Mozilla/5.0" --remote-encoding=utf-8 --post-file /tmp/recording.flac --header="Content-Type: audio/x-flac; rate=16000" -O - "http://www.google.com/speech-api/v1/recognize?client=chromium&lang=fr-FR"'

Definition at line 22 of file gspeech_node.py.

Definition at line 19 of file gspeech_node.py.

string alfred_sr_linux::gspeech_node::NODE = 'system_speech'

Definition at line 5 of file gspeech_node.py.

string alfred_sr_linux::gspeech_node::PACKAGE = 'alfred_sr_linux'

Definition at line 4 of file gspeech_node.py.

Definition at line 8 of file gspeech_node.py.

Definition at line 7 of file gspeech_node.py.



alfred_sr_linux
Author(s): Mickael Gaillard
autogenerated on Sat Jun 8 2019 20:28:55