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

# weaveAudio

> TypeScript SDK 레퍼런스

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

새 WeaveAudio 객체를 생성합니다

정의 위치: [src/media.ts:62](https://github.com/wandb/weave/blob/8c5f077eb11c42b84000726ff20504abc728d3fb/sdks/node/src/media.ts#L62)

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

<div id="options">
  ### options
</div>

`WeaveAudioInput`

이 미디어 유형의 옵션입니다

* data: Buffer 형식의 원시 오디오 데이터
  * audioType: (선택) 오디오 파일 유형으로, 현재는 'wav'만 지원됩니다

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

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

<div id="example">
  ## 예시
</div>

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