> ## Documentation Index
> Fetch the complete documentation index at: https://wb-21fd5541-feature-automate-reference-docs-generation.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# WeaveAudio

[**weave**](../README.mdx) • **Docs**

***

[weave](../README.mdx) / 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`

## 예시

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

## 정의 위치

[media.ts:62](https://github.com/wandb/weave/blob/e2313369cb35bc1b6f97c70539926dd951ead21e/sdks/node/src/media.ts#L62)
