Audio

crop

Crops an audio

moises.audio.crop

Parameters

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

Returns:

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

Example resolved value:

// When the promise resolves, you get:
ArrayBuffer

This file is automatically generated. Do not edit manually.

On this page