User:Holger Stoltenberg/sandbox: Difference between revisions

Line 78: Line 78:
To calculate the intonation
To calculate the intonation


*compute the ''remainder'' of the interval’s value in cents by a modulo division (386 ¢ ''mod''100) <br>the intermediate result is 86 ¢
*compute the ''remainder'' of the interval’s value in cents by a modulo division (386 ¢ ''mod''100) , <br>the intermediate result is 86 ¢
*Test: If the intermediate result is greater than 50 ¢ then subtract 100 ¢
*Test: If the intermediate result is greater than 50 ¢ then subtract 100 ¢
*The test is true and the final result is -14 ¢
*The test is true and the final result is -14 ¢