audio2d
Version:
Easy to use API to add the power of web audio to your game.
21 lines (18 loc) • 432 B
text/typescript
/**
* 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;
}