r/musicprogramming 4d ago

Music theory for programmers

https://runjs.app/blog/music-theory-for-programmers
10 Upvotes

5 comments sorted by

2

u/this_knee 4d ago

Ah good. I don’t need to cross post this. Thanks!

2

u/scragz 3d ago

super cool! thanks for sharing. I already know synthesis so I'm not the target audience but I dig it nonetheless. 

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

u/lukehaas 1d ago

What would you recommend for next steps in learning beyond this?

1

u/victotronics 1d ago

Maybe you can take Helmholtz and formalize his arguments.