Home > @magiclane/maps-sdk > SoundMark

SoundMark class

Represents a time interval in a recording where sound was captured.

A SoundMark identifies the start and end offsets (in milliseconds) of a section of a log that contains recorded audio and the geographic Coordinates associated with that interval.

Soundmarks are generated automatically during audio recording sessions. Play the .mp4 file with an external media player to play the audio content from the start to the end offsets.

Signature:

export declare class SoundMark implements LogMark 

Implements: LogMark

Constructors

Constructor

Modifiers

Description

(constructor)(start, end, coordinates)

Creates a SoundMark with the specified start and end offsets and coordinates.

API users typically do not create SoundMark instances directly.

Properties

Property

Modifiers

Type

Description

coordinates

Coordinates

Coordinates associated with the sound interval.

end

number

End offset in milliseconds (between 0 and log length).

start

number

Start offset in milliseconds (between 0 and log length).