|
 |
06-03-2005, 04:01 AM
|
#1
|
|
Newbie
Join Date: Jun 2005
Posts: 5
|
Gps Software Developing Anyone? Help!
Hi!
My very first post in this forum!
I have an IPAQ (pocket PC) which I use for navigation and I want some help with the development of a small program to be used as an interface between the longitude/latitude parameters of the GPS receiver and the mp3's loaded in the IPAQ. Anyone with experience???
Thxs in advance,
Cologne
P.S. Great forum this one, I feel already addicted…
|
|
|
|
|
|
Advertisement
|
Sponsored links
|
06-03-2005, 08:53 AM
|
#2
|
|
Maximum Bitrate
Join Date: Apr 2003
Location: Leeds, UK
Posts: 533
|
Quote: Originally Posted by cologne
Hi!
My very first post in this forum!
I have an IPAQ (pocket PC) which I use for navigation and I want some help with the development of a small program to be used as an interface between the longitude/latitude parameters of the GPS receiver and the mp3's loaded in the IPAQ. Anyone with experience???
Thxs in advance,
Cologne
P.S. Great forum this one, I feel already addicted… 
What. You want it to play music depending on your location on the planet? Interesting idea!
Driving in London to The Future Sound of London
Driving through Amarillo Texas to the sound of Peter Kaye
Driving in Memphis to Walking in Memphis!
Driving through S*****horpe to Roy Chubby Brown, He's a *****
|
|
|
06-03-2005, 09:21 AM
|
#3
|
|
Maximum Bitrate
Join Date: May 2005
Location: Toronto, Canada
Posts: 842
|
Why not take it one step further and factor in time of day and season for the selection of music ;-)
And of course, don't forget your driving speed ;-)
|
|
|
06-03-2005, 10:12 AM
|
#4
|
|
Newbie
Join Date: Jun 2005
Posts: 5
|
From my point the program has to be irrelevant of time (and day or season) hence the lon/lat parameters I want to use. The point is a certain mp3 to be played whenever you reach these gps parameters, no matter if it is day or night, summer or fall...
I am glad and grateful we get suggestions how to make it better but any ideas how this can be implemented?
|
|
|
06-03-2005, 10:26 AM
|
#5
|
|
Low Bitrate
Join Date: Dec 2003
Posts: 111
|
Yeah, it´s actually a pretty simple thing to do if you dont want anything else using the GPS at that time, which is unlikely... but w/e
What you´ll want to do is write a quick and dirty little C program using the FMOD api´s (google them).. that´s the bits that handles the playing of MP3´s, if i wasn´t on a cheeseball internet terminal somewhere in spain i´d post the code for a playmp3 function in c, maybe later but it´s easy enough to make one based on the example code that comes with the FMOD api´s
Assuming your GPS is NEMA comp. and on a serial port (or a USB port using USB -> serial drivers) you´ll want to get the NEMA2.0 or whatever code specification, and write/find a little C function to strip the long/lat data.
So, now you´ve got a function to play mp3´s, and a function to figure out long-lat data, now all you need to do is build a structure with a position (long/lat, probably 2 doubles) and a mp3 filename (probably a string)
Now you´ve got the data, the structure relating the data, now all you need to do is build your database of places for songs. Make an array of that structure, with one element for every place-song combination you want, and make a for loop that compares the location to the elements of that array every time you need to change songs. You´ll need to specify some sort of tolerance for your coordinates so you don´t need to be at the exact place you´ve defined for a certain song for it to play, but all that is details.
If you know how to code C, it´s a pretty simple thing to do!
|
|
|
06-03-2005, 11:02 AM
|
#6
|
|
Newbie
Join Date: Jun 2005
Posts: 5
|
GREENWIRE, thxs for this, I have sent you a pm...
|
|
|
06-07-2005, 05:16 PM
|
#7
|
|
Newbie
Join Date: Jan 2005
Posts: 35
|
you'll want to split the GPS signal so you can have multiple applications using the GPS at any one time.
I've split my GPS signal onto two virtual com ports using Fransom GPS Gate, its about $15, and allows you to take the regular signal and mirror it out to virtual com ports.
I use this so that I can have destinator running as well as a GPS feed to netsumbler, cant get lost war driving now
|
|
|
06-07-2005, 09:52 PM
|
#8
|
|
FLAC
Join Date: Mar 2004
Location: Florence Yall, BFKY
Posts: 1,722
|
It's been done. http://www.flashenabled.com/
Look for location based playlists, or just read the whole thing. It's all good.
__________________
XPort 1.26 -GPS port splitter, logger, and USB device resume fix
|
|
|
06-07-2005, 10:49 PM
|
#9
|
|
MySQL Error
Join Date: Dec 2004
Location: Los Angeles Ca
Posts: 3,675
|
Quote: Originally Posted by Curiosity
that is freakin cool site!
__________________
New System in progress:
M10k
Phaze TD1500 ~> Dynaudio MD130
Phaze TD1500 ~> Seas g18rnx/p
Zapco Ref 500.1 ~ 12" tc-9
Behringer DCX2496 ~ Envision Electronics psu
Transflective Xenarc
My Car Pc Install
|
|
|
|
Sponsored links
|
|
Advertisement
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 01:59 AM.
| |