Skip to content

What if sheet music were a programming language?

Man, music is a challenging problem.

Okay, so here's what we need to do. Take a step back for five minutes and develop a simpler way to process sheet music. What I'm going to do here is create a notation standard that essentially turns musical notation into parsable code. Like a programming language with rules, and parameters based on music theory.

Still with me?

We do that by creating a simple lexical parsing engine based on Flex and Bison in C++, that can perform transformations on massive datasets of music. Prepping them for network interchange and AI training, making them easier for the computer to read, parse, and transport.

Another exciting thing about working with massive datasets here, is that a century of music is a lot. So, we're going to run into exciting edge cases, that might force us to get innovative with, and "debug."

Obviously, the fault isn't in the music itself, but our ability to notate it. And, as we go, we can find, interrogate, and fix any problems that arise from trying to do this.

If we can successfully process all of it... without generating a parsing error, we know we've succeeded in creating a universal interchange format between conventional sheet music and computer rendering.

And we need that if we're going to flatten these large datasets and make them a little more usable for our purposes of... well, you know, world domination.

This is where it gets fun.