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