Versions in this module Expand all Collapse all v0 v0.2.0 Nov 15, 2026 Changes in this version + const MinOverlap + func Compare(a, b [][]float64) float64 + func CompareAt(a, b [][]float64) (score float64, offset int) v0.1.0 Nov 15, 2026 Changes in this version + const Bands + const FrameSize + const Hop + const MaxFreq + const MinFreq + const NormalizeThreshold + const Overlap + const SampleRate + var DefaultCoefficients = []float64 + var ErrTooManyTaps = errors.New("chroma: filter has more taps than the frame history can hold") + var ErrTooShort = errors.New("chroma: audio shorter than one frame") + func Features(samples []int16) ([][]float64, error) + func Normalize(features []float64) + type Chroma struct + Interpolate bool + func New(minFreq, maxFreq, frameSize, sampleRate int) *Chroma + func (c *Chroma) Consume(spectrum []float64, out []float64) []float64 + type Filter struct + func NewFilter(coefficients []float64) (*Filter, error) + func (f *Filter) Consume(features []float64) []float64 + func (f *Filter) Reset()