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

# weaveAudio

> TypeScript SDK 레퍼런스

<div id="weaveaudio">
  # weaveAudio
</div>

▸ **weaveAudio**(`options`): [`WeaveAudio`](../interfaces/weaveaudio)

새로운 WeaveAudio 객체를 생성합니다

<div id="parameters">
  #### 매개변수
</div>

| Name      | Type              | 설명                                                                                             |
| :-------- | :---------------- | :--------------------------------------------------------------------------------------------- |
| `options` | `WeaveAudioInput` | 이 미디어 유형의 옵션입니다. - data: Buffer 형식의 원시 오디오 데이터 - audioType: (선택) 오디오 파일 유형으로, 현재는 'wav'만 지원됩니다 |

<div id="returns">
  #### 반환값
</div>

[`WeaveAudio`](../interfaces/weaveaudio)

`예시`

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

<div id="defined-in">
  #### 정의 위치
</div>

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

***
