Active Topics

 



Notices


Reply
Thread Tools
Posts: 669 | Thanked: 433 times | Joined on May 2010
#661
i'm running "python ./voicy.py" from xterm (as root) and getting the same when running
su user -c "python /opt/voicy/voicy.py" (as user)

hmm - i don't have the file "pocketsphinx.so" in /usr/lib/pyshared/python2.5 - just "hildondesktop.so" and a folder named "gtk-2.0".

Am i missing packages? searching for "pockets*" in the repositories i found a few packages - which of them should i make sure to be installed?

found the following (which are not installed on my device):
---
libsphinxbase1 - Sphinx base libraries
python-sphinxbase - Sphinx base libraries - Python module
libsphinxbase-dev - Development files for Sphinx base libraries
python-pocketsphinx - lightweight speech recognition - Python module
libpocketsphinx-dev - Development files for Pocketsphinx.
pocketsphinx-utils - lightweight speech recognition - command-line tools
python-pocketsphinx-dbg - lightweight speech recognition - Python module (debug version)
pocketsphinx-hmm-en-hub4wsj - Lightweight speech recognition - English acoustic model
pocketsphinx-lm-zh-hant-gigatdt - Lightweight speech recognition - Traditional Chinese language model
pocketsphinx-hmm-en-tidigits - lightweight speech recognition - TIDIGITS models
pocketsphinx-lm-en-hub4 - Lightweight speech recognition - HUB4 language model
pocketsphinx-zh-tidigits - lightweight speech recognition - Mandarin acoustic models

---

i also tried this code in python while open media player is playing:

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)

the result is:
"Failed to open connection to "session" message bus: (null)

Last edited by impeham; 2013-08-21 at 13:21.
 

The Following 3 Users Say Thank You to impeham For This Useful Post:
Posts: 21 | Thanked: 102 times | Joined on Apr 2010
#662
Originally Posted by impeham View Post
i'm running "python ./voicy.py" from xterm (as root) and getting the same when running
su user -c "python /opt/voicy/voicy.py" (as user)

hmm - i don't have the file "pocketsphinx.so" in /usr/lib/pyshared/python2.5 - just "hildondesktop.so" and a folder named "gtk-2.0".

Am i missing packages? searching for "pockets*" in the repositories i found a few packages - which of them should i make sure to be installed?

found the following (which are not installed on my device):
---
libsphinxbase1 - Sphinx base libraries
python-sphinxbase - Sphinx base libraries - Python module
libsphinxbase-dev - Development files for Sphinx base libraries
python-pocketsphinx - lightweight speech recognition - Python module
libpocketsphinx-dev - Development files for Pocketsphinx.
pocketsphinx-utils - lightweight speech recognition - command-line tools
python-pocketsphinx-dbg - lightweight speech recognition - Python module (debug version)
pocketsphinx-hmm-en-hub4wsj - Lightweight speech recognition - English acoustic model
pocketsphinx-lm-zh-hant-gigatdt - Lightweight speech recognition - Traditional Chinese language model
pocketsphinx-hmm-en-tidigits - lightweight speech recognition - TIDIGITS models
pocketsphinx-lm-en-hub4 - Lightweight speech recognition - HUB4 language model
pocketsphinx-zh-tidigits - lightweight speech recognition - Mandarin acoustic models

---

i also tried this code in python while open media player is playing:

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)

the result is:
"Failed to open connection to "session" message bus: (null)
Yes you are obviously missing some packages.
In http://talk.maemo.org/showpost.php?p...&postcount=652 I listed what packages are needed.

Taixo here provided the links where you can download these packages.


I hope I will find the time to build a deb-package for voicy to allow an easy installation.
 

The Following 7 Users Say Thank You to Jannis For This Useful Post:
Posts: 178 | Thanked: 91 times | Joined on May 2011 @ Mira (Venice) - Italy
#663
please, change the microphone icon (we need something in "Maemo"\"MeeGo" style xD)
 

The Following 3 Users Say Thank You to Vento For This Useful Post:
Posts: 669 | Thanked: 433 times | Joined on May 2010
#664
Originally Posted by Jannis View Post
Yes you are obviously missing some packages.
In http://talk.maemo.org/showpost.php?p...&postcount=652 I listed what packages are needed.

Taixo here provided the links where you can download these packages.


I hope I will find the time to build a deb-package for voicy to allow an easy installation.
Finally - working - thanks

i wish to use the patched version of pocketsphinx, but there is no "pocketsphinx.so" in /usr/lib/pyshared/python2.5. i searched the rootfs and optfs for this file name and these are the only results i found with a similar name:

/usr/lib/gstreamer-0.10/libgstpocketsphinx.so
/usr/lib/libpocketsphinx.so.1
/usr/lib/libpocketsphinx.so.1.1.0

Last edited by impeham; 2013-08-23 at 20:03.
 

The Following 4 Users Say Thank You to impeham For This Useful Post:
Posts: 21 | Thanked: 102 times | Joined on Apr 2010
#665
Originally Posted by impeham View Post
Finally - working - thanks

i wish to use the patched version of pocketsphinx, but there is no "pocketsphinx.so" in /usr/lib/pyshared/python2.5. i searched the rootfs and optfs for this file name and these are the only results i found with a similar name:

/usr/lib/gstreamer-0.10/libgstpocketsphinx.so
/usr/lib/libpocketsphinx.so.1
/usr/lib/libpocketsphinx.so.1.1.0
Oh you are right! The file /usr/lib/gstreamer-0.10/libgstpocketsphinx.so is the one that I patched.

Attached is an updated version of voicy.
Besides some minor changes it includes the (right) patched pocketsphinx - file and a function to initiate a phone call by
dictating a name.
Attached Files
File Type: gz voicy_0.2.tar.gz (193.1 KB, 94 views)
 

The Following 6 Users Say Thank You to Jannis For This Useful Post:
Posts: 669 | Thanked: 433 times | Joined on May 2010
#666
Originally Posted by Jannis View Post
Oh you are right! The file /usr/lib/gstreamer-0.10/libgstpocketsphinx.so is the one that I patched.

Attached is an updated version of voicy.
Besides some minor changes it includes the (right) patched pocketsphinx - file and a function to initiate a phone call by
dictating a name.
Maybe you should open a separate thread for this
 

The Following 5 Users Say Thank You to impeham For This Useful Post:
Posts: 637 | Thanked: 445 times | Joined on Dec 2009 @ Kaliningrad, Russia
#667
Originally Posted by impeham View Post
Maybe you should open a separate thread for this
Definitely, and do not forget to pack it in .deb. This way you can expect more people to install and test your application!
 

The Following 2 Users Say Thank You to Kroll For This Useful Post:
Posts: 805 | Thanked: 1,605 times | Joined on Feb 2010 @ Gdynia, Poland
#668
Originally Posted by Kroll View Post
Definitely, and do not forget to pack it in .deb. This way you can expect more people to install and test your application!
and upload it to the repos
 

The Following 5 Users Say Thank You to misiak For This Useful Post:
Moderator | Posts: 5,320 | Thanked: 4,464 times | Joined on Oct 2009
#669
+1 Yes please. For Freemantle AND Harmattan.
 

The Following 4 Users Say Thank You to jalyst For This Useful Post:
Posts: 178 | Thanked: 91 times | Joined on May 2011 @ Mira (Venice) - Italy
#670
Is there a way to change the default microphone icon?
 

The Following User Says Thank You to Vento For This Useful Post:
Reply

Tags
saera, speech-to-text


 
Forum Jump


All times are GMT. The time now is 16:45.