Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    [DEVEL] Saera: Siri clone for Maemo5, Harmattan and Sailfish OS

    Reply
    Page 67 of 91 | Prev | 57   65     66   67   68     69   77 | Next | Last
    impeham | # 661 | 2013-08-21, 11:15 | Report

    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)

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by impeham; 2013-08-21 at 13:21.
    The Following 3 Users Say Thank You to impeham For This Useful Post:
    bingomion, ranbaxy, Wikiwide

     
    Jannis | # 662 | 2013-08-21, 16:25 | Report

    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.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 7 Users Say Thank You to Jannis For This Useful Post:
    Amboss, bingomion, impeham, Kroll, ranbaxy, Wikiwide

     
    Vento | # 663 | 2013-08-21, 19:12 | Report

    please, change the microphone icon (we need something in "Maemo"\"MeeGo" style xD)

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 3 Users Say Thank You to Vento For This Useful Post:
    bingomion, ranbaxy, Wikiwide

     
    impeham | # 664 | 2013-08-23, 19:05 | Report

    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

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by impeham; 2013-08-23 at 20:03.
    The Following 4 Users Say Thank You to impeham For This Useful Post:
    bingomion, Jannis, ranbaxy, Wikiwide

     
    Jannis | # 665 | 2013-08-25, 19:59 | Report

    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.

    Edit | Forward | Quote | Quick Reply | Thanks
    Attached Files
    File Type: gz voicy_0.2.tar.gz (193.1 KB, 89 views)
    The Following 6 Users Say Thank You to Jannis For This Useful Post:
    bingomion, fw190, impeham, Kroll, ranbaxy, Wikiwide

     
    impeham | # 666 | 2013-08-27, 11:00 | Report

    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

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 5 Users Say Thank You to impeham For This Useful Post:
    Kroll, misiak, ranbaxy, rfeese, Wikiwide

     
    Kroll | # 667 | 2013-08-31, 13:36 | Report

    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!

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 2 Users Say Thank You to Kroll For This Useful Post:
    ranbaxy, Wikiwide

     
    misiak | # 668 | 2013-08-31, 20:43 | Report

    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

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 5 Users Say Thank You to misiak For This Useful Post:
    Estel, fw190, jalyst, ranbaxy, Wikiwide

     
    jalyst | # 669 | 2013-09-06, 10:15 | Report

    +1 Yes please. For Freemantle AND Harmattan.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 4 Users Say Thank You to jalyst For This Useful Post:
    Lucazz990, nokiabot, ranbaxy, Wikiwide

     
    Vento | # 670 | 2013-09-07, 10:29 | Report

    Is there a way to change the default microphone icon?

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to Vento For This Useful Post:
    Wikiwide

     
    Page 67 of 91 | Prev | 57   65     66   67   68     69   77 | Next | Last
vBulletin® Version 3.8.8
Normal Logout