Audio
crop
Crops an audio
moises.audio.cropParameters
| Parameter | Type | Description |
|---|---|---|
input | ArrayBuffer | The audio buffer to crop |
startTime | number | The start time of the crop in seconds |
endTime | number | The 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:
ArrayBufferThis file is automatically generated. Do not edit manually.