Contrapunk: Real-Time Counterpoint Harmony Engine Built in Rust Achieves Sub-10ms Latency

2026-04-05T11:29:13.919Z·1 min read
A new open-source project called Contrapunk has launched, offering a real-time MIDI harmony generator that applies centuries-old counterpoint rules with sub-10ms latency. Built entirely in Rust, it...

Contrapunk — Where Music Theory Meets Modern Engineering

A new open-source project called Contrapunk has launched, offering a real-time MIDI harmony generator that applies centuries-old counterpoint rules with sub-10ms latency. Built entirely in Rust, it runs everywhere from browsers to native desktops.

What It Does

Contrapunk provides:

Technical Architecture

The project uses a single Rust core that compiles to multiple targets:

TargetTechnologyUse Case
BrowserWebAssemblyOnline music creation
DesktopTauriNative performance
ServerRust binaryStudio environments

The Philosophy

"AI is not going to kill music till people keep playing music together. So let's jam!" — The Contrapunk team emphasizes human musical expression over AI-generated content.

Why Counterpoint Matters

Counterpoint rules, developed over centuries from Palestrina to Bach, represent some of humanity's most refined musical knowledge. Encoding these rules in software makes them accessible to every musician, regardless of their formal music education.

Open Source

Released under the MIT license, Contrapunk is completely free. The team's philosophy: "Counterpoint rules are centuries of human knowledge. They should be accessible to every musician."


Source: contrapunk.com, Hacker News

↗ Original source · 2026-04-05T00:00:00.000Z
← Previous: AWS Engineer Reports PostgreSQL Performance Halved by Linux Kernel 7.0Next: Germany's EUDI Wallet Implementation Will Require Apple or Google Account — Privacy Concerns Raised →
Comments0