Skip to main content

Interface: AudioMixdownSource

Defined in: src/export/webCodecsAudio.ts:18

The part of an AudioManager the exporter needs. AudioManager satisfies it.

Properties​

tracks​

readonly tracks: readonly unknown[]

Defined in: src/export/webCodecsAudio.ts:20

The scheduled clips. An empty list means there is no audio to export.

Methods​

mixdown()​

mixdown(duration?, sampleRate?): Promise<AudioBuffer>

Defined in: src/export/webCodecsAudio.ts:22

Render the whole timeline (from time 0) into one buffer.

Parameters​

duration?​

number

sampleRate?​

number

Returns​

Promise<AudioBuffer>