importAudio
private void importAudio(java.io.File wavFile,
MarkerLayer ml,
double firstStartTime,
ImportAudioAction.Markers markers)
Makes a new marker layer derived from this GpxLayer containing at least one audio marker
which the given audio file is associated with. Markers are derived from the following (a)
explict waypoints in the GPX layer, or (b) named trackpoints in the GPX layer, or (d)
timestamp on the wav file (e) (in future) voice recognised markers in the sound recording (f)
a single marker at the beginning of the track
- Parameters:
wavFile
- the file to be associated with the markers in the new marker layer
ml
- marker layer
firstStartTime
- first start time in milliseconds, used for (d)
markers
- keeps track of warning messages to avoid repeated warnings