I think I am making progress using GPSMid for audio mapping, but still having a few problems if anyone can help....<br><br>I have got GPSMid to record individual audio clips on demand, and produce a GPX waypoint when you record the clip.<br>
I can then export the GPX file and the audio files (amr format) to my PC.<br>A little python script puts the required <link href=....> tags in the GPX file, and converts them to wav format using ffmpeg.<br><br>When I import my GPX file into josm, it displays audio icons at the correct location, but when I click on them I get an error message saying "Error Playing Sound:  <filename>". Where <filename> is the name of the file I clicked on (without full path).  However, when you hit ok to accept the error dialog the file plays correctly...<br>
<br>To make this work I had to include the full path to the .wav files in the <link> tags, otherwise it wouldn't play at all.<br><br>A typical waypoint looks like:<br><div style="margin-left: 40px;"><wpt lat='54.698402' lon='-1.2252716'><br>
<name>AudioMarker-GpsMid-2009-04-10_12-13-42</name><br><com><time>2009-04-10T12:13:44Z</time></com><br><link href="file:///home/disk2/OSM/OSM/Hartlepool_10apr2009/gpsmid-2009-04-10_12-13-42.wav">audio</link><br>
</wpt><br></div><br>Can anyone suggest what I am doing wrong to generate this error please?  Also, I would prefer to be able to use relative paths rather than absolute ones, so any pointers to what to change in josm would be appreciated.  I am using the latest version of josm, from svn this evening.<br>
<br>Regards<br><br><br>Graham.<br><br><div class="gmail_quote">2009/3/28 Graham Jones (Physics) <span dir="ltr"><<a href="mailto:grahamjones@physics.org">grahamjones@physics.org</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Tim, Dave,<br>Thank you for your help with this.  Dave is right that I was looking at doing this as a bit of a challenge,
but I wanted to produce a separate audio recorder to the one that came
with my phone to make it easier to use without having to select options
etc., and adding the geotagging bits would be relatively simple to add.<br><br>It looks like GPSMid is a fancier version of what I was thinking of writing (I had displaying maps as a possible future extension....).  <br>

I'll have a look at that with a view to tweaking it if necessary to make the audio bits work how I want.<br><br>Regards<br><br>Graham.<br><br><div class="gmail_quote">2009/3/28 Tim Waters (chippy) <span dir="ltr"><<a href="mailto:chippy2005@gmail.com" target="_blank">chippy2005@gmail.com</a>></span><div>
<div></div><div class="h5"><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I think GPSMid  <a href="http://gpsmid.sourceforge.net/" target="_blank">http://gpsmid.sourceforge.net/</a>  supports audio<br>


mapping. it's a J2me program - your phone would need to support it<br>
also (mine doesn't alas).<br>
<br>
Also I use mobile trails explorer (also j2me), which has an audio<br>
waypoint tool too. (again, not tried).<br>
<a href="http://www.substanceofcode.com/software/mobile-trail-explorer/" target="_blank">http://www.substanceofcode.com/software/mobile-trail-explorer/</a><br>
<br>
Both programs work with bluetooth GPS and work with OSM in mind, and<br>
they are open source, so feel free to hack on them, see what works,<br>
might save you re-writing it from scratch!<br>
<br>
Cheers,<br>
<br>
Tim<br>
<br>
<br>
2009/3/27 Graham Jones (Physics) <<a href="mailto:grahamjones@physics.org" target="_blank">grahamjones@physics.org</a>>:<br>
<div><div></div><div>> I am after a simple way of recording street names when cycling rather than<br>
> having to write them down.  There is a section on the Wiki on "Audio<br>
> Mapping", but there is no mention of using a normal mobile phone and<br>
> bluetooth GPS receiver - the idea is to record audio clips and associated<br>
> location to import into JOSM later.  The advantage of a phone over the other<br>
> methods is that it should be able to record both audio, and GPS location at<br>
> the same time, to avoid the synchronisation problems.  It is also nice and<br>
> small, and you don't look odd talking into one.   It might even be possible<br>
> to use a bluetooth headset which would be even easier for cycling...<br>
><br>
> I have had a bit of a play and I think I can make it work (the GPS receiver<br>
> can talk to the phone, and the phone can record sounds), but I haven't<br>
> stitched it together in to a single application yet.<br>
> I can't help but think that someone will have tried this before (and<br>
> presumably failed because I can't find it anywhere?) - does anyone know if I<br>
> am onto a loser before I go too far down the road of coding it?  There is a<br>
> bit more information at<br>
> <a href="http://wiki.openstreetmap.org/wiki/Talk:Audio_mapping#Mobile_Phone_Version.3F" target="_blank">http://wiki.openstreetmap.org/wiki/Talk:Audio_mapping#Mobile_Phone_Version.3F</a><br>
><br>
> Any pointers to where this is going to go wrong would be appreciated!<br>
><br>
> Graham<br>
><br>
> --<br>
> Graham Jones<br>
> Hartlepool, UK<br>
> email: <a href="mailto:grahamjones139%2Bosm@gmail.com" target="_blank">grahamjones139+osm@gmail.com</a><br>
><br>
><br>
><br>
> --<br>
> Dr. Graham Jones<br>
> Hartlepool, UK<br>
> email: <a href="mailto:grahamjones139@gmail.com" target="_blank">grahamjones139@gmail.com</a><br>
><br>
</div></div>> _______________________________________________<br>
> dev mailing list<br>
> <a href="mailto:dev@openstreetmap.org" target="_blank">dev@openstreetmap.org</a><br>
> <a href="http://lists.openstreetmap.org/listinfo/dev" target="_blank">http://lists.openstreetmap.org/listinfo/dev</a><br>
><br>
><br>
</blockquote></div></div></div><br><br clear="all"><br>-- <br><div><div></div><div class="h5">Dr. Graham Jones<br>Hartlepool, UK<br>email: <a href="mailto:grahamjones139@gmail.com" target="_blank">grahamjones139@gmail.com</a><br>

</div></div></blockquote></div><br><br clear="all"><br>-- <br>Dr. Graham Jones<br>Hartlepool, UK<br>email: <a href="mailto:grahamjones139@gmail.com">grahamjones139@gmail.com</a><br>