The Manguebyte ecosystem
Aratu
A live-coding language that reads like music: measures, beats and note values first, in Portuguese, Spanish and English, in the browser. In development, and playing on Manguebyte.
In development. The language reads, checks and schedules every example in its book, and the editor runs in the browser with nothing to install. Running inside a DAW is planned, and Manguebyte’s Aratu Bridge is the way there.
Time the way a musician counts it
Aratu is a live-coding language and environment for people who know music. Measures, time signatures, note values and tempo come first, so that what you type is laid out in time the way a musician already thinks about it.
Note names work in solfège (dó4 ré4 mi4) as well as in letters, and the keywords themselves can be written in Portuguese, Spanish or English. When a bar does not add up, Aratu says so in a musician’s words, in any of the three. It runs in the browser today; running inside a DAW, in step with the host’s transport, is planned.
Three places in the editor
- Learn
- A course of 24 lessons, from the first sound to a whole piece, made for the classroom: rhythm and meters, Brazilian percussion, melody and harmony, dynamics and form, tempo and feel, playing live, sound and mixing. It ends with a maracatu project. Every example plays on the page, and every exercise is checked by what it plays, with what differs told bar by bar.
- Manual
- The whole language in 21 chapters, in the same order as the course, with every example playable.
- Play
- A free editor with an editable rhythm map, a knob beside every number that sets the tempo or the sound, and a Sounds panel. A change made while it plays comes in at the next bar line, or at the next beat. A stage mode shows only the code, full screen, for playing in front of an audience.
Built on Manguebyte
The editor plays through manguebyte-web, Manguebyte’s engine for the browser: every voice in its Sounds panel, from sampled instruments to modelled strings, FM, an organ, an acid bass and a synth, each part’s effects, and the master bus with its true-peak limiter. At Aratu’s pinned commit its Brazilian percussion lines, the guitar’s golpe and the clap (except on the 808) still play on provisional sounds of its own, in Web Audio; Manguebyte’s engine now synthesises them on every drum kit, at the same level on each. The engine itself is still in progress: tested natively and in Node.js, its demo tried once in Chromium, not yet under load in a browser.
In a DAW: the Aratu Bridge
Manguebyte’s Aratu Bridge is an example CLAP, VST 3 and Audio Unit instrument that runs the browser’s engine inside a DAW. The page sends it the music, not the audio: the control calls and event records it would send its own engine, timed in beats, over a WebSocket on 127.0.0.1. The plugin plays them with manguebyte-web built natively, on the DAW’s device and in time with its transport, so the sound lands on a DAW track like any other instrument’s. A session sent over a real socket renders the same, bit for bit, as the engine renders it alone. On the page’s side, bridge.js offers the same methods as the engine in the browser, though the six that read the engine’s state back, such as paramValue and partLevels, are not answered over the network; the protocol is written down, and wiring it into Aratu is Aratu’s side to write.
It has been tried by hand once: on 19 October 2026, a page in Chromium served from http://127.0.0.1 played through the CLAP build in REAPER 7.82 on Windows, which applied all 44 events the page sent, none late and none dropped, following REAPER’s tempo. Other DAWs, the VST 3 and AU builds, other browsers and https:// pages are not tried yet, and the plugin has no editor and one stereo output.
What backs this, at commit 46ec338: three tests that run in Manguebyte’s CI, the record of the hand test, and the list of what is still owed:
- filea_
session_ oksent_ over_ the_ bridge_ sounds_ as_ the_ engine_ renders_ it - hostthe_
hosted_ okbridge_ plays_ a_ session_ as_ the_ plugin_ does_ alone - fileprocessing_
never_ oktouches_ the_ heap_ while_ a_ page_ plays - fileHOST_
TESTS.md: REAPER 7.82, 19 October 2026 ok - fileTECH_
DEBT item 84 ok
Why “Aratu”?
The aratu is a crab of the mangrove, the mangue of Recife that gave manguebeat, and Manguebyte, their names.
A taste
From Aratu’s README. A space separates beats, symbols written together share their beat (cc is two eighths), _ holds and - rests; chords are written as a lead sheet, and strums with d and u.
meter: 4/4
tempo: 96
key: A minor
drums {
hh = cc cc co cc
bd = b - b -
sd = - s - s
}
bass = | a2 _ e2 _ | f2 _ c3 _ |
guitar {
chords = | Am | F | C G | G |
strum = D du -u du
}
0822eee, as it is in the file.What its tests check
Aratu has its own repository and CI, at commit 0822eee. These tests run there on every commit:
- aratuevery_
block_ okof_ the_ book_ works - aratuevery_
exercise_ oksounds_ the_ same_ in_ every_ language - aratuevery_
feature_ okis_ taught_ in_ every_ language - aratuevery_
example_ okin_ the_ manual_ checks - aratuthe_
rhythm_ okrules_ place_ parts_ exactly - aratuCI job: the web editorok
Read more
The Manguebyte ecosystem
Four more projects from Recife grow from the same mangue, built to run on Manguebyte.
-

This framework
Manguebyte
The open-source audio framework for Rust, under MIT or Apache-2.0, released on crates.io. Aratu already plays on its browser engine, and its Aratu Bridge plugin plays the same music in a DAW; Caecilia and Parabolic are built on it.
-

In development
Aratu
A live-coding language that reads like music: measures, beats and note values first, in Portuguese, Spanish and English. Its editor runs in the browser and plays on Manguebyte.
-

Alpha
Caecilia
A virtual pipe organ written in Rust on Manguebyte: a program of its own and VST3 and CLAP plugins.
-

In development
Parabolic
A tool for musicians to turn their own sounds into plugins and samplers without writing code.
-

In design
MARÉ
Multi-device Audio Realtime Exchange: an open protocol for low-latency audio and MIDI, to replace ASIO. Many programs on one device at once, many devices as one, MIDI 2.0 on the same clock.