[gst-devel] Audio pipeline: how to detect beats, BPM counter

Thijs Vermeir thijsvermeir at gmail.com
Mon Sep 24 12:37:16 CEST 2007


Hi

On 9/24/07, Florent THIERY <fthiery at gmail.com> wrote:
> Hi,
>
> I'm looking for hints about implementing a gstreamer-based BPM counter
> and beat detector (from alsasrc).
>
> The first approach i though of would be using frequency filters
> (low-band filter for beats), but then how to get a numerical value of
> the volume in output  (and emit a corresponding gobject bus signal
> when threshold is passed) ?
>
> I'd appreciate any hints towards pre-investigated beat detection /
> sound analysis tips and tricks.
>

There is a spectrum plugin (gst-plugins-bad) that can inspect (fft
transform) a audio stream and outputs spectrum data.

The "BPM counter plugin" can a Bin that has this spectrum element and
analyses the data.

Thijs




More information about the gstreamer-devel mailing list