--- Log opened Wed Nov 05 00:00:33 2014
01:31 -!- KaZeR [~KaZeR@64.201.252.132] has quit [Remote host closed the connection]
02:19 -!- KaZeR [~KaZeR@75.144.20.73] has joined #navit
02:19 -!- mode/#navit [+o KaZeR] by ChanServ
02:21 -!- curious [~curious@ejb106.internetdsl.tpnet.pl] has quit [Quit: Leaving]
02:21 -!- curious__ [~curious@ejb106.internetdsl.tpnet.pl] has joined #navit
02:21 -!- curious__ [~curious@ejb106.internetdsl.tpnet.pl] has quit [Client Quit]
02:21 -!- curious [~curious@ejb106.internetdsl.tpnet.pl] has joined #navit
02:37 -!- KaZeR [~KaZeR@75.144.20.73] has quit [Remote host closed the connection]
03:26 -!- KaZeR [~KaZeR@75.144.20.73] has joined #navit
03:26 -!- mode/#navit [+o KaZeR] by ChanServ
03:42 -!- KaZeR [~KaZeR@75.144.20.73] has quit [Remote host closed the connection]
04:25 -!- KaZeR [~KaZeR@75.144.20.73] has joined #navit
04:25 -!- mode/#navit [+o KaZeR] by ChanServ
05:47 -!- KaZeR [~KaZeR@75.144.20.73] has quit [Remote host closed the connection]
05:48 -!- KaZeR [~KaZeR@75.144.20.73] has joined #navit
05:48 -!- mode/#navit [+o KaZeR] by ChanServ
05:52 -!- KaZeR [~KaZeR@75.144.20.73] has quit [Ping timeout: 250 seconds]
06:34 -!- KaZeR [~KaZeR@c-67-161-64-186.hsd1.ca.comcast.net] has joined #navit
06:34 -!- mode/#navit [+o KaZeR] by ChanServ
06:41 -!- xenos1984 [~quassel@131-237-196-88.dyn.estpak.ee] has joined #navit
07:15 -!- KaZeR [~KaZeR@c-67-161-64-186.hsd1.ca.comcast.net] has quit [Remote host closed the connection]
07:16 -!- KaZeR [~KaZeR@c-67-161-64-186.hsd1.ca.comcast.net] has joined #navit
07:16 -!- mode/#navit [+o KaZeR] by ChanServ
07:21 -!- KaZeR [~KaZeR@c-67-161-64-186.hsd1.ca.comcast.net] has quit [Ping timeout: 260 seconds]
07:58 -!- woglinde [~henning@fb-n15-11.unbelievable-machine.net] has joined #navit
08:39 -!- woglinde [~henning@fb-n15-11.unbelievable-machine.net] has quit [Quit: not today]
09:45 -!- Robotaxi [3ef5dbf5@gateway/web/freenode/ip.62.245.219.245] has joined #navit
11:25 -!- NavitLogger [~NavitLogg@176.126.243.224] has quit [Ping timeout: 264 seconds]
11:25 -!- ERROR Closing Link: 176.126.243.224 (Ping timeout: 264 seconds)
11:25 -!- Irssi: Connection lost to irc.freenode.net
11:25 -!- Irssi: Removed reconnection to server irc.freenode.net port 6667
11:25 -!- Irssi: Looking up irc.freenode.net
11:25 -!- Irssi: Reconnecting to irc.freenode.net [84.240.3.129] port 6667 - use /RMRECONNS to abort
11:25 -!- Irssi: Connection to irc.freenode.net established
11:25 !cameron.freenode.net *** Looking up your hostname...
11:25 !cameron.freenode.net *** Checking Ident
11:25 !cameron.freenode.net *** Found your hostname
11:25 !cameron.freenode.net *** No Ident response
11:25 -!- Welcome to the freenode Internet Relay Chat Network NavitLogger
11:25 -!- Your host is cameron.freenode.net[84.240.3.129/6667], running version ircd-seven-1.1.3
11:25 -!- This server was created Tue Oct 21 2014 at 11:36:02 UTC
11:25 -!- cameron.freenode.net ircd-seven-1.1.3 DOQRSZaghilopswz CFILMPQSbcefgijklmnopqrstvz bkloveqjfI
11:25 -!- CHANTYPES=# EXCEPTS INVEX CHANMODES=eIbq,k,flj,CFLMPQScgimnprstz CHANLIMIT=#:120 PREFIX=(ov)@+ MAXLIST=bqeI:100 MODES=4 NETWORK=freenode KNOCK STATUSMSG=@+ CALLERID=g are supported by this server
11:25 -!- CASEMAPPING=rfc1459 CHARSET=ascii NICKLEN=16 CHANNELLEN=50 TOPICLEN=390 ETRACE CPRIVMSG CNOTICE DEAF=D MONITOR=100 FNC TARGMAX=NAMES:1,LIST:1,KICK:1,WHOIS:1,PRIVMSG:4,NOTICE:4,ACCEPT:,MONITOR: are supported by this server
11:25 -!- EXTBAN=$,ajrxz WHOX CLIENTVER=3.0 SAFELIST ELIST=CTU are supported by this server
11:25 -!- There are 181 users and 91537 invisible on 30 servers
11:25 -!- 28 IRC Operators online
11:25 -!- 5 unknown connection(s)
11:25 -!- 58247 channels formed
11:25 -!- I have 1546 clients and 3 servers
11:25 -!- 1546 1562 Current local users 1546, max 1562
11:25 -!- 91718 98648 Current global users 91718, max 98648
11:25 -!- Highest connection count: 1565 (1562 clients) (16691 connections received)
11:25 -!- - cameron.freenode.net Message of the Day -
11:25 -!- - Welcome to cameron.freenode.net, hosted in Vilnius, Lithuania.
11:25 -!- - Thanks to Skynet (http://www.skynet.lt) for sponsoring this server!
11:25 -!- -
11:25 -!- - CAMERON, JAMES (1954-). Canadian screenwriter/director James Cameron has
11:25 -!- - been involved in the production of many of the film "greatest hits"
11:25 -!- - of the past 25 years, including the Terminator movies and the 3D
11:25 -!- - blockbuster Avatar.
11:25 -!- -
11:25 -!- - Welcome to freenode - supporting the free and open source
11:25 -!- - software communities since 1998.
11:25 -!- -
11:25 -!- - **************************************************************
11:25 -!- - SECURITY ALERT
11:25 -!- -
11:25 -!- - Over the weekend of 13th-14th September freenode staff noticed
11:25 -!- - some compromised binaries present on a number of servers.
11:25 -!- - The servers in question have been removed from the network and
11:25 -!- - shut down. However, it's possible that network traffic -
11:25 -!- - including SSL traffic - has been sniffed and passwords
11:25 -!- - exposed.
11:25 -!- -
11:25 -!- - We therefore recommend that all users change their nickserv
11:25 -!- - password(s) to a new value which is not shared with any
11:25 -!- - other service.
11:25 -!- -
11:25 -!- - You can do this with /msg nickserv set password newpasshere
11:25 -!- -
11:25 -!- - Please note that investigation is ongoing to discover the root
11:25 -!- - cause of the attack, and until this investigation is complete
11:25 -!- - we cannot be 100% certain that all traces of the compromises
11:25 -!- - have been removed. We may have to ask you to change your
11:25 -!- - passwords again after analysis has completed.
11:25 -!- -
11:25 -!- - Further details will appear on https://blog.freenode.net/
11:25 -!- -
11:25 -!- - **************************************************************
11:25 -!- -
11:25 -!- - By connecting to freenode you indicate that you have read and
11:25 -!- - accept our policies as set out on http://www.freenode.net
11:25 -!- - freenode runs an open proxy scanner. Please join #freenode for
11:25 -!- - any network-related questions or queries, where a number of
11:25 -!- - volunteer staff and helpful users will be happy to assist you.
11:25 -!- -
11:25 -!- - You can meet us at FOSSCON (http://www.fosscon.org) where we get
11:25 -!- - together with like-minded FOSS enthusiasts for talks and
11:25 -!- - real-life collaboration.
11:25 -!- -
11:25 -!- - We would like to thank Private Internet Access
11:25 -!- - (https://www.privateinternetaccess.com/) and the other
11:25 -!- - organisations that help keep freenode and our other projects
11:25 -!- - running for their sustained support.
11:25 -!- -
11:25 -!- - In particular we would like to thank the sponsor
11:25 -!- - of this server, details of which can be found above.
11:25 -!- -
11:25 -!- End of /MOTD command.
11:25 -!- Mode change [+i] for user NavitLogger
11:25 -!- NavitLogger [~NavitLogg@hypnotoad.geoghegan.me] has joined #navit
11:25 -!- Topic for #navit: The open source vector based navigation program with routing engine. See http://wiki.navit-project.org. Please be patient if you don't get a response immediately. Please use http://navit.pastebin.com for your pastes! Channel is logged : http://irclogs.navit.ie/ Follow @NavitProject on Twitter.
11:25 -!- Topic set by KaZeR [~kazer@4.170.67.86.rev.sfr.net] [Mon May 23 17:10:04 2011]
11:25 [Users #navit]
11:25 [@ChanServ] [ Celelibi] [ hape_ ] [ Navit ] [ pini ]
11:25 [@Horwitz ] [ ColdFyre] [ j_f-f ] [ NavitLogger] [ Robotaxi ]
11:25 [ Brinky ] [ curious ] [ latouche] [ noradtux ] [ tg ]
11:25 [ bzed ] [ gringo ] [ magruder] [ Number6 ] [ xenos1984]
11:25 -!- Irssi: #navit: Total of 20 nicks [2 ops, 0 halfops, 0 voices, 18 normal]
11:25 -!- Channel #navit created Sun Nov 26 06:47:57 2006
11:25 -!- Irssi: Join to #navit was synced in 6 secs
15:17 -!- Robotaxi [3ef5dbf5@gateway/web/freenode/ip.62.245.219.245] has quit [Ping timeout: 246 seconds]
15:19 -!- Navit [~Navit@www.v6.navit-project.org] has quit [Ping timeout: 256 seconds]
15:22 -!- Navit [~Navit@www.v6.navit-project.org] has joined #navit
16:23 -!- Robotaxi [3ef5dbf5@gateway/web/freenode/ip.62.245.219.245] has joined #navit
16:52 -!- Robotaxi [3ef5dbf5@gateway/web/freenode/ip.62.245.219.245] has quit [Ping timeout: 246 seconds]
17:27 -!- KaZeR [~KaZeR@64.201.252.132] has joined #navit
17:27 -!- mode/#navit [+o KaZeR] by ChanServ
17:33 -!- KaZeR [~KaZeR@64.201.252.132] has quit [Ping timeout: 264 seconds]
17:39 -!- KaZeR [~KaZeR@64.201.252.132] has joined #navit
17:39 -!- mode/#navit [+o KaZeR] by ChanServ
17:45 #navit: <@KaZeR> hi there
18:07 -!- bafplus [~bafplus@5ED0A3EE.cm-7-1c.dynamic.ziggo.nl] has joined #navit
18:08 #navit: < bafplus> Hi there
18:11 #navit: < Navit> kazer_ * r5923 /trunk/navit/po/nl.po.in: Update:Core:Updated Dutch translation from launchpad http://sourceforge.net/p/navit/code/5923/
18:12 #navit: <@KaZeR> hey bafplus
18:13 #navit: < bafplus> Hy kazer
18:15 #navit: < bafplus> Kazer , i was wondering something.... i have navit setup to use VLC for the wav voices. Can you add this kind of exe and/or other files like png to be part of the setup?
18:16 #navit: < bafplus> iow, can you add files that isnt source and has to be put into the setup "as is" ?
18:18 #navit: < bafplus> hope i make sence ;-)
18:25 #navit: <@KaZeR> technically you can. but vlc is maybe a bit of overkill no ?
18:26 #navit: <@KaZeR> on my own setup i use mpg123
18:29 #navit: < bafplus> it works like a charm tho...i was just wondering if i can include this kind of stuff in a setupfile.
18:29 #navit: <@KaZeR> i have no doubt that it works :)
18:29 #navit: < bafplus> That way i can give a installer with all the dependancies and needed files, folders etc
18:29 #navit: <@KaZeR> you can include it, but it might be a bit trickier than just adding the .exe. dlls ? other stuffs?
18:30 #navit: <@KaZeR> that's why linux package management is usually better, DEPENDENCIES :)
18:30 #navit: < bafplus> custom png images for osd buttens for instance
18:31 #navit: <@KaZeR> this is easy to add
18:31 #navit: < bafplus> Is it just a matter of including/uploading them into the git or do i have to "define" them somewhere so the com/build knows the files are there end includes them in the final package?
18:33 #navit: <@KaZeR> i would have to check but i expect the installer to use a wildcard like xpm/*.png probably
18:35 #navit: < bafplus> mpg123 can play wav (regardless that iy is an mpg player)?
18:36 #navit: < bafplus> if that works, why not include it in the svn as default player for the speech wav files?
18:40 #navit: <@KaZeR> mpg123 can play wav. but we avoid adding external tools, as it's up to the user to use whatever he likes. using mpg123 is my own personal choice, because my voice synthesis script produces mp3. otherwise aplay is even better
18:45 #navit: < bafplus> i agree about the free choice part, but it would be nice to have working examples so people can fiddle around with it...
18:46 #navit: < bafplus> i'm still searching for a better (as in non Steven Hawkins like) voice sync for windows
18:47 #navit: < bafplus> to bad this is comercial ;-) http://www.oddcast.com/home/demos/tts/tts_example.php
18:48 -!- tryagain [~quassel@178.216.76.83] has joined #navit
18:50 #navit: <@KaZeR> i do agree about the examples. but i think it's better to put them in the wiki rather than cluttering the code base
18:50 #navit: <@KaZeR> hey tryagain
18:50 #navit: <@KaZeR> tryagain has been granted the permission TICKET_ADMIN.
18:50 #navit: <@KaZeR> (i've already deleter yesterday's spam)
18:50 #navit: < tryagain> hey KaZeR thank you
18:52 #navit: <@KaZeR> sure
18:53 #navit: < tryagain> ah, now i see the magic buttons \o/
18:53 #navit: <@KaZeR> hehe
18:56 #navit: < bafplus> Kazer, do you or do you know anyone who has a better voice synth for win32?
18:57 #navit: <@KaZeR> for win32, honestly i don't know. how's the speech synthesis that is provided with windows ?
19:00 #navit: < bafplus> lets say that even Stevan Hawking would stand up and walk away from it...
19:01 #navit: < bafplus> and its terrible to set up as far as i could find about it
19:02 #navit: < bafplus> You know me...i need things like download->adjust command->viola! working! ;-)
19:02 #navit: <@KaZeR> everybody needs that :)
19:03 #navit: <@KaZeR> if you have internet access, google tts is really good and easy to setup. but it requires internet access ( the data consumption is really low )
19:03 #navit: < bafplus> i dont mind fidling around with it, but in my case, if i do need to set it up with all our engineers ot should be very simple to setup (i mean installing, configuring is done in source/xml/config, etc)
19:04 #navit: < bafplus> hmm...we have internet...but also a lot of black spots...don't know how this is going to work good when coverage is low like on highway etc
19:04 #navit: < bafplus> but its worth a shot although i prefer a local sollution
19:05 #navit: < bafplus> At least test it to add it to the wiki ;-)
19:05 #navit: < bafplus> But if you have recourses of eny kind, feel free to drop some links...
19:05 #navit: < bafplus> afk for a while
19:06 -!- drlizau [~liz@billiau.net] has joined #navit
19:18 #navit: <@KaZeR> you can always fallback to the windows native tts if you don't have network coverage. i can share you my script it should be fairly easy to adapt for windows
19:19 #navit: < bafplus> Sure...just did a quick look....appart that she sounds like she had a bad evening yesterday (speed) it sounds way better!
19:23 #navit: <@KaZeR> :)
19:53 #navit: < bafplus> kazer, besides the language tag, are there any more atributes you can control like male/female, speed etc?
19:53 #navit: < bafplus> cant find anything detail about the parameters...
19:55 #navit: <@KaZeR> mmm i did not dig too deep that part to be honest. i'm satisfied with the default settings.
19:57 -!- drlizau [~liz@billiau.net] has quit [Remote host closed the connection]
19:58 #navit: < bafplus> the english is quite good, dutch is a but slow...
19:58 #navit: < bafplus> But hey...its a start ;-)
19:59 -!- H [~huw@unaffiliated/huwnet] has joined #navit
20:02 #navit: < bafplus> cool...if you use translate instead of tts the voice is better, didnt know there were different voices
20:13 #navit: < bafplus> looking forward to youre script, afk for a while...
20:22 #navit: <@KaZeR> bafplus: http://hackaday.io/project/3070-the-cherokee-carputer scroll down to voice synthesis
20:27 #navit: < bafplus> giving full code to a noob...what were you thinking ;-)
20:28 #navit: < bafplus> looks great, i like the cache part about caching the returned audio...if i understand correctly every "word" is being cached for leter öffline"use?
20:32 #navit: < bafplus> so now what...put that code "somewere" in the navit.c?
20:37 #navit: <@KaZeR> no, i'm caching only sentences for my own use case, because the output is more natural. but it would not be difficult to cache words too
20:37 #navit: <@KaZeR> that's the beauty of this script, you can just call it from navit's speech tag :)
20:37 #navit: <@KaZeR> it's an external script
20:37 #navit: < bafplus> whole sentences is even better ;-)
20:38 #navit: < bafplus> please master , enlighten me with youre knowledge, monky see monky do
20:42 #navit: <@KaZeR> haha
20:42 #navit: <@KaZeR> have to go for food
20:42 #navit: <@KaZeR> i can help you after
20:42 #navit: <@KaZeR> and the translation import script is fixed :)
20:44 #navit: < bafplus> cool!
20:58 -!- H [~huw@unaffiliated/huwnet] has quit [Quit: Quit]
21:30 -!- tryagain [~quassel@178.216.76.83] has quit [Remote host closed the connection]
22:14 #navit: < bafplus> thats quite a big dinner kazer ;-)
22:14 #navit: <@KaZeR> yep.
22:14 #navit: <@KaZeR> got caught into something else too :)
22:15 #navit: < bafplus> no prob
22:15 #navit: < bafplus> did the dishes in the mean time...
22:15 #navit: <@KaZeR> dishwasher FTW :)
22:15 #navit: <@KaZeR> what's your current speech tag in navit.xml ?
22:15 #navit: < bafplus> u have 2, using wav, using espeak
22:16 #navit: < bafplus> currently espeak, for testing purpuses
22:16 #navit: <@KaZeR> can you paste it here ?
22:17 #navit: < bafplus> espeak:
22:17 #navit: < bafplus> wav: sample_dir="C:\navit\voice\nl" sample_suffix=".wav" flags="1"
22:17 #navit: < bafplus> vocabulary_name="0" vocabulary_name_systematic="0" vocabulary_distances="0"/>
22:18 #navit: < bafplus> espeak using full sentences, wav no streetnames, minimalistic distances
22:19 #navit: <@KaZeR> ok. the idea is to write a .bat file, which will take care of the synthesis, and then just call the .bat from there
22:19 #navit: <@KaZeR> you can use my own script as a baseline
22:20 #navit: < bafplus> youre script on the site you gave ne i suppose
22:20 #navit: <@KaZeR> yep
22:20 #navit: < bafplus> ctrl-c ctrl-v, check!
22:22 #navit: < bafplus> i dont use spotify, so i guess i can just remove the 2 volume lines...
22:23 #navit: <@KaZeR> actually you can remove this part, it's really specific alsa, which is only for linux :)
22:25 #navit: < bafplus> aha...i was just thinking about that, does that include the 2 fallbacks?
22:26 #navit: <@KaZeR> the fallback part will need to be adapted, depending of if/how you can detect wget failure
22:27 #navit: < bafplus> but thats for later, so everything below "fi" can be deleted...
22:28 #navit: <@KaZeR> actually you can just start with the wget part and try to get the audio file :)
22:30 #navit: < bafplus> only the wget line???
22:35 #navit: < bafplus> so skip the caching part?
22:37 #navit: <@KaZeR> you can try to get wget to work in a command line console as a start
22:38 #navit: <@KaZeR> http://superuser.com/questions/25538/how-to-download-files-from-command-line-in-windows-like-wget-is-doing might help
22:46 #navit: < bafplus> ok...is see what you are trying to tell me... got lost at "$...." ;-)
22:47 #navit: <@KaZeR> $? that's the return value of wget. it lets you know if your download succeeded
22:48 #navit: < bafplus> no...thats the first character if the script....
22:49 #navit: < bafplus> just to keep it simple at first...do we have to download it? isnt there a way to play it "on the fly"?
22:49 #navit: <@KaZeR> oh. ok let's start from scratch
22:49 #navit: <@KaZeR> can you download this : http://users.ugent.be/~bpuype/wget/
22:49 #navit: <@KaZeR> and try wget http://www.google.nl
22:49 #navit: <@KaZeR> and paste the output somewhere ( not here, not relevant ;) )
22:52 #navit: < bafplus> wget http://www.google.com from a bat file? or cmd?
22:53 #navit: <@KaZeR> let's work from the command line now for individual pieces
22:56 #navit: < bafplus> --2014-11-05 23:
22:56 #navit: < bafplus> Resolving www.go
22:56 #navit: < bafplus> Connecting to ww
22:56 #navit: < bafplus> HTTP request sen
22:56 #navit: < bafplus> Location: http:/
22:56 #navit: < bafplus> --2014-11-05 23:
22:56 #navit: < bafplus> Resolving www.go
22:56 #navit: < bafplus> Connecting to ww
22:56 #navit: < bafplus> HTTP request sen
22:56 #navit: < bafplus> Length: unspecif
22:57 #navit: < bafplus> sorry...marking went a bit wrong ;-)
22:57 #navit: <@KaZeR> argh!
22:57 #navit: <@KaZeR> :)
22:57 #navit: <@KaZeR> pastebin! or gist :)
22:57 #navit: <@KaZeR> haha i forgot how funny the copy and paste is from windows command line :)
22:59 #navit: < bafplus> windows isnt funny...
22:59 #navit: < bafplus> https://gist.github.com/bafplus/e5bc1af190bd926fcadc
23:01 #navit: <@KaZeR> ok. so index.html@gfe_rd=cr&ei=1KpaVPDuCYGCaNrSgegL should be an audio file. let's try mplay32 /play /close index.html@gfe_rd=cr&ei=1KpaVPDuCYGCaNrSgegL
23:03 #navit: < bafplus> mplay32 isnt recognized
23:03 #navit: <@KaZeR> mmm
23:04 #navit: <@KaZeR> wmplayer maybe ?
23:04 #navit: < bafplus> nope
23:05 #navit: <@KaZeR> meh
23:05 #navit: <@KaZeR> vlc then :)
23:06 #navit: < bafplus> i was thinking the same ;-)
23:06 #navit: < bafplus> vlc opens but cant handle the commands or the audiofile
23:07 #navit: <@KaZeR> ok let's try wget again but add -O test.mp3
23:09 #navit: < bafplus> was running in wrong dir... but got this returned from vlc when using the first audiofile
23:09 #navit: < bafplus> (Bad file descriptor).
23:10 #navit: < bafplus> add -O test.mp3 to what...the command?
23:12 #navit: < bafplus> just thinking...shall we try this using tha actual tts url with some sample text?
23:12 #navit: < bafplus> that would download the mp3 right?
23:13 #navit: <@KaZeR> meh
23:13 #navit: <@KaZeR> of course
23:13 #navit: * KaZeR facepalms
23:13 #navit: <@KaZeR> long day :)
23:16 #navit: < bafplus> hmmm...403...
23:17 #navit: <@KaZeR> you need to specify a useragent
23:17 #navit: <@KaZeR> -U Mozilla
23:17 #navit: < bafplus> wget -q -U Mozilla -O output.mp3 "http://translate.google.com/translate_tts?ie=UTF-8&tl=en&q=hello+world
23:18 #navit: <@KaZeR> looks good
23:18 #navit: < bafplus> and works
23:18 #navit: <@KaZeR> cool.
23:19 #navit: <@KaZeR> so now you need to get the arguments passed to the script, and replace " " with "+"
23:19 #navit: <@KaZeR> http://stackoverflow.com/questions/15441422/replace-character-of-string-in-batch-script
23:20 #navit: < bafplus> nope, spaces are alowed:
23:20 #navit: <@KaZeR> oh cool
23:20 #navit: < bafplus> wget -q -U Mozilla -O output.mp3 "http://translate.google.com/translate_tts?ie=UTF-8&tl=nl&q=ga na 100 meter rechtsaf
23:20 #navit: < bafplus> works
23:20 #navit: <@KaZeR> then put the wget in a .bat, and you can get the argument with %1 from what i see
23:21 #navit: <@KaZeR> then script.bat "is this working?" :)
23:24 #navit: < bafplus> Got it working and playing nice....from bat....now the %1 part....what variable is that?
23:25 #navit: <@KaZeR> wget -q -U Mozilla -O output.mp3 "http://translate.google.com/translate_tts?ie=UTF-8&tl=nl&q=%1"
23:25 #navit: <@KaZeR> it will pass the argument to that command
23:25 #navit: < bafplus> aha...works!
23:25 #navit: <@KaZeR> cool :)
23:25 #navit: <@KaZeR> wiki ;)
23:25 #navit: < bafplus> Were not there yet ;-)
23:26 #navit: < bafplus> but this is the mayor part!
23:26 #navit: <@KaZeR> %s” />
23:26 #navit: <@KaZeR> and it should work
23:27 #navit: < bafplus> “ "quote"?
23:27 #navit: <@KaZeR> no regular quote, i copied it from a web interface
23:27 #navit: <@KaZeR> ""
23:27 #navit: < bafplus> "path
23:27 #navit: < bafplus> ""path"
23:28 #navit: <@KaZeR>
23:28 #navit: < bafplus> cool....now if we can get the caching part working someday that would be super (saves on data)
23:29 #navit: <@KaZeR> http://support.microsoft.com/kb/841290
23:29 #navit: <@KaZeR> the way i'm doing it is that i store the file using the md5 checksum of the sentence
23:30 #navit: <@KaZeR> so, if you can compute the same checksum, it should work ( in this case, play without downloading )
23:30 #navit: <@KaZeR> we will want to compute the checksum of %1 itself, not of the content of the file named %1
23:33 #navit: < bafplus> why checksum? isnt it easier to combine this with the currect wav function? like de text "hello world" is downloaded and stored as hello world.mp3 ( %1.mp3), then if a next time those exact sentence is spoken, it will play that mp3, if not, donload it...
23:34 #navit: < bafplus> but we have to take care about lifespan, like if i use this during a weeks work that would result in several 100 mp3 files due to the streetnames
23:34 #navit: <@KaZeR> yep will work
23:34 #navit: <@KaZeR> i like to use hash for that because it prevents issues with special chars
23:34 #navit: <@KaZeR> but it will work
23:34 #navit: <@KaZeR> so check if the file exists : http://stackoverflow.com/questions/4340350/how-to-check-if-a-file-exists-from-inside-a-batch-file
23:35 #navit: <@KaZeR> if not download
23:35 #navit: <@KaZeR> eventually play
23:35 #navit: <@KaZeR> done :)
23:35 #navit: < bafplus> if no internet AND no mp3, use espeak
23:36 #navit: < bafplus> as fallback
23:36 #navit: <@KaZeR> how can you check for internet connection ?
23:36 #navit: <@KaZeR> in my script i just check if the download succeeded or not
23:37 #navit: < bafplus> put a timeout, if no respinse after few seconds, go to wav, if no go to espeak
23:37 #navit: <@KaZeR> your call :)
23:38 #navit: < bafplus> btw..fyi, datastring send to translate must be less then 100 characters, else error
23:38 #navit: < bafplus> but i dont think we are going to reach that limit
23:39 #navit: <@KaZeR> yep it's already a lot
23:40 #navit: < bafplus> and i have to see how this is going to effect my isp datalimits, 1 instruction is about 15kb
23:41 #navit: < bafplus> btw...i am logging my trips now for you, how can i "replay" one of those trips?
23:41 #navit: <@KaZeR> if you are concerned with that, the other solution will be to split the sentence and download each words seperately but the overall result will sound less natural
23:42 #navit: <@KaZeR> the "file" vehicle should be able to do this
23:42 #navit: <@KaZeR> just point it to a file
23:42 #navit: <@KaZeR> i meant a log :)
23:42 #navit: < bafplus> that would result is several files of say 2kb downloaded what cumulatively will result in even higher data
23:44 #navit: < bafplus> its been a while ;-) 1mb is 1024 kb right?
23:44 #navit: <@KaZeR> http://wiki.navit-project.org/index.php/Configuration_(old)#Vehicle
23:44 #navit: <@KaZeR> yep right
23:45 #navit: < bafplus> Windows: Note that under Windows it is currently not possible in Navit to replay an nmea file.
23:46 #navit: <@KaZeR> haha
23:46 #navit: <@KaZeR> it's worth trying, maybe it's a very old note
23:46 #navit: <@KaZeR> i don't know :)
23:46 #navit: < bafplus> and its gpx now
23:48 #navit: <@KaZeR> conversion is easy
23:48 #navit: <@KaZeR> http://wiki.openstreetmap.org/wiki/Converting_NMEA_to_GPX#Online_Tools
23:48 #navit: <@KaZeR> (and you can choose if you want to log in nmea or gpx)
23:49 #navit: <@KaZeR> but gpx is better because we can add custom tags, like announcements
23:50 #navit: <@KaZeR> oh i have another example for jandegr :) https://github.com/festlv/carpc/tree/master/linux_software/waze_client
--- Log closed Thu Nov 06 00:00:33 2014