peaks static method
Normalized (0..1) peaks for path, peaksPerSecond per second, or null
when the file cannot be decoded. Results are cached per path.
Implementation
static Future<Float32List?> peaks(String path) =>
_cache.putIfAbsent(path, () => _load(path));