Module:Infobox MOS: Difference between revisions
Tryign to add back xenpaper links... |
m Repositioned link |
||
| Line 393: | Line 393: | ||
-- Helper function | -- Helper function | ||
-- Produces simple equal tunings | -- Produces simple equal tunings | ||
-- Includes xenpaper links | |||
function p.equal_tunings(input_mos) | function p.equal_tunings(input_mos) | ||
local input_mos = input_mos or mos.new(5, 2, rat.new(5,3)) | local input_mos = input_mos or mos.new(5, 2, rat.new(5,3)) | ||
| Line 437: | Line 438: | ||
local xenpaper_link = xp.mosstep_pattern_to_xenpaper_link(pattern, step_ratios[i], input_mos.equave) | local xenpaper_link = xp.mosstep_pattern_to_xenpaper_link(pattern, step_ratios[i], input_mos.equave) | ||
local caption = string.format("[[%s %s | local caption = string.format("[[%s]] [%s (L:s = %d:%d)]", step_ratio_name, xenpaper_link, step_ratio[1], step_ratio[2]) | ||
local text = string.format("[[%s | %s]] (%.1f¢)", ed_as_string, gen_in_steps, gen_in_cents) | local text = string.format("[[%s | %s]] (%.1f¢)", ed_as_string, gen_in_steps, gen_in_cents) | ||