Function: peaksLevel()
function peaksLevel(peaks, options?): number;
Defined in: display.ts:338
Loudness reference of the peaks, computed over buckets rather than over a
resampled view. Pass it to normalize as reference so the scale of
a waveform does not change when you zoom or change the bar count.
Returns 0 for silence.
Parameters
| Parameter | Type |
|---|---|
peaks | Peaks |
options? | LevelOptions |
Returns
number