Skip to main content

Function: resampleMinMax()

function resampleMinMax(
peaks,
bars,
options?
): MinMax;

Defined in: display.ts:298

Signed envelope: the smallest and largest sample under every bar (-1…1). Draw max above the center line and min below it for an asymmetric, DAW-style waveform.

Parameters​

ParameterType
peaksPeaks
barsnumber
options?RangeOptions

Returns​

MinMax