I2) Bol Processor
Over 40 Years of Innovation in Musical Grammars
What if music could be written like a computer program?
Where Does This Article Fit In?
This article is part of the Introduction series (I). It presents the Bol Processor, a system of musical grammars (systems of formal rules applied to composition) by Bernard Bel. The L series (L1) delves deeper into the underlying theoretical concepts.
Bernard Bel asked himself this question in the 1980s. His answer gave birth to an ambitious computer music project: the Bol Processor.
The Context: When Computer Science Meets Indian Music
The year is 1981. Bernard Bel, a researcher at the CNRS (Centre National de la Recherche Scientifique), is working in India on an unusual project: documenting and analyzing the musical traditions of the Indian subcontinent.
At the time, Indian classical music posed a unique challenge to Western researchers. Unlike European music with its rigid scores, Indian music relies on structured improvisation. A musician doesn’t “play” a score — they generate music from rules.
It was this observation that would change everything.
The Tabla Problem
The tabla — these iconic twin drums of Indian music — perfectly illustrate the challenge. A tabla player doesn’t memorize fixed sequences. They learn bols (rhythmic syllables like “dha”, “ge”, “na”) and rules for combining them.
For example:
- “dha” followed by “ge” can become “dhage”
- Certain sequences can be repeated 3 times
- Others can be inverted
How to document this? A traditional score cannot capture these generation rules.
The Solution: A Formal Grammar for Music
Bernard Bel had an intuition: if Indian music functions like a language with generation rules, why not use the tools of formal linguistics?
In computer science and linguistics, a formal grammar describes how to construct valid sentences from rules. For example:
PHRASE → SUJET VERBE COMPLEMENT
SUJET → "le chat" | "le chien"
VERBE → "mange" | "dort"
This grammar can generate “le chat mange” or “le chien dort”, but never “mange le chat dort”.
Bel adapted this concept to music:
S → A B A
A → dha ge na
B → ti ra ki ta
This musical grammar generates the sequence: “dha ge na ti ra ki ta dha ge na”.
But Bel went further.
The BP3 Innovation: Polymetry
The true innovation of the Bol Processor (whose current version is called BP3, for Bol Processor 3) is not applying grammars to music — others had done that. It is introducing polymetry into notation.
What is Polymetry?
Imagine playing two rhythms at the same time: one in 3 beats and one in 4 beats. That’s polymetry — different metric structures superimposed.
In BP3 notation, it’s written:
{3, do re mi} {4, fa sol la si}
Which means:
- First group: the
3sets the duration (3 beats), anddo re miis compressed into these 3 beats (each note lasts 1 beat) - Second group: the
4sets the duration (4 beats), andfa sol la siis compressed into these 4 beats (each note lasts 1 beat)
The result? The notes of the first group are more spaced out than those of the second. An elegant notation for complex rhythmic structures.
Why It’s Revolutionary
Western scores struggle to represent polymetry. They impose a single temporal grid (4/4, 3/4, etc.). Changing meter requires a change of time signature.
BP3 allows for natural writing:
{7, phrase_indienne} {4, accompagnement_occidental}
Seven notes against four, without notational gymnastics.
From CNRS to Software: The History of the Bol Processor
The Beginnings (1981-1990)
The first Bol Processor (1981) was an academic program on Apple II, written to document and generate tabla sequences. With the arrival of the MIDI standard in 1983, subsequent versions — on Macintosh and then as a web version — integrated MIDI output (Musical Instrument Digital Interface, standard communication protocol between digital instruments), then Csound.
Bernard Bel published his work in Computer Music Journal in 1998, establishing the theoretical foundations.
The Modern Era (2020+)
After years of development, the project is experiencing a revival. The website bolprocessor.org now offers a functional web version, allowing anyone to experiment with BP3 grammars.
The community remains modest but passionate. Musicians, researchers, and developers are exploring the possibilities of this unique notation.
Why It Matters Today
For Musicians
BP3 offers a different way of thinking about composition. Instead of writing note by note, one defines structures and rules. Music emerges from these rules.
It is particularly powerful for:
- Generative music (which evolves according to rules)
- Algorithmic music (generated by processes)
- The study of non-Western traditions
For Researchers
BP3 is a bridge between musicology and computer science. It allows for the formalization of musical concepts often described vaguely:
- What is a musical “phrase”?
- How do motifs repeat and vary?
- How do different traditions structure time?
For Developers
BP3 is an elegant DSL (Domain-Specific Language) for music. Its concepts — grammars, production rules (instructions that define how to transform a symbol into a sequence of other symbols), polymetry — are transferable to other domains.
The Legacy and the Future
Forty years after its creation, the Bol Processor remains unique. No other system combines:
- Formal grammars for structure
- Native polymetry in notation
- Support for diverse musical traditions
BP3 generates MIDI and Csound, and has live coding capabilities documented on bolprocessor.org. However, the bridge to modern synthesis environments (SuperCollider, TidalCycles, Web Audio) remains to be built.
It is precisely this bridge that we are exploring with the BPscript project (S1): a meta-scheduler that compiles to the BP3 engine and orchestrates multiple runtimes from a single file.
More in our upcoming articles.
To Go Further
- Official Website: bolprocessor.org
- Foundational Article: Bel, B. (1998). “Migrating Musical Concepts: An Overview of the Bol Processor”. Computer Music Journal, 22(2).
In This Series
- Bol Processor: 40 Years of Innovation ← you are here
- I3 — SuperCollider: the Swiss Army Knife of Synthesis
- I1 — Why I Created a Bridge Between Two Worlds
Tutorials:
- Install BP2SC in 5 Minutes
- Your First BP3 Grammar
- Analyze MIDI with Structure Inference
roomi-fields explores the intersection between formal musical grammars and modular synthesis.