Search:
Login
Preferences
Help/Guide
About Trac
Register
Forgot your password?
Wiki
Timeline
Changelog
Browse Source
View Tickets
New Ticket
Roadmap
Builds
Sonar
Search
Context Navigation
+0
Start Page
Index
History
Editing Help/AudioMapping/SeparateClipsByTime
Adjust edit area height:
8
12
16
20
24
28
32
36
40
Edit side-by-side
[[TranslatedPages]] = Audio Mapping: Audio clips using audio file time stamps = This method of audio mapping uses the modified time stamps of a set of separate WAV files recorded while surveying to make a set of audio markers at the corresponding times on the GPX track. Calibration is critical because the clock in the voice recorder which applies the time stamps is being matched to the times recorded for points along the track. However, you cannot synchronize in JOSM with this method, so set the recorder's clock carefully when you start. Also, try to use an setting on your audio recorder that makes WAV files in a format that JOSM can understand directly - if you have to transform the files, it is hard to keep the time stamps (though the Unix command ''touch'' is your friend if you do have to do this). Note that the modified time stamp is taken to refer to the time at the end of each recording, but the audio markers are placed at the beginning of the recording. Make sure you get the time zones of all the equipment set so it is all consistent. If your times are off by an hour, chances are it is a time zone or daylight savings / summer time problem. == Procedure: == === Before you start === 1. [wikitr:/Help/AudioMapping/Calibration Calibrate] your voice recorder. Though a recorder may not be very accurate, it is unlikely to vary much, so you will probably only need to do this once. === While surveying === 1. Obtain a fix with your GPS. 1. Set the clock in your recorder to exactly match the time shown on the GPS display. 1. Do your surveying. Whenever you want to identify a location, start the recorder, dictate notes and stop the recorder again. === On the computer === 1. Extract your tracks from the GPS as a GPX file, and your sound track from the recorder as WAV files, taking care to preserve the modified time stamps on the files. * JOSM (actually, Java's built-in audio facilities) doesn't recognise every variety of WAV file encodings. If you need to (JOSM will tell you), convert your recording to a suitable format using e.g. [https://www.audacityteam.org/ Audacity]. 8,000 16-bit samples per second is a reasonable format. You will need to apply the timestamps of the old files onto the new ones if you have to do this; the Unix command ''touch'' can do this easily if you use consistent naming. On Windows, you can get ''touch'' as part of [https://www.cygwin.com/ cygwin]. 1. [wikitr:/Help/Action/Open Open] your GPX file. This will create a GPX layer showing the track. 1. Make sure the [wikitr:/Help/Preferences/Audio Audio Preference] "''Modified times (time stamps) of audio files''" option is checked. 1. [wikitr:/Help/Action/ImportAudio Import Audio] using the context menu (right mouse button) for the GPX layer. This then asks for your WAV files. Select all the relevant WAV files (`Ctrl+Shift` + click to add and remove files in the selection). This should a produce Marker Layer containing one audio marker for each file labelled with the file name (excluding the extension `.wav`). * if you don't see labels with the Markers, check that [wikitr:/Help/Action/ShowHideTextIcons Show/Hide Text/Icons] on the context menu for the Marker Layer is not off. 1. Make the map using your commentary. Click on the markers to play the corresponding audio. You can move the play head within any one recording's range and use the [wikitr:/Help/Action/AudioFwd jump forward], [wikitr:/Help/Action/AudioFaster fast forward] and [wikitr:/Help/Action/AudioSlower slow forward] audio controls, but you can't drag the play head to positions between recordings. * If you start finding play back isn't happening where you expect: a. you may not have [wikitr:/Help/AudioMapping/Calibration calibrated] correctly a. you may have been speaking too soon or too late while mapping: you can insert a lead-in time to compensate for this using 'Lead-in time' in [wikitr:/Help/Preferences/Audio Audio Preferences]. ---- Back to [wikitr:/Help/AudioMapping Audio Mapping] \\ Back to [wikitr:/Help/Menu/Audio Audio Menu] \\ Back to [wikitr:/Help/Menu Main Menu] \\ Back to [wikitr:/Help Main Help]
Note:
See
WikiFormatting
and
TracWiki
for help on editing wiki content.
Change information
Your email or username:
E-mail address and name can be saved in the
Preferences
Comment about this change (optional):
Note:
See
TracWiki
for help on using the wiki.