Algorithmic Music Compositional Tool
By: Adam Bartell
Introduction
Music composition has remained largely unchanged since the invention of sheet music. The tools available have significantly shaped the way music is written, with sheet music being the most predominant form of preserving a piece over extended periods of time. Since the advent of audio recording, there has been a massive shift in the direction of music – namely a shift towards the use of diverse timbre as opposed to harmonic complexity.
Enabling this change was the multitrack tape recorder. First used in expensive studios to record the biggest names of the era, by the end of the 20th century multitrack tape recorders had become much smaller and cheaper. This enabled more people than ever before to begin recording their own music. Around the demise of the 4-track cassette recorder came the rise of the digital audio workstation (DAW) and a similar rise in loop-based music, primarily in stereotypically electronic compositions.
Part of what makes the DAW so powerful is its ability to not only record audio, but to play host to various ‘plugin’ programs that emulate everything from the simplest synthesizer to full orchestral suites. Nearly every instrument plugin takes advantage of the universally accepted musical instrument digital interface (MIDI) format to determine what notes to play. Every modern DAW allows for the sequencing of MIDI notes, which are routed to either a plugin device in the software, or is exported to an external device such as a synthesizer.
There is one issue that I’ve noticed with this setup. Rather, more of a glaring hole in the creation of music – any and all education of music is done outside of software. One can watch thousands of videos, read hundreds of books, or glean it on their own, but there is no good way of teaching music composition from within the system that facilitates its own creation.
Project Features and Goals
There have been relatively few attempts to create a computer-aided design (CAD) program that empowers the user to create harmonically interesting music whilst not offloading the task of music creation entirely to the program itself.
Some of the key concepts I intended to implement in my program are as follows:
- The program will run as a virtual studio technology (VST) plugin to be used in Ableton Live 10
- This plugin will display scales/modes according to user input, encompassing at the very least all 7 ‘church modes’
- The plugin will have the capability of determining a chord progression and suggesting substitutions based off of traditional music theory – specifically in relation to jazz traditions due to the rigid structure jazz theory provides
- The program will assist in user-driven guided practice sessions: playing scales up and down, basic arpeggios
- The initial version will be prototyped in Max/MSP, and the final version will be refactored as a C++ VST plugin. This may be subject to change depending on time and language constraints.
Project Timeline
This timeline is highly variable and will change as necessary.
Winter Quarter
Weeks 1-6 Develop initial prototype, research similar projects
The initial prototype was created in Max/MSP, although all the features were not yet implemented due to my frustration with the simplistic nature of the Max/MSP programming language.
Weeks 7-10 Begin refactoring in C++
For the refactoring, I will be using Will Pirkle’s book on writing VST plugins in C++ for reference. Once the framework of the program is completed, I will be using Mark Levine’s The Jazz Theory Book as a guideline for the music theory aspects beyond my current knowledge.
Spring Quarter
Weeks 1-5 Finish working VST, refine features
At this point, I hope to have at the bare minimum a VST plugin that is stable. It’s more important to me to have a product that works than a product that has all its features. I foresee the VST framework to be the most difficult part of this project, as translating MIDI to notes/chords is a trivial task.
Weeks 6-10 Bug fixing and final polish
By this stage, I anticipate that I will have a working product with most of the features working. Maybe not working as intended, but working. For this reason, I am planning on spending this time ironing out any bugs I find in the program and trying not to break it any further.
Reference Materials
- Pirkle, Will: Designing Audio Effect Plugins in C++, Second Edition, Routledge, 2019
- Levine, Mark: The Jazz Theory Book, Sher Music, 1995