Session
export
Exports the audio from the current session
moises.session.export
Parameters
Parameter | Type | Description |
---|---|---|
None | - | - |
Returns:
Promise<ArrayBuffer>
- Promise that resolves with the exported audio data
Example resolved value:
// When the promise resolves, you get:
ArrayBuffer
Usage Example
import { initMoisesExtension } from '@moises.ai/extension'
const useMoisesExtension = initMoisesExtension({
id: 'id',
name: 'name',
description: 'description',
icon: 'icon',
version: 'version',
author: 'author'
})
const { moises } = useMoisesExtension()
const audioData = await moises.session.export()
This file is automatically generated. Do not edit manually.