Skip to content
altstrument

Resonators

Firmware for Bela / Bela Mini / Bela Gem (Bela)

Resonant filter-bank synthesis for Bela in C++, based on the resonators~ Max/Pd object, with about 100 percussion resonance models, example projects, a p5.js editor and Python bindings.

by Jack Armitage

DormantSource: openCC0-1.0
Chart with log frequency on the horizontal axis, gain as pink peaks and decay as blue points above a light blue area, with vertical lines marking each resonator
Jack Armitage, via github.com
Distribution
Build from source yourself
License notes
No LICENSE file. The README says CC0 unless otherwise stated; the resonance models come from aLib and may carry their own terms.
Source
github.com https://github.com/jarmitage/resonators

Description

Targets the Bela cape and Bela Mini; it needs no extra hardware beyond an audio source to excite the filters. A bank of resonators is described by a JSON model of frequency, gain and decay per resonator, and an input signal excites the bank. The repository includes five Bela example projects (one resonator, a bank from a model file, models reloaded over scp, banks transposed up a scale, and a combination with the Bela scope). It also holds about 100 models of mostly percussion instruments derived from the aLib resonance models, a work-in-progress p5.js interface that edits the model in real time over a WebSocket, and Jupyter and Python helpers with Swig bindings for offline use.

Install notes

Copy the bela folder projects and the include and cpp files into a project in the Bela IDE (or ~/Bela/projects) and run it. Models can also be copied to the board with scp for live updates. The Bela system runs from a microSD card, so a bad install is undone by writing a fresh image to the card.

Version history

Resonators version history
VersionDateNotes
master @ a060c9f2022-03-31
No tagged releases; this is the latest commit.

Back to Bela / Bela Mini / Bela Gem