| Reply | « Previous Thread | Next Thread » |
|
Hi! I have a problem, when I run the following script in my emulator:
--------------------------------------------------------------- import appuifw, audio text = appuifw.query(u"Type a word:", "text") audio.say(text) --------------------------------------------------------------- nothing happens, I hear no sound, but when I run it in my phone it works perfect. Also, in my emulator I can hear music. Any idea? Thanks! |
|
Hi,
I think it should work because it work well in phone. One more thing, use the code tag given as '#' symbol at the top so that it maintain the tab and space. Bye Jajal Mehul |
|
Join Date: Feb 2008
Posts: 2,542
Location: Bhavnagar, Gujarat, India
gaba88
Offline
Forum Nokia Champion
|
|
|
Quote:
welcome to the forum nokia python discussion boards. Ya this is the first thing i tried when i started programming for mobiles long ago. But i was failure too and made a wild guess that the sdk is not having the speech engine required to convert text 2 speech. This is just a wild guess i am not confirmed about this. Enjoy Pythoning Gaba88 Gargi Das- http://gargidas.blogsot.com Forum Nokia Python Wiki Learn Python at http://mobapps.org/PyS60 |
|
Join Date: Feb 2008
Posts: 743
Location: Belo Horizonte, Brazil
Rafael T.
Offline
Forum Nokia Champion
|
|
Yes, I guess gaba88 is right. I also tried using audio.say() on emulator and it doesn't work. Maybe the emulator doesn't have the phone's 'voice' for somehow. They could get this to work on next version of PyS60, maybe.
BR, Rafael. |
|
Hi! Thank u everyone.. I´ll probe it only on my phone. Bye!
|
|
Join Date: Feb 2008
Posts: 2,542
Location: Bhavnagar, Gujarat, India
gaba88
Offline
Forum Nokia Champion
|
|
|
Quote:
i guess the problem is not on the pys60 side but its on the sdk side may be some sdk expert can throw some more light on this issue. Enjoy Pythoning Gaba88 Gargi Das- http://gargidas.blogsot.com Forum Nokia Python Wiki Learn Python at http://mobapps.org/PyS60 |
|
SDK requires a plugin to use TTS
|
|
Join Date: Feb 2008
Posts: 743
Location: Belo Horizonte, Brazil
Rafael T.
Offline
Forum Nokia Champion
|
|
Yes, it is on the SDK as Croozeus said, I said that could be in PyS60 because I have never tested playing any audio there, so I thought it didn't work only in PyS60.
Thanks for the correction! BR, Rafael. |
|
Quote:
Remember, TTS in PyS60, is only available from 3rd Edition device onwards... |
|
Join Date: Feb 2008
Posts: 743
Location: Belo Horizonte, Brazil
Rafael T.
Offline
Forum Nokia Champion
|
|
|
Quote:
BR, Rafael. |
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|
| Rate This Thread | |
| Thread | Thread Starter | Forum | Replies | Last Post |
|---|---|---|---|---|
| Python IR remote control! | cassioli | Python | 27 | 2009-01-28 05:24 |
| Recording an audio stream using the Series 60 emulator | rastapasta | Symbian Media (Graphics & Sounds) | 4 | 2007-04-23 12:46 |
| Half Duplex Audio Streaming | subhrajyotisaha | Symbian Media (Graphics & Sounds) | 0 | 2006-05-25 05:39 |