|
|
|
|
|
by colanderman
1039 days ago
|
|
You might want a simpler representation (smaller denominator) than that will give you. An example is converting musical pitch ratios to simple fractions (e.g. as used in just intonation).
Literally yesterday I was writing code to do this. The mediant method works beautifully for this, and it can be optimized further than what's presented in the article. |
|
Fascinating, do you have any links about this? Or more generally about the intersection of music, fractions and programming?
I found some code in Audacity that detects the notes in audio, I'll see if I can edit this comment later.