![]() |
2011-01-17
, 11:04
|
|
Posts: 64 |
Thanked: 21 times |
Joined on Dec 2009
@ New Zealand
|
#111
|
![]() |
2011-01-17
, 11:55
|
|
Posts: 397 |
Thanked: 241 times |
Joined on Mar 2010
@ Melbourne, Australia
|
#112
|
![]() |
2011-01-17
, 14:00
|
|
Posts: 397 |
Thanked: 241 times |
Joined on Mar 2010
@ Melbourne, Australia
|
#114
|
I think calling it "beta" was a bit premature. I would not recommend trying this stuff yet unless you are a developer.
![]() |
2011-01-17
, 14:31
|
|
Posts: 397 |
Thanked: 802 times |
Joined on Jan 2010
@ Sydney
|
#115
|
I think calling it "beta" was a bit premature. I would not recommend trying this stuff yet unless you are a developer.
"nokia.maps.pfw.action.changehighway.sound”:”:g5man_006”, "nokia.maps.pfw.action.changehighway.sound.street”:”:g5man_006", "nokia.maps.pfw.action.continuehighway.sound”:”:g5man_008”, "nokia.maps.pfw.action.continuehighway.sound.street”:”:g5man_008", "nokia.maps.pfw.action.end.sound”:”:g5ann_001", "nokia.maps.pfw.action.end.sound.street”:”:g5ann_001", "nokia.maps.pfw.action.enterhighway.sound”:”:g5man_005", "nokia.maps.pfw.action.enterhighway.sound.street”:”:g5man_005”, "nokia.maps.pfw.action.enterhighwayfromleft.sound”:”:g5man_005e|from the left", "nokia.maps.pfw.action.enterhighwayfromleft.sound.street”:”:g5man_005e|{0} from the left", "nokia.maps.pfw.action.enterhighwayfromright.sound”:”:g5man_005e|from the right", "nokia.maps.pfw.action.enterhighwayfromright.sound.street”:”:g5man_005e|{0} from the right", "nokia.maps.pfw.action.ferry.sound”:”:g5serv_004", "nokia.maps.pfw.action.ferry.sound.street”:”:g5serv_004", "nokia.maps.pfw.action.junction.sound”:”:at the junction", "nokia.maps.pfw.action.junction.sound.street”:”:at the junction", "nokia.maps.pfw.action.leavehighway.sound”:”:g5ext_000”, "nokia.maps.pfw.action.leavehighway.sound.street”:”:g5ext_000|{1} to {0}", "nokia.maps.pfw.action.noaction.sound”:”:g5man_001e”, "nokia.maps.pfw.action.noaction.sound.street”:”:g5man_001e|on", "nokia.maps.pfw.action.passjunction.sound”:”:pass the junction", "nokia.maps.pfw.action.passjunction.sound.street”:”:pass the junction", "nokia.maps.pfw.action.roundabout.sound”:”:g5mod_005", "nokia.maps.pfw.action.roundabout.sound.street”:”:g5mod_005", "nokia.maps.pfw.action.stopover.sound”:”:you have reached a waypoint", "nokia.maps.pfw.action.stopover.sound.street”:”:you have reached a waypoint", "nokia.maps.pfw.action.undefined.sound”:”:start your journey", "nokia.maps.pfw.action.undefined.sound.street”:”:start your journey on", "nokia.maps.pfw.action.uturn.sound”:”:g5man_004”, "nokia.maps.pfw.action.uturn.sound.street":":g5man_004|on", "nokia.maps.pfw.maneuver.joiner.sound”:”:and", "nokia.maps.pfw.turn.heavyleft.sound”:”:g5tul_004", "nokia.maps.pfw.turn.heavyleft.sound.street”:”:g5tul_004|onto", "nokia.maps.pfw.turn.heavyright.sound”:”:g5tur_004", "nokia.maps.pfw.turn.heavyright.sound.street”:”:g5tur_004|onto", "nokia.maps.pfw.turn.keepleft.sound”:”:g5tul_001", "nokia.maps.pfw.turn.keepleft.sound.street”:”:g5tul_001|onto", "nokia.maps.pfw.turn.keepmiddle.sound”:”:g5man_009”, "nokia.maps.pfw.turn.keepmiddle.sound.street”:”:g5man_009|onto", "nokia.maps.pfw.turn.keepright.sound”:”:g5tur_001", "nokia.maps.pfw.turn.keepright.sound.street”:”:g5tur_001|onto", "nokia.maps.pfw.turn.lightleft.sound”:”:g5tul_002", "nokia.maps.pfw.turn.lightleft.sound.street”:”:g5tul_002|onto", "nokia.maps.pfw.turn.lightright.sound”:”:g5tur_002", "nokia.maps.pfw.turn.lightright.sound.street”:”:g5tur_002|onto", "nokia.maps.pfw.turn.noturn.sound”:”:g5man_001”, "nokia.maps.pfw.turn.noturn.sound.street”:”:g5man_001|onto", "nokia.maps.pfw.turn.quiteleft.sound”:”:g5tul_003", "nokia.maps.pfw.turn.quiteleft.sound.street”:”:g5tul_003|onto", "nokia.maps.pfw.turn.quiteright.sound”:”:g5tur_003", "nokia.maps.pfw.turn.quiteright.sound.street”:”:g5tur_003|onto", "nokia.maps.pfw.turn.return.sound”:”:return", "nokia.maps.pfw.turn.return.sound.street”:”:return onto", "nokia.maps.pfw.turn.roundabout1.sound”:”:g5ext_001”, "nokia.maps.pfw.turn.roundabout1.sound.street”:”:g5ext_001|onto", "nokia.maps.pfw.turn.roundabout10.sound”:”:g5ext_010”, "nokia.maps.pfw.turn.roundabout10.sound.street”:”:g5ext_010|onto", "nokia.maps.pfw.turn.roundabout11.sound”:”:take the eleventh exit", "nokia.maps.pfw.turn.roundabout11.sound.street”:”:take the eleventh exit onto", "nokia.maps.pfw.turn.roundabout12.sound”:”:take the twelfth exit", "nokia.maps.pfw.turn.roundabout12.sound.street”:”:take the twelfth exit onto", "nokia.maps.pfw.turn.roundabout2.sound”:”:g5ext_002”, "nokia.maps.pfw.turn.roundabout2.sound.street”:”:g5ext_002|onto", "nokia.maps.pfw.turn.roundabout3.sound”:”:g5ext_003”, "nokia.maps.pfw.turn.roundabout3.sound.street”:”:g5ext_003|onto", "nokia.maps.pfw.turn.roundabout4.sound”:”:g5ext_004”, "nokia.maps.pfw.turn.roundabout4.sound.street”:”:g5ext_004|onto", "nokia.maps.pfw.turn.roundabout5.sound”:”:g5ext_005”, "nokia.maps.pfw.turn.roundabout5.sound.street”:”:g5ext_005|onto", "nokia.maps.pfw.turn.roundabout6.sound”:”:g5ext_006”, "nokia.maps.pfw.turn.roundabout6.sound.street”:”:g5ext_006|onto", "nokia.maps.pfw.turn.roundabout7.sound”:”:g5ext_007”, "nokia.maps.pfw.turn.roundabout7.sound.street”:”:g5ext_007|onto", "nokia.maps.pfw.turn.roundabout8.sound”:”:g5ext_008”, "nokia.maps.pfw.turn.roundabout8.sound.street”:”:g5ext_008|onto", "nokia.maps.pfw.turn.roundabout9.sound”:”:g5ext_009”, "nokia.maps.pfw.turn.roundabout9.sound.street”:”:g5ext_009|onto", "nokia.maps.pfw.unit.kilometer.sound”:”:g5unt_004", "nokia.maps.pfw.unit.mile.sound”:”:g5unt_008", "nokia.maps.pfw.unit.yard.sound”:”:g5unt_006"
![]() |
2011-01-17
, 19:24
|
Posts: 1,203 |
Thanked: 3,027 times |
Joined on Dec 2010
|
#116
|
The Following 4 Users Say Thank You to Android_808 For This Useful Post: | ||
![]() |
2011-01-18
, 20:03
|
Posts: 1,203 |
Thanked: 3,027 times |
Joined on Dec 2010
|
#117
|
$ mkfifo audiofifo $ aplay -t raw -c 2 -f S16_LE -r 44100 audiofifo & $ mplayer -ao pcm:nowaveheader:file=audiofifo <audio files>
![]() |
2011-01-18
, 23:46
|
Posts: 31 |
Thanked: 38 times |
Joined on Dec 2010
|
#118
|
jhb: any idea how to reduce time between wav file playback?
Found the following but it uses mplayer. Don't fancy pulling in lots of extra dependancies. Maybe mpd or something?
Code:$ mkfifo audiofifo $ aplay -t raw -c 2 -f S16_LE -r 44100 audiofifo & $ mplayer -ao pcm:nowaveheader:file=audiofifo <audio files>
sox g5ann_001 g5con_001 -t wav - | aplay
The Following User Says Thank You to jhb For This Useful Post: | ||
![]() |
2011-01-19
, 03:04
|
|
Posts: 397 |
Thanked: 802 times |
Joined on Jan 2010
@ Sydney
|
#119
|
I was thinking that the .desktop file could be modified to be a script to start the python server and then run Ovi Maps. When Maps closes it should then automatically close the python app.
In relation to the other languages, your one step ahead of me there. My reason for looking into parsing the config.xml was in case there were additional files used or sentence structure for a given language. Kind of like "Take the 6th exit at the roundabout" instead of "At the roundabout, take the 6th exit", one language may require action before place, then next place before action. Only way to tell would be to compare config.xml's.
Blaizzen: with your new locale.js definitions we could pretty much drop the config.xml parser (as long as there are no issue like above). We could take the general logic from that, in terms of when each should be said, what we should do if the next maneuver is within x distance etc, and put it as a logic structure in the main javascript code. Maybe putting it in updatePosition rather than its current position?
Edit: One problem with locale.js, there's one for each locale. It would mean maintaining a copy for every locale.
![]() |
2011-01-19
, 06:51
|
Posts: 356 |
Thanked: 172 times |
Joined on Jan 2010
@ Canada
|
#120
|
The Following User Says Thank You to Bingley Joe For This Useful Post: | ||