Module:Temperament data: Difference between revisions
CompactStar (talk | contribs) No edit summary |
CompactStar (talk | contribs) No edit summary |
||
| Line 173: | Line 173: | ||
end | end | ||
local te = get_te_generator(subgroup, comma_basis, preimage) | local te = get_te_generator(subgroup, comma_basis, preimage) | ||
local stretch_factor = te[1][1] * math.log( | local stretch_factor = te[1][1] * math.log(2) / math.log(period) | ||
return scalarmatmul(te, | return scalarmatmul(te, stretch_factor) | ||
end | end | ||