type AudioExportOptions = object;
Properties#
Property | Type | Default value | Description |
---|---|---|---|
mimeType? | AudioMimeType | 'audio/wav' | The MIME type of the output audio file. |
onProgress? | (numberOfRenderedFrames , numberOfEncodedFrames , totalNumberOfFrames ) => void | undefined | A callback which reports on the progress of the export. |
timeOffset? | number | 0 | The time offset in seconds relative to the target block. |
duration? | number | The duration of the block. | The duration in seconds of the final audio. |
sampleRate? | number | 48000 | The sample rate of the exported audio. |
numberOfChannels? | number | 2 | The number of channels of the exported audio. |