The FreeRunner has a headset which includes a microphone and a button. When doing OpenStreetMap mapping, it would be very useful to be able to keep tangogps on the display and be able to mark waypoints using the headset button, and to record an audio track using the headset microphone.
In this way, I can use tangogps to see where I need to go, where it's already mapped and where it isn't, and then I can use the headset to mark waypoints corresponding to the audio track, so that later I can take advantage of JOSM's audio mapping features.
$ audiomap --help Usage: audiomap [options] Create a GPX and audio trackFind the times in the wav file when there is clear voice among the noise Options: --version show program's version number and exit -h, --help show this help message and exit -v, --verbose verbose mode -m, --monitor only keep the GPS on and monitor satellite status -l, --levels only show input levels
If called without parameters, or with
-v which is suggested, it will:
- Fix the mixer settings so that it can record from the headset and detect headset button presses.
- Show a monitor of GPS satellite information until it gets a fix.
- Synchronize the system time with the GPS time so that the timestamps of the files that are created afterwards are accurate.
- Start recording a GPX track.
- Start recording audio.
- Record a GPX waypoint for every headset button press.
When you are done, you stop audiomap with
^C and it will properly close the
.wav file, close the tags in the GPX waypoint and track files and restore the
You can plug the headset out and record using the handset microphone, but then you will not be able to set waypoints until you plug the headset back in.
After you stop
audiomap, you will have a track, waypoints and
ready to be loaded in JOSM.