1 new commit in googleSpeechRecognition: https://bitbucket.org/nvdaaddonteam/googlespeechrecognition/commits/181fa5b56ace/ Changeset: 181fa5b56ace Branch: master User: parkcorp Date: 2013-08-02 16:22:06 Summary: added flac encoder Affected #: 3 files diff --git a/addon/globalPlugins/googleSpeechRecognition/flac.exe b/addon/globalPlugins/googleSpeechRecognition/flac.exe new file mode 100644 index 0000000..2815fbf Binary files /dev/null and b/addon/globalPlugins/googleSpeechRecognition/flac.exe differ diff --git a/addon/globalPlugins/googleSpeechRecognition/plumbum/machines/local.py b/addon/globalPlugins/googleSpeechRecognition/plumbum/machines/local.py index 6dbbe92..23bed18 100644 --- a/addon/globalPlugins/googleSpeechRecognition/plumbum/machines/local.py +++ b/addon/globalPlugins/googleSpeechRecognition/plumbum/machines/local.py @@ -5,7 +5,6 @@ import subprocess import logging import stat import time -import platform import six import re from plumbum.path.local import LocalPath, LocalWorkdir @@ -117,7 +116,6 @@ class LocalMachine(object): cwd = LocalWorkdir() env = LocalEnv() encoding = sys.getfilesystemencoding() - uname = platform.uname()[0] def __init__(self): self._as_user_stack = [] diff --git a/addon/globalPlugins/googleSpeechRecognition/spk2txt.py b/addon/globalPlugins/googleSpeechRecognition/spk2txt.py index 72741ef..7623ccc 100644 --- a/addon/globalPlugins/googleSpeechRecognition/spk2txt.py +++ b/addon/globalPlugins/googleSpeechRecognition/spk2txt.py @@ -12,7 +12,10 @@ sys.path.append(impPath) import plumbum del sys.path[-1] import threading -from plumbum.cmd import flac +from plumbum import local + +#flac = local[os.path.join(os.path.abspath('.'), 'flac.exe')] +flac = local[os.path.join(os.path.dirname(__file__), "flac.exe")] CHUNK = 1024 FORMAT = pyaudio.paInt16 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