The Following 9 Users Say Thank You to MartinK For This Useful Post: | ||
|
2012-06-13
, 22:12
|
Posts: 959 |
Thanked: 3,427 times |
Joined on Apr 2012
|
#152
|
I had the same issue with my Python programs - I've fixed it like this:
@packagingCode:# set current directory to the directory # of this file # like this, modRana can be run from an absolute path # eq.: ./opt/modrana/modrana.py -u QML -d n9 import os os.chdir(os.path.dirname(os.path.abspath(__file__)))
I'm using a slightly modified khertans sdist_maemo and it works quite nicely. There is also a (slightly outdated) example how I do it.
|
2012-06-14
, 13:40
|
Posts: 3,328 |
Thanked: 4,476 times |
Joined on May 2011
@ Poland
|
#153
|
The Following User Says Thank You to marmistrz For This Useful Post: | ||
|
2012-06-14
, 14:53
|
Posts: 1,424 |
Thanked: 2,623 times |
Joined on Jan 2011
@ Touring
|
#154
|
So it doesn't matter whether the headset is wired or wireless (bluetooth), the dbus signal will be the same? If yes, I can come up with minimalistic C and Python example for you taxizo, as I have wired headset (but I don't have any wireless, so I'm only able to test with wired one).
edit: ... Anyway, I'm up for writing a simple example, give me few hours
The Following User Says Thank You to biketool For This Useful Post: | ||
|
2012-06-14
, 17:17
|
Posts: 58 |
Thanked: 12 times |
Joined on Apr 2012
@ philippines
|
#155
|
I couldn't find one, so I decided to make my own. Saera can do some tasks (such as setting alarms etc) and make some conversation, although not very well (might someone be interested in helping with the A.I.?)
Saera uses Pocketsphinx for voice recognition, eSpeak to talk and PyGTK for the GUI.
Edit [2012-06-11 3:14 pm]: Improved recognition accuracy
Edit: Latest source files attached.
|
2012-06-14
, 20:43
|
Posts: 108 |
Thanked: 119 times |
Joined on Aug 2010
@ Dresden - Germany
|
#156
|
The Following User Says Thank You to AlphaX2 For This Useful Post: | ||
|
2012-06-14
, 23:00
|
Posts: 56 |
Thanked: 19 times |
Joined on Jan 2012
|
#157
|
|
2012-06-14
, 23:10
|
Posts: 959 |
Thanked: 3,427 times |
Joined on Apr 2012
|
#158
|
Could you please post a list with all dependencies and just a question: Will I just find in saera.py GUI related stuff like GObject and Hildon, or also anywhere else?
I could try to port it to the N9, but it's just a first try, nothing more, seems not to be sooo easy to translate it all to QML.
EDIT: Okay most easy way to go could be just adding this repo to the N9:
http://talk.maemo.org/showthread.php?t=79229
AlphaX2
what is wrong.. pls help.. i m new to do this..
The Following User Says Thank You to taixzo For This Useful Post: | ||
|
2012-06-14
, 23:17
|
Posts: 56 |
Thanked: 19 times |
Joined on Jan 2012
|
#159
|
|
2012-06-15
, 09:43
|
|
Posts: 855 |
Thanked: 612 times |
Joined on Oct 2010
@ Germany
|
#160
|
ok.. when it'll b in repos.. can u tell me how i can do this with terminal pls..
The Following 2 Users Say Thank You to Alfred For This Useful Post: | ||
Tags |
saera, speech-to-text |
|
I'm using a slightly modified khertans sdist_maemo and it works quite nicely. There is also a (slightly outdated) example how I do it.
modRana: a flexible GPS navigation system
Mieru: a flexible manga and comic book reader
Universal Components - a solution for native looking yet component set independent QML appliactions (QtQuick Controls 2 & Silica supported as backends)
Last edited by MartinK; 2012-06-13 at 17:54.