Changes between Version 8 and Version 9 of Help/AudioMapping/Calibration


Ignore:
Timestamp:
2025-01-13T18:20:38+01:00 (2 weeks ago)
Author:
stoecker
Comment:

Use wikitr:

Legend:

Unmodified
Added
Removed
Modified
  • Help/AudioMapping/Calibration

    v8 v9  
    66An error of 5 seconds per hour could mean you are 100m or more out after four hours surveying on a bike, and more in a car, if you are relying on the clock in the audio device to indicate position on a GPS track.
    77
    8 To calibrate, you need to enter a number close to but not exactly 1.0 in the calibration setting of JOSM's [wiki:Help/Preferences/Audio Audio Preferences]. This number is the ratio of the sound recorder's notion of how long a recording is to the accurate length. For example, if the audio recording of a 3 hour interval turns out to be 3 hours and 15 seconds long, your calibration number is (3 x 60 x 60 + 15)/(3 x 60 x 60), which works out at 1.00139 (five decimal places is ample). If your recorder's clock runs fast, the number will be slightly less than 1.0. If it is very much different from 1.0, throw away your voice recorder!
     8To calibrate, you need to enter a number close to but not exactly 1.0 in the calibration setting of JOSM's [wikitr:/Help/Preferences/Audio Audio Preferences]. This number is the ratio of the sound recorder's notion of how long a recording is to the accurate length. For example, if the audio recording of a 3 hour interval turns out to be 3 hours and 15 seconds long, your calibration number is (3 x 60 x 60 + 15)/(3 x 60 x 60), which works out at 1.00139 (five decimal places is ample). If your recorder's clock runs fast, the number will be slightly less than 1.0. If it is very much different from 1.0, throw away your voice recorder!
    99
    1010== procedure ==
     
    1414 2. Measure how long your recorder thinks this is. You '''can't''' do this by playing back the recording on the recorder and timing it, because that will be using the same clock for playback as it used to record. You need to take the digital file and determine this according by comparing the purported sampling rate to the actual sampling rate. You can do this in JOSM or more accurately using a sound editor:
    1515
    16    * Using a sound editor such as [http://audacity.sourceforge.net/ Audacity], open the clip and delete the portions before and after your two marks. The pips are easy to edit visually. Read the length from the duration display (in Audacity this runs along the top of the soundtrack waveform).
     16   * Using a sound editor such as [https://audacity.sourceforge.net/ Audacity], open the clip and delete the portions before and after your two marks. The pips are easy to edit visually. Read the length from the duration display (in Audacity this runs along the top of the soundtrack waveform).
    1717
    1818   * In JOSM,
    1919     a. open a GPX file (any will do providing it is long enough),
    20      b. [wiki:Help/Action/ImportAudio Import Audio] on the GPX layer's context menu to make an audio marker layer,
     20     b. [wikitr:/Help/Action/ImportAudio Import Audio] on the GPX layer's context menu to make an audio marker layer,
    2121     c. play the audio until you hear your starting cue,
    22      d. [wiki:Help/Action/MakeAudioMarkerAtPlayHead Make an Audio Marker at the play head]
     22     d. [wikitr:/Help/Action/MakeAudioMarkerAtPlayHead Make an Audio Marker at the play head]
    2323     e. repeat for the end point.
    2424     f. look at the labels for the two points, which are in GPS time offset from the start of the track; the difference is the measured sound track duration.
    2525
    26  3. Divide the measured time by the real time and enter the result in [wiki:Help/Preferences/Audio Audio Preferences].
     26 3. Divide the measured time by the real time and enter the result in [wikitr:/Help/Preferences/Audio Audio Preferences].
    2727
    2828 4. Repeat for each mapping session until and unless you are sure the discrepancy is constant enough. Also, consider that the discrepancy may vary according to the sound quality settings on your recorder.
    2929
    30 Back to [wiki:Help Main Help]
     30Back to [wikitr:/Help Main Help]