Skip to main content
weaveAudio(options): WeaveAudio
Create a new WeaveAudio object Defined in: src/media.ts:85

Parameters

options

The 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

audioType?

"wav"

data

Buffer

Returns

WeaveAudio

Example