Module:MOS gamut: Difference between revisions
m Testing out spacing |
m Comments |
||
| Line 180: | Line 180: | ||
-- For any other ratio p:q (simplified), do this calculation: | -- For any other ratio p:q (simplified), do this calculation: | ||
-- x*floor(p/2) + y*floor(q/2) | -- x*floor(p/2) + y*floor(q/2) | ||
-- This is such that each altered note (what would be the black keys on a piano) | |||
-- has names that contain the fewest chromas possible, even if they have more than | |||
-- one name. EG, standard notation has C#/Db have two names, but both names | |||
-- have the fewest possible accidentals | |||
local genchain_extend = 0 | local genchain_extend = 0 | ||
if num / den == 2 then | if num / den == 2 then | ||