UNPKG

wave-roll

Version:

JavaScript Library for Comparative MIDI Piano-Roll Visualization

9 lines 278 B
/** * Compute min/max peaks from an AudioBuffer. * Returns two arrays with `numPeaks` samples each. */ export declare function getPeaksFromAudioBuffer(audioBuffer: AudioBuffer, numPeaks?: number): { min: number[]; max: number[]; }; //# sourceMappingURL=peaks.d.ts.map