Godtone
Joined 17 December 2020
m finish path? |
mNo edit summary |
||
| Line 1,326: | Line 1,326: | ||
# and not underweighting simpler intervals and accounting for that more complex intervals will tend to be used | # and not underweighting simpler intervals and accounting for that more complex intervals will tend to be used | ||
# in a harmonic/chordal context which justifies their otherwise-higher effective felt error through templating | # in a harmonic/chordal context which justifies their otherwise-higher effective felt error through templating | ||
if weighting==1 or weighting in ['unweighted','trivial','basic']: | if weighting==1 or weighting in ['none','unweighted','trivial','basic']: | ||
weighting = lambda x: 1 | weighting = lambda x: 1 | ||
elif weighting in ['','default']: | |||
weighting = lambda x: iv_complexity(x) | |||
elif weighting=='sensitive': | elif weighting=='sensitive': | ||
weighting = lambda x: iv_complexity(x)**2 | weighting = lambda x: iv_complexity(x)**2 | ||