Home PageFacebookRSS News Feed
PocketGPS
Web
SatNav,GPS,Navigation
MacFixer, the iPhone, iPod, and iPad specialists
Pocket GPS World - SatNavs | GPS | Speed Cameras: Forums

Pocket GPS World :: View topic - Voices?
 Forum FAQForum FAQ   SearchSearch   UsergroupsUsergroups   ProfileProfile   Log in for private messagesLog in for private messages   Log inLog in 

Voices?
Goto page 1, 2, 3, 4, 5, 6, 7, 8, 9, 10  Next
 
Post new topic   Reply to topic    Pocket GPS World Forum Index -> Garmin Portable Navigation Devices
View previous topic :: View next topic  
Author Message
marbar2k
Regular Visitor


Joined: Dec 02, 2005
Posts: 67

PostPosted: Sat Dec 03, 2005 2:46 pm    Post subject: Voices? Reply with quote

as on the tomtom units is it possible to change the voices on the i3?
Back to top
View user's profile Send private message
zogman
Frequent Visitor


Joined: Sep 05, 2005
Posts: 1417
Location: swindon uk

PostPosted: Sat Dec 03, 2005 7:00 pm    Post subject: Reply with quote

not possible at the moment...
_________________
***************************
Back to top
View user's profile Send private message Visit poster's website
marbar2k
Regular Visitor


Joined: Dec 02, 2005
Posts: 67

PostPosted: Sun Dec 04, 2005 2:11 am    Post subject: Reply with quote

i will watch this space......

.... are people looking into it?
Back to top
View user's profile Send private message
Ash10
Pocket GPS Verifier
Pocket GPS Verifier


Joined: Feb 19, 2005
Posts: 478

PostPosted: Tue Dec 06, 2005 2:16 pm    Post subject: Reply with quote

marbar2k wrote:
i will watch this space......

.... are people looking into it?

Yes 8)
Back to top
View user's profile Send private message
gcb
Regular Visitor


Joined: Oct 24, 2005
Posts: 151

PostPosted: Tue Dec 06, 2005 5:31 pm    Post subject: Reply with quote

It seems the voices files have embedded .wav files , looking at it in a text editor its full of "RIFF4WAVEfmt" ???? which I find in other .wav files. .vpm probably stands for Garmins own "voice processing module"
These big Garmin files probably look like file systems under whatever OS an I3 uses, seems to be some bespoke Garmin OS not Palm OS or anything like that. 99% of the data in the .vpm file is probably wav file, the rest will be start, end of file markeres , pointers, directory related stuff. If you spend enough effort looking at the files you can probably work out a section of file which is a .wav cut it out and rename it as a wav and play it. Then make your own .wavs and spice them back in where the original was.

Ther voice files may be compressed but I would doubt it. If they were compressed they would likely be embedded mp3s. What ever they are the 1Mb file is read by the Garmin I3 and the data transfered into a flash memory on the I3, this would happen when you change language. If you are brave enough you could confirm this by deleting the English_British file off your SD card and try using it, bet it would still talk until you tried changing the language again.
Back to top
View user's profile Send private message
Ash10
Pocket GPS Verifier
Pocket GPS Verifier


Joined: Feb 19, 2005
Posts: 478

PostPosted: Thu Dec 08, 2005 11:07 am    Post subject: Reply with quote

The .vpm file contains a header, followed by around 120 packed .wav files. The .wav files are (IIRC) 16-bit mono @ 22050Hz. I'm still looking into the contents of the header section...
Back to top
View user's profile Send private message
gcb
Regular Visitor


Joined: Oct 24, 2005
Posts: 151

PostPosted: Thu Dec 08, 2005 5:06 pm    Post subject: Reply with quote

128 to be exact.

I knocked up this bit of perl to split the file, over lunch. It creates 129 files part001.wav thru part129.wav. part001.wav is not really a .wav thats a header. Never used perl before, its pretty easy if anyone fancies a go, plenty of stuff on the net and on man pages if your on linux. Probably be some free perl downloads for windows.

# cat split.pl

############################################
# #
# Im anybodies do what you will with me! #
# #
############################################

# perl split.pl to run me
# make sure you have English_British_.vpm in the dir you run this in
# produces part???.wav files.

use strict ;

my $vpmfile = "English_British_.vpm" ;
open(INFILE,$vpmfile) or die "Can't open $vpmfile: $!" ;

my $outprefix = "part" ;
my $masterchunk = 1 ;
my $filechunk = substr("000".$masterchunk,-3,3) ;
my $outpostfix = ".wav" ;
my $outfile = $outprefix.$filechunk.$outpostfix ;
open(OUTFILE,">$outfile") or die "Can't open $outfile: $!" ;

while (<INFILE>)
{
my @data = split(/RIFF4/) ;
my $chunks = $#data ;
my $chunk = 0 ;
print OUTFILE $data[$chunk] ;

while ($chunk < $chunks)
{
close(OUTFILE) ;
$chunk += 1 ;
$masterchunk += 1 ;
$filechunk = substr("000".$masterchunk,-3,3) ;
$outfile = $outprefix.$filechunk.$outpostfix ;
open(OUTFILE,">$outfile") or die "Can't open $outfile: $!" ;
print OUTFILE "RIFF4$data[$chunk]" ;
}
}

close(OUTFILE) ;

close(INFILE) ;

######################################

Part001 is not actually a wav its the header.
Part002 says One,
Part003 says Two, etc,
Part026 and part039 are both {Bing} one is probably the speed camera alert.

Next thing I need to write another script to patch it all back up together, was unsure if perl was the best tool , it kicked up a good few messages about non readable characters but listening to the output wavs it did seem to work. As I say need to patch it back to gether to test it properly so dont get too excited
Back to top
View user's profile Send private message
gcb
Regular Visitor


