HpcpData

data class HpcpData(val frames: List<FloatArray>, val hopSize: Int, val sampleRate: Int, val hpcpSize: Int)

Parsed HPCP (Harmonic Pitch Class Profile) chroma frames decoded from the binary HPCP chroma format.

One FloatArray of hpcpSize bins per frame, in chronological order at a fixed hop. Produced by com.musicmuni.voxatrace.sonix.SonixWriter.formatHpcp and read by com.musicmuni.voxatrace.sonix.SonixParser.parseHpcp.

Constructors

Link copied to clipboard
constructor(frames: List<FloatArray>, hopSize: Int, sampleRate: Int, hpcpSize: Int)

Properties

Link copied to clipboard
val count: Int

Number of frames.

Link copied to clipboard

Chroma vectors, one per frame (hpcpSize floats each).

Link copied to clipboard

Hop between frames in samples.

Link copied to clipboard

Bins per frame (12 = one per semitone).

Link copied to clipboard

Sample rate the frames were computed at, in Hz.

Functions

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