[nvda-addons] commit/googleSpeechRecognition: parkcorp: added beeps to start/stop recording

  • From: commits-noreply@xxxxxxxxxxxxx
  • To: nvda-addons@xxxxxxxxxxxxx
  • Date: Thu, 01 Aug 2013 04:00:11 -0000

1 new commit in googleSpeechRecognition:

https://bitbucket.org/nvdaaddonteam/googlespeechrecognition/commits/785af0e1f4bc/
Changeset:   785af0e1f4bc
Branch:      master
User:        parkcorp
Date:        2013-08-01 05:58:18
Summary:     added beeps to start/stop recording

Affected #:  1 file

diff --git a/addon/globalPlugins/googleSpeechRecognition/__init__.py 
b/addon/globalPlugins/googleSpeechRecognition/__init__.py
index 8c8b145..8ce8bf9 100644
--- a/addon/globalPlugins/googleSpeechRecognition/__init__.py
+++ b/addon/globalPlugins/googleSpeechRecognition/__init__.py
@@ -4,6 +4,7 @@ from spk2txt import spk2txt
 import globalPluginHandler
 import globalVars
 import ui
+import tones
 import addonHandler
 addonHandler.initTranslation()
 
@@ -21,9 +22,10 @@ class GlobalPlugin(globalPluginHandler.GlobalPlugin):
                if not self.recognizer:
                        self.recognizer = spk2txt()
                        self.recognizer.start()
-                       ui.message(_("recording started"))
+                       tones.beep(1000,300)
                else:
                        self.recognizer.stop()
+                       tones.beep(500,300)
                        self.recognizer.join()
                        self.text = self.recognizer.text
                        self.recognizer = None

Repository URL: https://bitbucket.org/nvdaaddonteam/googlespeechrecognition/

--

This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.
----------------------------------------------------------------

NVDA add-ons Central: A list for discussing NVDA add-ons

To post a message, send an email to nvda-addons@xxxxxxxxxxxxx.

To unsubscribe, send an email with the subject line of "unsubscribe" (without 
quotes) to nvda-addons-request@xxxxxxxxxxxxx.

If you have questions for list moderators, please send a message to 
nvda-addons-moderators@xxxxxxxxxxxxx.

Community addons can be found here: http://addons.nvda-project.org

Other related posts:

  • » [nvda-addons] commit/googleSpeechRecognition: parkcorp: added beeps to start/stop recording - commits-noreply