UNPKG

audio2d

Version:

Easy to use API to add the power of web audio to your game.

18 lines (17 loc) 414 B
/** * Defines the structure of the object that is used to define an audio clips markers. */ export interface Marker { /** * The name of this marker. */ name: string; /** * The time this marker starts at in the clip, in milliseconds. */ start: number; /** * The amount of time that this marker lasts, in milliseconds. */ duration?: number; }