What's the fastest way to take a directory of wav files and read the timestamps, adding the appropriate link tags to the gpx file for JOSM to use?
What's the fastest way to take a directory of wav files and read the timestamps, adding the appropriate link tags to the gpx file for JOSM to use?
Discussion
Comment from davidearl on 3 March 2009 at 10:09
The fastest way is not to bother - use a continuous audio recording then no post processing is required (other than get your audio in WAV format, as yours apparently isn't).
Clearly you're going to have to write a program to do this if you do want to. Maybe someone's already got one, but I haven't heard. It's basically a merge, you've got two data streams, the s (let's assume you've presorted these) and the s (typically in order already) each nominally with a key, the time stamp, so ignoring the formatting issues, the task is to emit one stream or the other depending on which has the earlier key as you run through each in parallel.
Comment from Mungewell on 4 March 2009 at 01:28
There's already a fair bit listed at:
osm.wiki/Audio_mapping
I'd suggest looking at 'Gps Event Sync' which converts a listing to GPX waypoints. With a bit of script foo you can magically make the listing from file time stamps.
If I remember correctly JOSM can play audio file linked to in those waypoints.
Mungewell.
Comment from Mungewell on 4 March 2009 at 01:34
PS. Should have noted that the timestamps will be a little off, problably when recording finished and care has to be taken when copying files around.
If you use a application like Manauton (also listed) you can embed a click-track into the audio (which would not suffer these problems) and do neat stuff like negative latency.
I was working on getting a scheme together, but haven't fixed my car's bearings yet so it's far too noisy to use audio mapping at present.