Module:MOS gamut: Difference between revisions

Ganaram inukshuk (talk | contribs)
No edit summary
Ganaram inukshuk (talk | contribs)
No edit summary
Line 415: Line 415:
local steps_in_et = input_mos.nL * step_ratio[1] + input_mos.ns * step_ratio[2]
local steps_in_et = input_mos.nL * step_ratio[1] + input_mos.ns * step_ratio[2]
local et_for_mos = et.new(steps_in_et, input_mos.equave)
local et_for_mos = et.new(steps_in_et, input_mos.equave)
local result = mos.as_string(input_mos) " gamut for " .. et.as_string(et_for_mos) .. ": "
local result = mos.as_string(input_mos) .. " gamut for " .. et.as_string(et_for_mos) .. ": "
for i = 1, #gamut - 1 do
for i = 1, #gamut - 1 do
-- If the note name does not contain accidentals, it's a natural and should be bold
-- If the note name does not contain accidentals, it's a natural and should be bold