Godtone
Joined 17 December 2020
m →My Python 3 code: make specifying different bounds for italicized intervals considered too inconsistent/out of tune trivial |
|||
| Line 1,161: | Line 1,161: | ||
def interpret_edo(edo,ol=17,sg=[],no=[],add=[],styler=lambda x,relerr: striv(x) if abs(relerr) < 1/2 else '*'+striv(x)+'*'): | def interpret_edo(edo,ol=17,sg=[],no=[],add=[],styler=lambda x,relerr: striv(x) if abs(relerr) < 1/2 else '*'+striv(x)+'*'): | ||
if type(styler)==int or type(styler)==float: | |||
styler=lambda x,relerr: striv(x) if abs(relerr) < styler else '*'+striv(x)+'*' | |||
print(edo,'EDO interpretation') | print(edo,'EDO interpretation') | ||
if not sg: | if not sg: | ||