How to convert Interval Difference to Circle of Fifths segments and position
Hi, Im designing a numeric decimal notation code model for exploring math relations between notes on chromatic scales and circle of fifths.
The model uses numeric identifiers instead of letters. So for example "G" is represented as " 1.50 ".
Have a problem which Im guessing is likely easy for most of you out there well versed in music theory - would love feedback on this and pointers to a solution. My hope is to end up with a simple straight forward math formula / function that can be used.
Description ; Given two musical notes, determine the distance between note 1 and note 2 on a standard scale, 7 or 12 based scale and then convert this distance to the number of segments on the circle of fifths separating the values.
For example, here we have two notes ;
NOTE 1 = 1.483 ( G ) NOTE 2 = 1.428 ( F # )
Distance between n1 : n2 = 1.93 ( B # )
where ; 1.483 * 1.93 = 1.428
Using this value of 1.93, we want to derive the number of segments that separate NOTE 1 & NOTE 2 on the circle of fifths, which is 4.0
The notes are assigned their numerical values ( not lettered names ), so for example instead of labelling the note "G", here the decimal numeric equivalent is used such that ; 2^(7/12) = 1.5, in the case of the examples given ; 1.48 ~ ( 2^(6.82/12) ), and 1.428 ~ (2^(6.16/12)), the note values given are irregular
If I look visually at the circle of fifths such as via this link ; https://randscullard.com/CircleOfFifths/ and from the left column labelled "Tonic" click on the G note, I can see that the "F#" is four segments clockwise from the "G"
Each segment has the equivalent of 7 semitones to equal a p 5th and 1.496^11 = 7 * 12
But the function, formula I am hoping for is one where I can input the distance between two notes and get as an output the equivalent number of segments of the circle, in the case of the above example this should be ;
1.93 = 4.0
Where 1.93 is the distance on a scale between note 1 and note 2 and 4.0 is the distance between the notes on the circle of fifths. The math function should use the values of note 1, note 2, distance ; 1.48, 1.428, 1.93, to compute the number of segments on the circle ; 4.0
Can anyone provide some direction on this?
Much thanks
D
