Optimal ET sequence

From Xenharmonic Wiki
Revision as of 18:32, 5 December 2021 by Cmloegcmluin (talk | contribs) (fix broken github link, and add example result list, per Kite's suggestions (thanks Kite!))
Jump to navigation Jump to search

Many regular temperaments documented on the wiki are accompanied with a sequence of generalized patent vals for ETs which support the temperament, where each subsequent val included improves upon the TE error of the previous val.

No standard beginning or ending cutoff to the list has been specified.

How to compute

Val lists can be computed using Flora Canou's Tuning Optimizer & TE Temperament Measures Calculator, using the et_sequence_error function. For example, here's how the val list for Yer temperament was determined, by providing its comma basis and subgroup:

import et_sequence_error as ete
import numpy as np

ete.et_sequence_error(np.array([[7,-4],[-1,1],[-1,-1],[-1,0],[1,1]]), subgroup=[2,11,13,17,19])</nowiki>

Which produces the list: 13, 24, 33, 37, 46, 57, 70, 127.