Module:Powharmonic series: Difference between revisions

ArrowHead294 (talk | contribs)
No edit summary
ArrowHead294 (talk | contribs)
No edit summary
Line 5: Line 5:
     local expo = tonumber(frame.args["expo"])
     local expo = tonumber(frame.args["expo"])
     local out_str = "{| class=\"wikitable\"\n" ..
     local out_str = "{| class=\"wikitable\"\n" ..
    "|+ Intervals of the " .. p .. "-Powharmonic series\n" ..
    "|+ Intervals of the " .. expo .. "-Powharmonic series\n" ..
    "! rowspan=\"2\" | Pitch #\n" ..
    "! rowspan=\"2\" | Pitch #\n" ..
    "! colspan=\"2\" | Frequency multiplier\n" ..
    "! colspan=\"2\" | Frequency multiplier\n" ..
    "! colspan=\"3\" | Pitch\n" ..
    "! colspan=\"3\" | Pitch\n" ..
    "|-\n" ..
    "|-\n" ..
    "! Definition\n" ..
    "! Definition\n" ..
    "! Decimal\n" ..
    "! Decimal\n" ..
    "! Cents\n" ..
    "! Cents\n" ..
    "! Change (cents)\n" ..
    "! Change (cents)\n" ..
    "! Octave-reduced\n"
    "! Octave-reduced\n"
     local fmt_mul = string.format(" %%+.%df", tonumber(frame.args["prec"]))
     local fmt_mul = string.format(" %%+.%df", tonumber(frame.args["prec"]))
     local fmt_cent = " %+.2f"
     local fmt_cent = " %+.2f"