GBD
IoT Framework for Generic and Realtime Music Beat Detection
Install / Use
/learn @generic-beat-detector/GBDREADME
Generic Beat Detector (GBD)
The Generic Beat Detector (GBD) strives to deliver an industrial strength library and IoT framework for realtime beat detection (and soon other DSP analysis operations) for live music streams.
Description
GBD primarily consists of a library for music DSP analysis, and support plugins for audio signal routing between hosts.
<p align="center"> <img src="https://github.com/generic-beat-detector/GBD/blob/master/docs/img/gbd-iot-framework.jpg" alt="GBD IoT Framework" width="760" height="250"/> </p>This GBD release (v0.21) offers low-latency and realtime beat detection for live/playing music streams:
- Bass beat (e.g. kick drum) detection (below 200Hz)
- Detection of snare-like hits (between 3KHz and 10KHz)
- Detection of cymbals-like sounds (above 15KHz)
Targeted Users
The GBD framework is primarily designed for the IoT maker industry and community. The target is to supply robust, industrial-strength realtime music beat detection (and soon other music DSP analysis) engines for makers working with commodity hardware and developing setups or products similar to, for example, the Philips Hue Disco framework.
Operation
The Raspberry Pi computer is used as the platform of choice for the GBD core given the board's popularity with the IoT maker community. The GBD core (PCM routing server and DSP library) is GNU/Linux based. The GBD client and/or audio applications may execute on a remote host which need not be a GNU/Linux system. This is discussed at greater depth in GBD Architecture.
<p align="center"> <img src="https://github.com/generic-beat-detector/GBD/blob/master/docs/img/generalized-gbd-arch.jpg" alt="Generalized GBD Arch" width="430" height="250"/></p>With realtime beat detection, as an audio stream is routed through the GBD framework, the GBD music DSP analysis library delivers beat counts to Linux POSIX SHM. The IoT maker can then use this information to synchronize the control of light bulbs/leds to the music's beats. Check this OpenGL LED emulation on Youtube. This beat detection mode is referred to as GBD Standard.
Bear in mind that while GBD's realtime beat detection is sturdy, it still requires some "compliance" on the part of the user
if it is to function in the most generic manner possible, i.e. across the variety of music genres. For the best results, the quality of the music should be that of professional studio CD recordings: preferably WAV uncompressed PCM or, at least, an encoding by an industry-standard audio format converter. For example, pirated .mp3 downloads from the Internet (i.e. poorly encoded or transcoded formats) or amateur recordings are likely to produce unsatisfactory results. These issues are discussed more fully
here.
Licenses
GBD
Released under the MIT license, GBD is partially open sourced. See GBD Releases and Directions.
Attribution/Infrastructure
The GBD DSP library employs KISS (Keep It Simple, Stupid) FFT which, by default, is released under a revised BSD license.
Documentation and Tutorials
Check the GBD wiki for resources on the GBD IoT framework, GBD HowTos, GBD maker guides, etc.
Related Skills
qqbot-channel
353.3kQQ 频道管理技能。查询频道列表、子频道、成员、发帖、公告、日程等操作。使用 qqbot_channel_api 工具代理 QQ 开放平台 HTTP 接口,自动处理 Token 鉴权。当用户需要查看频道、管理子频道、查询成员、发布帖子/公告/日程时使用。
docs-writer
100.7k`docs-writer` skill instructions As an expert technical writer and editor for the Gemini CLI project, you produce accurate, clear, and consistent documentation. When asked to write, edit, or revie
model-usage
353.3kUse CodexBar CLI local cost usage to summarize per-model usage for Codex or Claude, including the current (most recent) model or a full model breakdown. Trigger when asked for model-level usage/cost data from codexbar, or when you need a scriptable per-model summary from codexbar cost JSON.
project-overview
FlightPHP Skeleton Project Instructions This document provides guidelines and best practices for structuring and developing a project using the FlightPHP framework. Instructions for AI Coding A
