maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [SFOS] [Announce] Poor Maps (https://talk.maemo.org/showthread.php?t=96781)

juiceme 2016-12-03 10:24

Re: [Announce] Poor Maps
 
Quote:

Originally Posted by robthebold (Post 1519872)
As a user of a community port device, the Jolla store isn't an option. (Jolla fancies itself as the pretty girl in the midst of the chess club/glee club/AV club of community port devices, and we're too 'grody-to-the-max' to even talk to.)

Jolla devices are not the only pretty girls in the company, my Hammerhead/SFOS is a top girl too :p

bomo 2016-12-05 07:23

Re: [Announce] Poor Maps
 
Are there already plans to have routing announcements e.g. via TTS?

How can i donate to the dev(s) of this great project ?

otsaloma 2016-12-05 14:32

Re: [Announce] Poor Maps
 
Quote:

Originally Posted by bomo (Post 1520017)
Are there already plans to have routing announcements e.g. via TTS?

Text to speech? To my knowledge, there's no such thing in the Sailfish platform. I once tried espeak, which someone had packaged and distributed at OpenRepos. On about the fifth call, it crashed the whole OS, so it didn't seem ready for use. It would be fairly easy for me to add TTS calls to navigation, finding a working TTS library/program is the difficult part.

Quote:

Originally Posted by bomo (Post 1520017)
How can i donate to the dev(s) of this great project ?

I don't currently need donations. I'm all right and we're currently on free of charge plans with all service providers due to the low user count.

Apparently Qt 5.6 is going to be in the next update. That will probably result in Poor Maps being allowed at the Jolla store, which could bump the user count maybe tenfold and thus bring costs with the service providers. I'd prefer to cover the service costs by simply charging for the app, but while Jolla still doesn't have payment systems in place, I'll likely ask for donations.

http://merproject.org/meetings/mer-m...-05-09.00.html (7b)

taixzo 2016-12-05 16:19

Re: [Announce] Poor Maps
 
Quote:

Originally Posted by otsaloma (Post 1520038)
Text to speech? To my knowledge, there's no such thing in the Sailfish platform. I once tried espeak, which someone had packaged and distributed at OpenRepos. On about the fifth call, it crashed the whole OS, so it didn't seem ready for use. It would be fairly easy for me to add TTS calls to navigation, finding a working TTS library/program is the difficult part.

The issue with espeak, as currently packaged, is that it crashes while trying to output to a sound device. In Saera, I work around this by having espeak write to STDOUT instead, and piping that to gstreamer. This can be done via:

Code:

espeak --stdout "Some text" | gst-launch-1.0 -q fdsrc ! wavparse ! audioconvert ! pulsesink
A similar approach can be used with flite. The main issue with flite is that it cannot output to STDOUT - or, for that matter, any pipe, due to how it interacts with file handlers - but it can write to a file; so my approach here is to have flite save to a file and then have gstreamer play that file. Command line for this is:

Code:

flite -t "Some text" -o /tmp/out.wav && gst-launch-1.0 -q filesrc location=/tmp/out.wav ! wavparse ! pulsesink
Finally, I would like to mention that for anyone looking for a TTS-enabled GPS solution on SFOS, there is one in development in Saera (and should be released soon).

otsaloma 2016-12-05 17:04

Re: [Announce] Poor Maps
 
Thanks taixzo, your approach makes sense.

What is a TTS-enabled GPS solution?

taixzo 2016-12-05 17:08

Re: [Announce] Poor Maps
 
Quote:

Originally Posted by otsaloma (Post 1520043)
What is a TTS-enabled GPS solution?

Something that gives point-to-point GPS directions via text to speech. Saera is not a mapping app, but it does give turn by turn verbal directions if you ask it to.

rinigus 2016-12-05 19:03

Re: [Announce] Poor Maps
 
@otsaloma, from reading @taixzo messages, it seems to me that its possible to pre-synthesise the routing messages and just play them from a file at the right moment. Since you have the data for the whole route, there should be plenty of wall time to do that. You would even have an advantage of knowing how long each phrase is. Note that since /tmp is mounted on tmpfs you could even do it without any need of writing it to storage...

I have never looked into the sound part, but I presume its easy to play it from the file.

Would that help to implement spoken instructions?

taixzo 2016-12-05 19:31

Re: [Announce] Poor Maps
 
Pre-synthesis isn't really necessary on modern phones. In my tests on Jolla 1, flite synthesizes at about 25x playback speed, with a fairly processor-intensive voice; espeak is even faster, at ~100x. Even for very long directions, the audio is generated in under half a second worst-case.

otsaloma 2016-12-05 19:57

Re: [Announce] Poor Maps
 
Agreed, as far as I know, the technical solution is no more complicated than just calling the above commands with some predefined advance before each maneuver.

But there's other stuff prioritized ahead: Finnish public transport routing (because I need it myself!), i18n, Qt 5.6 and Jolla store.

bomo 2016-12-06 22:16

Re: [Announce] Poor Maps
 
Quote:

Originally Posted by otsaloma (Post 1520038)

I don't currently need donations. I'm all right and we're currently on free of charge plans with all service providers due to the low user count.

Apparently Qt 5.6 is going to be in the next update. That will probably result in Poor Maps being allowed at the Jolla store, which could bump the user count maybe tenfold and thus bring costs with the service providers. I'd prefer to cover the service costs by simply charging for the app, but while Jolla still doesn't have payment systems in place, I'll likely ask for donations.

(7b)


will the app remain open source if it goes commercial ?


All times are GMT. The time now is 05:52.

vBulletin® Version 3.8.8