|
2013-06-26
, 20:17
|
Posts: 21 |
Thanked: 102 times |
Joined on Apr 2010
|
#652
|
|
2013-06-27
, 18:17
|
Posts: 77 |
Thanked: 76 times |
Joined on Feb 2010
|
#653
|
|
2013-06-27
, 21:04
|
Posts: 21 |
Thanked: 102 times |
Joined on Apr 2010
|
#654
|
@Jannis: I'm trying to run this but I'm getting the following errors:
opt/voicy $ ./voicy.py
Can't open /sys/class/leds/lp5523:r/brightness
|
2013-07-20
, 15:31
|
Posts: 21 |
Thanked: 102 times |
Joined on Apr 2010
|
#655
|
|
2013-08-16
, 20:44
|
Posts: 669 |
Thanked: 433 times |
Joined on May 2010
|
#656
|
Has anyone managed to test voicy?
I would like to know, whether there is a demand for other particular voicy-control functionalities.
|
2013-08-17
, 09:19
|
Posts: 71 |
Thanked: 177 times |
Joined on Aug 2013
|
#657
|
|
2013-08-18
, 08:42
|
Posts: 21 |
Thanked: 102 times |
Joined on Apr 2010
|
#658
|
[Edit]
after installing "gstreamer0.10-pocketsphinx" this error is gone, but i'm getting a new one when starting voicy.py:
---
Traceback (most recent call last):
File "./voicy.py", line 344, in <module>
app = VoicyGUI()
File "./voicy.py", line 60, in __init__
VoicyCore.__init__(self)
File "/opt/voicy/VoicyCore.py", line 43, in __init__
self.init_gst()
File "/opt/voicy/VoicyCore.py", line 111, in init_gst
asr.connect('result_score', self.asr_result_score)
TypeError: <__main__.GstPocketSphinx object (asr) at 0x4118f0>: unknown signal name: result_score
---
asr.connect('result_score', self.asr_result_score)
try: asr.connect('result_score', self.asr_result_score) except: self.print_debug("patched version of pocketsphinx not installed")
|
2013-08-20
, 02:13
|
Posts: 669 |
Thanked: 433 times |
Joined on May 2010
|
#659
|
Sorry for that error.
Please either use the patched version of pocketsphinx (it's included in the zip file) or change the line in VoicyCore.py
intoCode:asr.connect('result_score', self.asr_result_score)
Code:try: asr.connect('result_score', self.asr_result_score) except: self.print_debug("patched version of pocketsphinx not installed")
|
2013-08-20
, 21:30
|
Posts: 21 |
Thanked: 102 times |
Joined on Apr 2010
|
#660
|
i couldn't find the pocketsphinx.so file in the target dir - should it be renamed to libpocketsphinx.so.1?
trying to change the source code gave the following error:
[root /opt/voicy]# ./voicy.py
process 1753: arguments to dbus_connection_get_data() were incorrect, assertion "connection != NULL" failed in file dbus-connection.c line 5757.
This is normally a bug in some application using the D-Bus library.
process 1753: arguments to dbus_connection_set_data() were incorrect, assertion "connection != NULL" failed in file dbus-connection.c line 5721.
This is normally a bug in some application using the D-Bus library.
Aborted
import subprocess as sb sb.call('dbus-send --dest=com.nokia.mafw.renderer.Mafw-Gst-Renderer-Plugin.gstrenderer /com/nokia/mafw/renderer/gstrenderer com.nokia.mafw.renderer.pause', shell=True)
import dbus bus = dbus.SessionBus() obj = bus.get_object("com.nokia.mafw.renderer.Mafw-Gst-Renderer-Plugin.gstrenderer", "/com/nokia/mafw/renderer/gstrenderer") mafw = dbus.Interface(obj, "com.nokia.mafw.extension") volume = int(mafw.get_extension_property("volume")[1]) print volume
Tags |
saera, speech-to-text |
|