Skip to content
altstrument

bela-rs

Tool for Bela / Bela Mini / Bela Gem (Bela)

Rust crates (bela-sys and bela) that wrap the Bela core API, MIDI and FFT for writing real-time Rust programs for Bela Gem.

by Akiomi Kamakura

ActiveSource: openApache-2.0
Bela Gem Stereo and Bela Gem Multi boards side by side, black PCBs with the bela GEM logo, header rows, a USB-A port and 3.5 mm jacks, the Multi with jacks along both edges
Photo: Bela, manufacturer product image, via bela.io
Distribution
Build from source yourself
Requires stock
Bela Gem image
License notes
Dual-licensed under Apache-2.0 or MIT at the user's option; the repository has both LICENSE-APACHE and LICENSE-MIT.
Source
github.com https://github.com/akiomik/bela-rs
Homepage
crates.io https://crates.io/crates/bela

Quality

Rising

Under a year old, with real traction.

  • MaturityModerate

    0.3 years · 12 releases · 152 commits

  • PopularityLow

    ★ 1 · 0 forks · 1 watching

  • VitalityStrong

    152 commits last year · last activity 2026-11-16

  • Issue healthStrong

    54 closed / 6 open · 125 of 133 PRs merged

  • InfluenceLow

    0 catalog entries build on this

  • CommunityModerate

    2 contributors · bus factor 1

Data from GitHub, 2026-11-23. How ratings work.

Description

bela-rs is a Rust workspace with two crates. bela-sys has the raw bindings to libbela, and bela has a safe API with a settings builder, a real-time render trait, MIDI and an FFT. Programs are cross-compiled on a computer for aarch64 and copied to the board. The readme says the API may change in any 0.x release, that the other Bela C++ libraries such as the browser scope and Trill are not wrapped, and that it targets Bela Gem only, not the older armv7 boards.

Install notes

Add the bela crate with cargo add bela in a Rust project, cross-compile it for aarch64-unknown-linux-gnu and copy the binary to the Bela Gem. Nothing is written to the system image. A broken setup is fixed by removing the binary or writing a fresh image to the card.

Version history

bela-rs version history
VersionDateNotes
v0.9.02026-09-11
Latest release; also on crates.io.
v0.8.12026-09-07
v0.8.02026-09-07
v0.7.02026-08-17

Back to Bela / Bela Mini / Bela Gem