Skip to main content

Documentation Index

Fetch the complete documentation index at: https://wb-21fd5541-john-wbdocs-2044-rename-serverless-products.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

weaveAudio

weaveAudio(options): WeaveAudio Create a new WeaveAudio object

Parameters

NameTypeDescription
optionsWeaveAudioInputThe options for this media type - data: The raw audio data as a Buffer - audioType: (Optional) The type of audio file, currently only ‘wav’ is supported

Returns

WeaveAudio Example
const audioBuffer = fs.readFileSync('path/to/audio.wav');
const weaveAudio = weaveAudio({ data: audioBuffer });

Defined in

media.ts:62