Audio
crop
Crops an audio
moises.audio.crop
Parameters
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:
ArrayBuffer
This file is automatically generated. Do not edit manually.