We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 90315b9 commit f50018bCopy full SHA for f50018b
1 file changed
waveform-data.d.ts
@@ -206,6 +206,16 @@ declare module 'waveform-data' {
206
207
concat: (...args: Array<WaveformData>) => WaveformData;
208
209
+ /**
210
+ * Returns a subset of the waveform data between a given start and end
211
+ * point
212
+ */
213
+
214
+ slice: (
215
+ options: { startTime: number; endTime: number } |
216
+ { startIndex: number; endIndex: number }
217
+ ) => WaveformData;
218
219
/**
220
* Returns the waveform data as an object
221
*/
0 commit comments