메인 콘텐츠로 건너뛰기

Documentation Index

Fetch the complete documentation index at: https://wb-21fd5541-feature-automate-reference-docs-generation.mintlify.app/llms.txt

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

weaveDocs
weave / weaveAudio

Function: weaveAudio()

weaveAudio(options): WeaveAudio
새 WeaveAudio 객체 생성

매개변수

options: WeaveAudioInput 이 미디어 타입에 대한 옵션
  • data: The raw audio data as a Buffer
  • audioType: (Optional) The type of audio file, currently only ‘wav’ is supported

반환

WeaveAudio

예시

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

정의 위치

media.ts:62