Skip to main content
Create a new WeaveAudio object

Parameters

object
required
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

Returns

WeaveAudio

Example