Skip to content

Commit

Permalink
Update and rename AndVoiRec-Speech.py to AndSpeRec-Speech.py
Browse files Browse the repository at this point in the history
  • Loading branch information
LunDev committed Apr 24, 2015
1 parent cae7544 commit ad27938
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
16 changes: 16 additions & 0 deletions home/MaVo/AndSpeRec-Speech.py
@@ -0,0 +1,16 @@
#AndroidSpeechRecognition combined with Speech
from java.lang import String

#creating services
asr = Runtime.start("asr", "AndroidSpeechRecognition")
speech = Runtime.start("speech", "Speech")

#recognition-def
def heard(data):
print data
speech.speakBlocking(data);
#asr.sendToClient(data);
asr.startRecognition();

#adding listener
asr.addListener("recognized", python.name, "heard", String().getClass());
16 changes: 0 additions & 16 deletions home/MaVo/AndVoiRec-Speech.py

This file was deleted.

0 comments on commit ad27938

Please sign in to comment.