Module beat_detector::record[][src]

Expand description

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

Functions

Convenient function which helps you to select from a number of audio devices using “cpal” audio library.

Convenient function which helps you to get capabilities of each audio device covered by “cpal” audio library.

Starts listening to audio events and tries to recognize beats on the audio. On each recognized beat, the specified callback is executed. It does so by starting a new thread.