Waveform

data class Waveform(val bucketDuration: Duration, val peaks: FloatArray, val rms: FloatArray)

A file drawn as peaks and rms, one entry per bucket of bucketDuration, both in 0..1 and mono-mixed. A bucket nothing was decoded into reads zero in both. Two waveforms are equal when every field is, the contents of both arrays included.

Constructors

Link copied to clipboard
constructor(bucketDuration: Duration, peaks: FloatArray, rms: FloatArray)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int