Module:Step vis

From Xenharmonic Wiki
Revision as of 04:47, 11 December 2023 by Ganaram inukshuk (talk | contribs) (Created page with "local mosinedo = require("Module:MOS in EDO") local p = {} -- Wrapper function for step visualization -- Calls the step visualization function from the mosinedo template func...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Module documentation[view] [edit] [history] [purge]
This module may be invoked by templates using its corresponding template Template:Step vis, or used directly from other modules.

Generates a visual representation of a scale based on predefined step sizes.

Introspection summary for Module:Step vis 
Functions provided (1)
Line Function Params
6 step_vis_frame (invokable) (frame)
Lua modules required (1)
Variable Module Functions used
mosinedo Module:MOS in EDO step_pattern

No function descriptions were provided. The Lua code may have further information.


local mosinedo = require("Module:MOS in EDO")
local p = {}

-- Wrapper function for step visualization
-- Calls the step visualization function from the mosinedo template
function p.step_vis_frame(frame)
	local step_pattern = frame.args("Step Pattern")
	return mosinedo.step_pattern(step_pattern)
end

return p