Versions in this module Expand all Collapse all v0 v0.1.0 Jul 19, 2026 Changes in this version + var ErrNoBeat = errors.New("tactus: no detectable beat") + var ErrTooShort = errors.New("tactus: audio too short to estimate") + func Estimate(mono []float64, sampleRate int) (float64, error) + func EstimateWith(mono []float64, sampleRate int, opt Options) (float64, error) + type Candidate struct + BPM float64 + Confidence float64 + Support float64 + func EstimateAllCandidates(mono []float64, sampleRate int) ([]Candidate, error) + func EstimateAllCandidatesWith(mono []float64, sampleRate int, opt Options) ([]Candidate, error) + func EstimateCandidates(mono []float64, sampleRate int) ([]Candidate, error) + func EstimateCandidatesWith(mono []float64, sampleRate int, opt Options) ([]Candidate, error) + type Options struct + MaxBPM float64 + MinBPM float64