Skip to content

API Interface AudioMarkerEvent

github-actions[bot] edited this page Nov 24, 2026 · 2 revisions

Interface: AudioMarkerEvent

Defined in: src/engine/audio/markerTypes.ts:13

What onMarker and onAudioMarker pass: the marker, the sample it is in and its heard time.

Properties

name

name: string;

Defined in: src/engine/audio/markerTypes.ts:16

The marker's name.


sample

sample: string;

Defined in: src/engine/audio/markerTypes.ts:18

The sample path it is in.


time

time: number;

Defined in: src/engine/audio/markerTypes.ts:20

Heard time (seconds, Audio.time's base) it passed at.


type

type: AudioMarkerType;

Defined in: src/engine/audio/markerTypes.ts:14

Clone this wiki locally