Audio

segment

Get a segment of an audio

moises.audio.segment

Parameters

ParameterTypeDescription
inputArrayBufferThe audio buffer to segment
startTimenumberThe start time of the segment in seconds
endTimenumberThe end time of the segment in seconds

Returns:

Promise<ArrayBuffer> - Promise that resolves with the segmented audio buffer

Example resolved value:

// When the promise resolves, you get:
ArrayBuffer

This file is automatically generated. Do not edit manually.

On this page