Module:MOS in EDO: Difference between revisions

Ganaram inukshuk (talk | contribs)
Undo revision 149804 by ArrowHead294 (talk) Undo commenting in preparation for actual fix
Tag: Undo
Ganaram inukshuk (talk | contribs)
adopt tamnams name lookup functions
Line 305: Line 305:
-- Get the tamnams name, if there is one
-- Get the tamnams name, if there is one
-- Don't show tamnams names for mosses with 5 notes or fewer (to keep the table from being cluttered)
-- Don't show tamnams names for mosses with 5 notes or fewer (to keep the table from being cluttered)
local tamnams_name = mos.tamnams_name[scale_sig]
local tamnams_name = tamnams.lookup_name(scale_sig)
local current_step_count = #current_scale
local current_step_count = #current_scale
Line 412: Line 412:
-- Also add tamnams name if there is one
-- Also add tamnams name if there is one
local scale_sig = p.mos_step_pattern_to_scale_sig(current_scale)
local scale_sig = p.mos_step_pattern_to_scale_sig(current_scale)
local tamnams_name = tamnams.tamnams_name[scale_sig]
local tamnams_name = tamnams.lookup_name(scale_sig)
local current_step_count = #current_scale
local current_step_count = #current_scale
if large_step_size == small_step_size then
if large_step_size == small_step_size then