let harmony = Engine.new(Palestrina);
fn detect_pitch(buf) -> Note
const MAX_VOICES: usize = 4;
voice_leading.reject_parallels()
struct GuitarInput { onset }
engine.harmonize(note, scale)
fn detect_pitch(
  buf: &[f32]
) -> Option<Note>
let voices =
  counterpoint::
    generate(line, mode);
if interval == Fifth
  && motion == Parallel
  { reject() }
#[inline(always)]
fn onset(
  frame: &Frame
) -> bool
block_size: 128
sample_rate: 48_000
latency_ms: 7.2
// Palestrina
// counterpoint
// rules.rs
CONTRAPUNK WEEKEND JAM·WK 01·Koji Kondo· STARTS IN 2DAYS→ /jam
CLOUD · COMING SOON

CONTRAPUNK
CLOUD.

AI is not going to kill music as long as people keep playing music together. So let's jam.

Low-latency audio meets real-time counterpoint harmony across players. Not just an audio pipe — a musically intelligent network.

◆ ◇ ◆ ◇ ◆ LIVE SESSION · PREVIEW
2 PLAYERS · 18MS RTT

TWO MUSICIANS · ONE COUNTERPOINT ENGINE

A preview of what a Cloud session looks like: each player sends notes, Contrapunk renders voice-led harmony across both streams.

LIVE SESSION · 2 PLAYERS · CLOUD BETArm_7f3c9a2b
YOU
YOU · LOCAL
LEAD · GUITAR
D7
DRIFTER_7 · AMSTERDAM
HARMONY · RHODES
◆ ◇ ◆ ◇ ◆ WHAT WE'RE BUILDING
CLOUD ROADMAP

FOUR BUILDING BLOCKS

01 · LATENCY

LOW-LATENCY JAMMING

Real-time audio networking built on the same Rust DSP core that gives Contrapunk sub-10ms local latency. Optimized for music, not just voice.

02 · HARMONY

HARMONY ACROSS PLAYERS

Play a melody. Your bandmate plays another. Contrapunk generates counterpoint harmony across both inputs in real-time. Musical intelligence, not just audio relay.

03 · SESSIONS

SHARED SESSIONS

Create a room, share a link, start playing. Key detection, chord analysis, and voice leading happen automatically across the session.

04 · RECORD

RECORD AND LAYER

Not online at the same time? Record your part, share it, let others layer on top with Contrapunk generating harmony across all voices.

◆ ◇ ◆ ◇ ◆ GET CONTRAPUNK
GET ON THE WAITLIST

DOWNLOAD THE MAC APP.
WE'LL PING YOU WHEN CLOUD LAUNCHES.

Same flow: drop your email, get the Mac DMG, and join the Cloud waitlist in one step.

OPEN IN BROWSER → SOURCE · GITHUB