Contrapunk - From Palestrinas Rules to Real-Time MIDI Harmony - Vibhav Bobade - ADCx India 2026 @audiodevcon
Contrapunk - From Palestrinas Rules to Real-Time MIDI Harmony - Vibhav Bobade - ADCx India 2026  @audiodevcon
Uploaded June 2026 | Updated November 2026, 3 days ago
https://audio.dev/ -- @audiodevcon​
---

Contrapunk - From Palestrina's Rules to Real-Time MIDI Harmony - Vibhav Bobade - ADCx India 2026
---

Contrapunk started as a 48-hour hackathon project at ADCx India 2025 Music Hack Day, where it won by turning a MIDI keyboard into a real-time counterpoint partner. What began as a Python prototype quickly hit a wall and scaling from simple diatonic intervals to full voice leading demanded performance, type safety that led to a complete rewrite in Rust.

Today Contrapunk encodes centuries of harmony rules into a constraint scoring engine that evaluates hundreds of candidate notes per incoming MIDI event with zero-allocation hot paths. The system spans Palestrina-era strict counterpoint, Bach chorale voice leading to Jazz harmony, all switchable in real time. A type-driven scale and mode system covers 28+ modes, while the counterpoint engine tracks interval history, melodic contour, and suspension state to enforce rules that took composers lifetimes to codify.

This talk walks through the journey from hackathon win to a harmony engine. How voice leading becomes constraint scoring, how Rust's ownership model maps naturally onto music theory invariants, and what audio developers can take from this approach when encoding domain-specific rules into real-time systems. Live MIDI demos throughout.
---

Slides: https://data.audio.dev/talks/ADCxIndia/2026/contrapunk-from-palestrinas-rules-to-real-time-midi-harmony/slides.pdf
---

Vibhav Bobade

I am an open-source developer who enjoys containers, audio, and running. I work at Red Hat as a Senior Software Engineer.
---

ADC is an annual event celebrating all audio development technologies, from music applications and game audio to audio processing and embedded systems. ADC’s mission is to help attendees acquire and develop new audio development skills, and build a network that will support their audio developer career.
Annual ADC Conference - https://audio.dev/
linkedin.com/company/audiodevcon
twitter.com/audiodevcon
facebook.com/audiodevcon
instagram.com/audiodevcon
reddit.com/r/audiodevcon
https://mastodon.social/@audiodevcon
---

Streamed & Edited by Digital Medium Ltd: online.digital-medium.co.uk
---

Organized and produced by JUCE: juce.com
---

Special thanks to the ADC team:

Sophie Carus
Derek Heimlich
Andrew Kirk
Bobby Lombardi
Tom Poole
Ralph Richbourg
Jim Roper
Jonathan Roper
Prashant Mishra

#adc #audiodev #dsp #audio #conferenceaudio #audioprocessing #audioproduction #audioprogramming #sound #music #musictech #soundtech #audiotech #audiotechnology
Contrapunk - From Palestrinas Rules to Real-Time MIDI Harmony - Vibhav Bobade - ADCx India 2026An Open Toolkit for Real-Time Audio Descriptors - Valerio Orlandini - ADC 2025Accelerate UI Development - Seamless Designer-Developer Collaboration with Web Tools - Ryan Wardellリアルタイム動作する深層学習ベースの非線形回路モデリング - 村井 勝吾 / Shogo Murai - ADC Japan 2026Designing Interactive Music Experiences in XR  - Kasson Crooker - ADC Japan 2026ADC Japan 2026 Live Stream Day 1 - Audio Dev TalksDesigning an Audio Live Coding Environment - Corné Driesprong - ADCx Gather 2025Type-Erased Audio Parameters - A New Approach to an Old Problem - Jan Wilczek - ADC Japan 2026When Code Writes Back: Making AI Coding Agents Actually Work - Tobias Baumbach - ADC 2025ネイティブC++シンセエンジンをブラウザに移植する - Katokatoneからの教訓 - Kazuhito Inoue - ADC Japan 2026Digital Audio Workstation Architecture - Evaluation and Evolution - Ilias Bergström - ADC 2024FREE TO ATTEND! ADCx Gather 2025 - Online Audio Dev Conference - Sept 26th
ADC - Audio Developer Conference |

Contrapunk - From Palestrina's Rules to Real-Time MIDI Harmony - Vibhav Bobade - ADCx India 2026

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER