peaksOf(samples: ArrayLike<number>,n?: number): number[]
Returns n peaks of samples, each the loudest of its slice, scaled so the
loudest of all is 1 and rounded to three places: a quiet recording fills the
waveform as a loud one does. samples may be signed, as audio is, or
already peaks of smaller slices. Silence gives zeros.