Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
Write musical patterns in Python that respond to a given song structure and run a simulation that generates a multitrack MIDI file.
I built this because I think applying code to music making is a powerful tool, but I find that most music coding software out there is more focused on experimentation rather than conventional songwriting. This is an attempt at creating something that can reference typical constructs from songwriting, such as the underlying chord progression and timeline of a song.
I also have a github repo that is a thin wrapper around the api that runs the simulation, for anyone interested in coding locally: https://github.com/vegardkd/pattern-composer-library
The website is as bare-bones as possible, designed specifically for showcasing the program. There are also some bugs and inconsistencies in the code being run, but I'm publishing it to see how people react.
I'm trying to a find a way that this might appeal to music producers with no coding background by making the syntax as easy to digest as possible.
I would greatly appreciate feedback.
Interesting approach. There has been much activity in recent years in live coding with a lot of interesting solutions.
> most music coding software out there is more focused on experimentation rather than conventional songwriting
Did you have a look at e.g. https://github.com/alda-lang/alda or https://abcnotation.com/? Or e.g. https://github.com/emicklei/melrose is a similar approach as yours. There is also an algorithcmic composition language called SAL which is used in Common Music (https://commonmusic.sourceforge.net/) and Niquist (https://sourceforge.net/projects/nyquist/).
Interesting approach. There has been much activity in recent years in live coding with a lot of interesting solutions.
> most music coding software out there is more focused on experimentation rather than conventional songwriting
Did you have a look at e.g. https://github.com/alda-lang/alda or https://abcnotation.com/? Or e.g. https://github.com/emicklei/melrose is a similar approach as yours. There is also an algorithcmic composition language called SAL which is used in Common Music (https://commonmusic.sourceforge.net/) and Niquist (https://sourceforge.net/projects/nyquist/).