News for hackers. Stuff that matters.
Re:Coltrane: A music theory library with a command-line inte... by Mizza on Saturday March 11, 2023 @12:30PM (#35110528)
Looks awesome, love the tab view.

If there other hackers who make music here, I wrote this:

https://github.com/Miserlou/chords2midi

for writing chord progressions on the command line. I use it for building progressions which I drag into my DAW. It has voice leading, which required me translating an algorithm from 18th century German musical textbook into Python. I don't speak German and there were no unit tests in the 1700s so I'm only fairly certain that it works properly.

I will make a plugin version once ableton supports CLAP.

Re:Coltrane: A music theory library with a command-line inte... by scns on Saturday March 11, 2023 @01:30PM (#35111105)
Awesome! Please do a Show HN when the plugin is done.
Re:Coltrane: A music theory library with a command-line inte... by ck45 on Saturday March 11, 2023 @02:31PM (#35111771)
This looks really awesome! Do you know https://www.mellowood.ca/mma/ and if yes, do you mind doing a short feature comparison?
Re:Coltrane: A music theory library with a command-line inte... by Mizza on Saturday March 11, 2023 @02:38PM (#35111846)
Wow, never seen that before. This seems more like a whole plaintext musical language, like mma is to midi what markdown is to HTML. Mine is just a way for somebody in a hurry to get the MIDI chords they want without putting all of the notes in manually.
Re:Coltrane: A music theory library with a command-line inte... by grubby on Saturday March 11, 2023 @06:32PM (#35113924)
lol they didn’t have pytest in 1765?
Re:Coltrane: A music theory library with a command-line inte... by Mossly on Sunday March 12, 2023 @03:42AM (#35117765)
"Gradus ad Parnassum" by Johann Joseph Fux, right?

Read it a couple of years ago after learning basic music theory, as I was still struggling to write consonant voices.

I probably wasn't the first person to think that contrapunctual rules might lend themselves to algorithmic implementation - so it's very cool to see you've done just that in your project!

Re:Coltrane: A music theory library with a command-line inte... by Lucasoato on Sunday March 12, 2023 @04:04AM (#35117874)
They didn’t have unit tests in 1700, but I’m pretty sure that Max for Live was popular around that time.