Skip to content
Type

WrappedAudioBuffer ​

An AudioBuffer with additional timing information (timestamp & duration).

ts
type WrappedAudioBuffer = {
	buffer: AudioBuffer;
	timestamp: number;
	duration: number;
};

Used by ​

Properties ​

buffer ​

ts
buffer: AudioBuffer;

An AudioBuffer.

timestamp ​

ts
timestamp: number;

The timestamp of the corresponding audio sample, in seconds.

duration ​

ts
duration: number;

The duration of the corresponding audio sample, in seconds.

Released under the Mozilla Public License 2.0.