Hacker News new | ask | show | jobs
by imperistan 1493 days ago
I'm working on a tool that could generate all possible melodies. It's just a fun side project to improve my skills, but if I ever complete it I will put it online.

It creates a unique id for Every Melody, but only generates and plays it when the corresponding page is accessed. So I wont generate a huge library of mp3's or something.

4 comments

This[0] is a video by Adam Neely, who frequently talks about the cluster f*ck that is copyright law with regards to music, interviewing two guys having done this (within some constraints).

This[1] is the website linking to the dataset and code that was used to generate it.

[0] https://www.youtube.com/watch?v=sfXn_ecH5Rw

[1] http://allthemusic.info/

Thanks for your amplification of my project!
This was my inspiration. I even call my project Composer of Babel :)
Yes, I'm a cofounder of All The music — that someone referenced above — and you can feel free to build upon our tool, which is open source: https://github.com/allthemusicllc?tab=repositories

If/when you improve it, please let us know. We'd love to amplify your message/work!

If anyone would like to see my TED Talk on the topic, it's here: https://www.ted.com/talks/damien_riehl_why_all_melodies_shou...
I sure will check it out. Thanks!
The unique id for each and every monophonic melody (in the diatonic scale) is determined with the following pseudo-regexp: ([A-G][b#]?[0-9]/[1-9][0-9]*-)+.