Module:MOS tunings: Difference between revisions

Ganaram inukshuk (talk | contribs)
No edit summary
Ganaram inukshuk (talk | contribs)
No edit summary
Line 222: Line 222:
function p.parse_step_ratios(unparsed)
function p.parse_step_ratios(unparsed)
local parsed = {}
local parsed = {}
if parsed == "Central Spectrum" then
if unparsed == "Central Spectrum" then
parsed = {{4,3}, {3,2}, {5,3}, {2,1}, {5,2}, {3,1}, {4,1}}
parsed = {{4,3}, {3,2}, {5,3}, {2,1}, {5,2}, {3,1}, {4,1}}
elseif parsed == "Soft-of-basic" then
elseif unparsed == "Soft-of-basic" then
parsed = {{4,3}, {3,2}, {2,1}}
parsed = {{4,3}, {3,2}, {2,1}}
elseif parsed == "Hyposoft" then
elseif unparsed == "Hyposoft" then
parsed = {{3,2}, {5,3}, {2,1}}
parsed = {{3,2}, {5,3}, {2,1}}
elseif parsed == "Hypohard" then
elseif unparsed == "Hypohard" then
parsed = {{2,1}, {5,2}, {3,1}}
parsed = {{2,1}, {5,2}, {3,1}}
elseif parsed == "Hard-of-basic" then
elseif unparsed == "Hard-of-basic" then
parsed = {{2,1}, {3,1}, {4,1}}
parsed = {{2,1}, {3,1}, {4,1}}
else
else