resample function
`count` bar heights from peaks: the loudest point of each bar's stretch, or between two.
import { resample } from '@dioramajs/audio/visualizer'function resample(values: Float32Array, count: number, out: Float32Array): voidParameters
| Name | Type | Description |
|---|---|---|
values | Float32Array | |
count | number | |
out | Float32Array |
Defined in packages/audio/src/visualizer.ts.