Godtone (talk | contribs)
m My Python 3 code: fix sopfr
Godtone (talk | contribs)
m My Python 3 code: add note about usage of interpret_edo
Line 1,193: Line 1,193:
print('\n'.join([ striv(x) for x in scale ]))
print('\n'.join([ striv(x) for x in scale ]))


# NOTE: requires you to manually correct non-monotonic mappings of intervals in outputted table
def interpret_edo(edo,ol=17,sg=[],no=[],add=[],styler=lambda x,relerr: striv(x) if abs(relerr) < 1/2 else '*'+striv(x)+'*',dec='*',wiki=0):
def interpret_edo(edo,ol=17,sg=[],no=[],add=[],styler=lambda x,relerr: striv(x) if abs(relerr) < 1/2 else '*'+striv(x)+'*',dec='*',wiki=0):
considered_bad = styler if type(styler)==int or type(styler)==float else 1/2
considered_bad = styler if type(styler)==int or type(styler)==float else 1/2