Joined: Oct 24, 2005
Posts: 151

PostPosted: Thu Dec 08, 2005 5:17 pm    Post subject: Reply with quote

Was being thick there for a second,
patch it together?
because I have linux I can just:

# cat part* >English_British_.vpm

confirming with

# diff English_British_.vpm English_British_.orig

and the files are identical, no damage.

So If you can make your own version of my perl script, get your 129 files have a listen and start changing.
Whip them all back together with cat, or if you got windows write another perl script to do it, there you go.
Back to top
View user's profile Send private message
Ash10
Pocket GPS Verifier
Pocket GPS Verifier


Joined: Feb 19, 2005
Posts: 478

PostPosted: Thu Dec 08, 2005 5:20 pm    Post subject: Reply with quote

gcb wrote:
Part026 and part039 are both {Bing} one is probably the speed camera alert.

I thought (from memory) that it was around sample 68/69... Smile

Analysing this particular sample, it certainly doesn't have anything like FSD - probably nearer 60%, so could be made to go a lot louder.

I'm guessing that the header is a vector table, but I haven't really had time to investigate. No idea where the sample filenames come from, though - I'd be surprised if they were hard coded.
Back to top
View user's profile Send private message
gcb
Regular Visitor


Joined: Oct 24, 2005
Posts: 151

PostPosted: Thu Dec 08, 2005 6:09 pm    Post subject: Reply with quote

Sorry , Speed cammera is bing,bing. Think thats 66,or 67 other 2 are single bings. I been a bit pre-emptive with my posts.

I agree, I think that the header is a table used to connect .wavs together to create sentances. The grammer being diferent in French, English etc this is different for each language file.
Only problem theres no INFO, INAM at the end of each .wav's. I dont know how the files are named/indexed so changing them, changing the length in particular could effect the start end byte positions which could invalidate the data in the header. Only way to see it to try it. There are some voice changing applications available where you could take the original .wavs and alter the tone, deeper higher etc, Make the womans voice sound like a man or like micky mouse. I'd try running the wavs through something like this, put a helium voice effect on them as thats easiest and stringing them back together as a first stab if you get success then move on to something more sophisticated.
Back to top
View user's profile Send private message
gcb
Regular Visitor


Joined: Oct 24, 2005
Posts: 151

PostPosted: Fri Dec 09, 2005 12:31 pm    Post subject: Reply with quote

Have you tried changing any .wavs yet Ash10?

I note you said the files were (IIRC) 16-bit mono @ 22050Hz.

Using basic Microsoft Sound Recorder. The files seem to be

IMA ADPCM 22.050 kHz, 4 Bit, Mono

I tried some editing using software called WavePad which changed them to PCM 22.050 kHz, 16 Bit, Mono which increases the size of each file would prefer to keep them in original format. Sound Recorder can edit and change them back but its a labourious process editting everything twice.

I havent tried uploading anything to the SDCard, misslayed my card reader anyway.

Any sugestions on best free sound editting software for recording and for adjusting pitch/speed. Most sound editting software on the web seems to be to allow men to impersonate children and teenagers over internet voice communication in real time. Very dubious.
Back to top
View user's profile Send private message
Ash10
Pocket GPS Verifier
Pocket GPS Verifier


Joined: Feb 19, 2005
Posts: 478

PostPosted: Fri Dec 09, 2005 12:36 pm    Post subject: Reply with quote

gcb - check your PM inbox!
Back to top
View user's profile Send private message
Ash10
Pocket GPS Verifier
Pocket GPS Verifier


Joined: Feb 19, 2005
Posts: 478

PostPosted: Fri Dec 09, 2005 9:29 pm    Post subject: Reply with quote

gcb wrote:
IMA ADPCM 22.050 kHz, 4 Bit, Mono

Yep, my bad - deffo 4-bit ADPCM, 22050Hz, mono
Back to top
View user's profile Send private message
gcb
Regular Visitor


Joined: Oct 24, 2005
Posts: 151

PostPosted: Tue Dec 13, 2005 12:31 pm    Post subject: Reply with quote

CRACKED IT!!!

Read your mail Ash. Arrow
Back to top
View user's profile Send private message
sacd
Occasional Visitor


Joined: Nov 01, 2005
Posts: 43

PostPosted: Wed Dec 14, 2005 10:25 am    Post subject: Reply with quote

What are you actually trying to do?
Back to top
View user's profile Send private message Send e-mail







Posted: Today    Post subject: Pocket GPS Advertising

Back to top
Display posts from previous:   
Post new topic   Reply to topic    Pocket GPS World Forum Index -> Garmin Portable Navigation Devices All times are GMT + 1 Hour
Goto page 1, 2, 3, 4, 5, 6, 7, 8, 9, 10  Next
Page 1 of 10

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Powered by phpBB 2.0.11 © 2001 phpBB Group
phpBB port v2.1 based on Tom Nitzschner's phpbb2.0.6 upgraded to phpBB 2.0.4 standalone was developed and tested by:
ArtificialIntel, ChatServ, mikem,
sixonetonoffun and Paul Laudanski (aka Zhen-Xjell).

Version 2.1 by Nuke Cops 2003 http://www.nukecops.com

Make a Donation



CamerAlert Database

Click here for the PocketGPSWorld.com Speed Camera Database

Download Speed Camera Database
20.115 (30 Nov 22)



WORLDWIDE SPEED CAMERA SPOTTERS WANTED!

Click here to submit camera positions to the PocketGPSWorld.com Speed Camera Database


12mth Subscriber memberships awarded every week for verified new camera reports!

Submit Speed Camera Locations Now


CamerAlert Apps



iOS QR Code






Android QR Code







Terms & Privacy


GPS Shopping