Construct a new temperament from an array of svals.
A matrix where the rows are linearly independent subgroup vals.
Optionalbasis: ValBasisBasis of the svals.
Optionalweights: number[]Additional weights on top of Tenney weights to tweak what is considered optimal.
Boolean flag to force the tuning of the first basis element to remain pure.
Obtain the generators of this temperament in cents.
An array of cents values.
Obtain the number of periods per first basis element (octave or equave).
Obtain the number of independent generators of this temperament.
Tuning in cents of this temperament's subgroup basis.
Check if this temperament is the same as another.
Another temperament.
true if this temperament is the same as the other.
Compute the root mean squared error against the just intonation point.
The TE error.
Check if this temperament is strictly the same as another.
Another temperament.
true if this temperament is strictly the same as the other.
Produce a faithful string representation of this temperament.
A string that when evaluated reproduces a value equal to this temperament.
StaticfromConstruct a temperament that tempers out the given commas.
Commas to temper out. The number of commas decides the co-rank of the temperament.
Optionalbasis: ValBasisOptional basis. Leave undefined to automatically infer from commas.
Optionalweights: number[]Additional weights on top of Tenney weights to tweak what is considered optimal.
Boolean flag to force the tuning of the first basis element to remain pure.
If no basis is given, use the full prime limit instead of a minimal prime subgroup.
A higher rank temperament. Lower co-rank than just intonation.
StaticfromConstruct a temperament that retains the properties shared by all of the given vals.
Vals to mix into a more optimal combination. The number of vals decides the rank of the temperament.
Optionalweights: number[]Additional weights on top of Tenney weights to tweak what is considered optimal.
Boolean flag to force the tuning of the first basis element to remain pure.
A higher rank temperament.
Regular temperament combining multiple vals to a more optimal tuning.