View Single Post
Blaizzen's Avatar
Posts: 397 | Thanked: 802 times | Joined on Jan 2010 @ Sydney
#425
Originally Posted by weavin42 View Post
I'm not exactly sure how to phrase my question but here it what I am trying to do. You can edit /etc/pulse/xpolicy.conf and add an espeak stream so espeak will play at the same time as a media player or rockbox. This works fine and can be tested in OVMserver but the guided voices do not play and therefore nothing plays in ovi maps. What program do I need to add to xpolicy.conf to play these files at the same time as my other media. Is there anyway to pause the media playback?

Also, how do I change the wav volume for espeak if it is too low. The volume is at max in OVMserver but it is too low. I am using MBROLA if that matters.

Thanks for the amazing work on this! One other thought, is it possible to create a poi from microb?
aplay is used to play the sound commands if that's what your looking for
Code:
                    QStringList arguments;
                    arguments << fileLocation;

                    QProcess *aplayServer = new QProcess(this);

                    aplayServer->execute("/usr/bin/aplay",arguments);
Regarding the volume, its odd that its still so low. Try without the mbrola as it could be the cause. Otherwise make sure the system volume is to the max. My app does try to set the volume using the -a {vol} argument. If you want, try using espeak from the xterm and see if its the same (with or without the -a argument).

Lastly, you can get POI data from microB. Even from your browser on your desktop.
Code:
http://where.s2g.gate5.de/nsp?q={Search Item}&vi=where&lat={latitude}&lon={longitude}&of=0&to=10&la=en-GB,en-GB&dv=oviMaps&rid=qq4y1Y3M
Save the resultant xml page as your poi-name and copy to your N900



Edit: I should mention that if the POI results contain more than one item, ovi maps will still display them all from the poi data. For example searching for pizza and say it brings back 5 places around you, if you save this as a poi-pizza, and search for it again (by searching for poi-pizza), it'll bring back the same 5 results. It can be useful if you have a set of destinations you want to go to together (deliveries etc). I believe ovi maps will display arrows for you to cycle through the results.

Last edited by Blaizzen; 2011-05-04 at 04:09.
 

The Following 2 Users Say Thank You to Blaizzen For This Useful Post: