Crate beat_detector[][src]


Module for audio recording from an audio input device. This needs std-functionality.


Struct that holds information about a detected beat.


Enum that conveniently and easily makes all Strategys provided by this crate accessible. This enum provides the bare minimum functionality to access the strategies. All deeper functionality must be defined inside the implementations.


Common abstraction over a beat detection strategy. Each strategy keeps ongoing audio samples, for example from microphone. Strategies should have an internal mutable state via interior mutability to compare sample windows (and analysis) against previous values.