Programming languages used for music
21–30 of 108 posts
Re: Programming languages used for music
#22The handbook for the language is sadly only in Danish so it might not be super interesting: https://datamuseum.dk/bits/30002486
Here is the code for movement 1 and 2 of Eine Kleine Nachtmusik: https://datamuseum.dk/aa/gier/30000644.html
Re: Programming languages used for music
#23Yesterday i used Claude Code to define and implement a YAML based DSL for playing backing tracks. I can ask an LLM to generate this DSL for any well known song, and it will include chord progression, lyrics, bass, drums, strumming pattern, etc. It's a go command line tool that plays the DSL via midi, and displays the chords, strumming patterns, and lyrics. Also does export to Strudel.
Re: Programming languages used for music
#24Almost an esolang, but orca is an amazing example of spatial programming for music production (GH https://github.com/hundredrabbits/Orca and video https://www.youtube.com/watch?v=gSFrBFBd7vY to see it in action)
If it’s the same, it’s one that if I win the lottery I’d spend my time learning along with this tool from Imogen https://mimugloves.com/
I don’t think I’d ever produce something worth listening to, but if I won the lottery, why would I care beyond my own enjoyment?
Re: Programming languages used for music
#25http://reference.wolfram.com/language/guide/SoundAndSonifica...
Re: Programming languages used for music
#26Yesterday i used Claude Code to define and implement a YAML based DSL for playing backing tracks. I can ask an LLM to generate this DSL for any well known song, and it will include chord progression, lyrics, bass, drums, strumming pattern, etc. It's a go command line tool that plays the DSL via midi, and displays the chords, strumming patterns, and lyrics. Also does export to Strudel.
Depending on the source music, there are many aspects of this that normally require a license with a records company or some proxy. Especially the lyrics part. Be careful not to get into very expensive trouble. Just because the LLM can do it, doesn’t mean it’s ok to do it.
Re: Programming languages used for music
#27Re: Programming languages used for music
#28Earlier quoted context omitted.
Depending on the source music, there are many aspects of this that normally require a license with a records company or some proxy. Especially the lyrics part. Be careful not to get into very expensive trouble. Just because the LLM can do it, doesn’t mean it’s ok to do it.
Yes, I noticed that Claude Code silently refused to generate lyrics for some songs i requested. Benefit of this approach is that anybody can quickly generate a YAML file for a backing track, no need to share it anywhere.
Re: Programming languages used for music
#29I kind of want to create music programmatically but so far it has been way too difficult. I also can barely find anything useful via oldschool google search anymore. I am almost stuck like with MIDI here ...
Re: Programming languages used for music
#30I kind of want to create music programmatically but so far it has been way too difficult. I also can barely find anything useful via oldschool google search anymore. I am almost stuck like with MIDI here ...
ever tried Pd or max?