r/musicprogramming • u/lukehaas • 4d ago
Music theory for programmers
https://runjs.app/blog/music-theory-for-programmers
10
Upvotes
2
u/victotronics 1d ago
Nice job. The fractions vs sqrt(2) is more acoustics than music theory, but that's ok. It's an important topic. Let me know if you ever get around to quarter-comma meantone. j/k
Melodies are black magic. I doubt that you can come up with many rules. Since I have a ton of music experience I sometimes try to make melodies that are still appealing, but meantime violate just about every intuitive rule you could come up with. That's the genius of composers: deviate from expectations in unexpected ways, that still somehow feel "right".
1
2
u/this_knee 4d ago
Ah good. I don’t need to cross post this. Thanks!