I2) Bol Processor

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 (I) series. It introduces 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 (National Center for Scientific Research), 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 generative rules.


The Solution: A Formal Grammar for Music

Bernard Bel had an intuition: if Indian music functions like a language with generative 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 simply applying grammars to music — others had done that. It is introducing polymetry into notation.

What is Polymetry?

Imagine playing two rhythms simultaneously: one in 3 beats and one in 4 beats. That’s polymetry — different metric structures superimposed.

In BP3 notation, it’s written as:

 

{3, do re mi} {4, fa sol la si}

 

Which means:

  • First group: 3 notes (do re mi) occupying a certain temporal space
  • Second group: 4 notes (fa sol la si) occupying the same space

The result? The notes in the first group are more spaced out than those in 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 was an academic program, written to document Indian music. It ran on computers of the time (Apple II, then Macintosh) and generated MIDI files (Musical Instrument Digital Interface, a standard communication protocol between digital instruments).

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.

This 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 vaguely described:

  • 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.


Legacy and 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

But the project also has limitations. BP3 generates MIDI — a format from 1983. It doesn’t naturally interact with modern synthesis and live coding tools (real-time musical programming).

It is precisely this gap that we are exploring at roomi-fields. How to connect the expressive power of BP3 to contemporary synthesis environments? How to use its structural concepts in new contexts?

More to come in our next 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

  1. Bol Processor: 40 Years of Innovation ← you are here
  2. I3 — SuperCollider: the Swiss Army knife of synthesis
  3. 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.