Optimal ET sequence: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
Break off the association with val list
Cmloegcmluin (talk | contribs)
fix broken github link, and add example result list, per Kite's suggestions (thanks Kite!)
Line 5: Line 5:
== How to compute ==
== How to compute ==


Val lists can be computed using [[Flora Canou]]'s [https://github.com/FloraCanou/te_temperament_measures|Tuning Optimizer & TE Temperament Measures Calculator], using the <code>et_sequence_error</code> function. For example, here's how the val list for [[Subgroup_temperaments#Yer_.28rank_3.29|Yer temperament]] was determined, by providing its comma basis and subgroup:
Val lists can be computed using [[Flora Canou]]'s [https://github.com/FloraCanou/te_temperament_measures Tuning Optimizer & TE Temperament Measures Calculator], using the <code>et_sequence_error</code> function. For example, here's how the val list for [[Subgroup_temperaments#Yer_.28rank_3.29|Yer temperament]] was determined, by providing its comma basis and subgroup:


<pre>
<pre>
Line 13: Line 13:
ete.et_sequence_error(np.array([[7,-4],[-1,1],[-1,-1],[-1,0],[1,1]]), subgroup=[2,11,13,17,19])</nowiki>
ete.et_sequence_error(np.array([[7,-4],[-1,1],[-1,-1],[-1,0],[1,1]]), subgroup=[2,11,13,17,19])</nowiki>
</pre>
</pre>
Which produces the list: 13, 24, 33, 37, 46, 57, 70, 127.


[[Category:Regular temperament theory]]
[[Category:Regular temperament theory]]

Revision as of 18:32, 5 December 2021

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.