Godtone (talk | contribs)
My Python 3 code: add octave-period rank 2 temperament interval table generator
Godtone (talk | contribs)
m My Python 3 code: IMPORTANT: can be used to generate interval tables for edos for the xen wiki! use wiki=[prime limit] to only link intervals of the wiki-prime-limit
Line 1,194: Line 1,194:


# NOTE: requires you to manually correct non-monotonic mappings of intervals in outputted table
# NOTE: requires you to manually correct non-monotonic mappings of intervals in outputted table
# IMPORTANT: can be used to generate interval tables for edos for the xen wiki!
# use wiki=[prime limit] to only link intervals of the wiki-prime-limit
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