Construct a new temperament of an arbitrary basis.
Clifford algebra of with an all-positive metric and integer components.
Element of the Clifford algebra representing the temperament.
Natural logarithms of the basis factors.
The Clifford algebra where the temperament is interpreted in. All-positive metric with integer coefficients.
Natural logarithms of the basis factors.
An element of the Clifford algebra representing the temperament.
The size of the temperament's subgroup.
Calculate the change of basis mapping from primes to the generators of the temperament.
Period and generators used as the new basis.
Zero threshold used during the calculation.
Change of basis matrix as an array of arrays of numbers.
Protected
calculateCTEProtected
calculateCanonize the temperament in-place into wedgie form. Remove a common factor and make the lexicographically first non-zero element positive.
Factorize the temperament into commas.
Maximum divisions of the equave to consider.
An array of commas that recreates the original temperament when passed to .fromCommas
.
An error if the search space doesn't contain the factors.
Check if two temperaments are the same and have the same subgroup. Only checks numerical equality, canonize your inputs beforehand.
Another temperament.
true
if the temperament is equal to the other.
Just intonation point.
Array of logarithms of the basis factors or the factors themselves if 'ratio' was specified.
Obtain the mapping vector for the temperament's basis factors.
Optional
options: TuningOptionsOptions determining how the temperament is interpreted as a tuning and the units of the result.
A vector mapping basis factors to tempered versions of their logarithms in cents (default) or the specified pitch units.
Calculate the true kernel join of two temperaments.
Another temperament in the same basis.
Search range for normalizing the result.
Rounding threshold.
A temperament tempering out commas tempered out by either temperament.
Calculate the true kernel meet of two temperaments.
Another temperament in the same basis.
Search range for normalizing the result.
Rounding threshold.
A temperament tempering out only the commas tempered out by both temperaments.
Obtain the number of periods per octave (or equave) and the generators in monzo form. The procedure assumes that the temperament is canonized.
A pair representing the number of periods per equave and the generators as monzos of the temperament's subgroup.
Obtain the period and generator of a rank 2 temperament.
Optional
options: TuningOptionsOptions determining how the temperament is interpreted as a tuning and the units of the result.
An array of [period, generators...]
in cents (default) or the specified units.
Get a prefix of the temperament's full wedgie that may be used to reconstruct it. Potentially lossy compression.
Optional
rank: numberThe rank of the temperament.
The first few components of the temperament's wedgie that can be used to reconstruct the temperament if it's regular enough.
Protected
rescaleTune a musical interval according to the temperament.
Array of exponents of the basis factors.
Optional
options: TuningOptionsOptions determining how the temperament is interpreted as a tuning and the units of the result.
The interval tuned according to the temperament in cents (default) or the specified units.
Factorize the temperament into vals.
Maximum divisions of the equave to consider.
Maximum deviations from closest tunings to consider.
Factorization strategy.
Optional
subgroup: SubgroupAn array of vals that recreates the original temperament when passed to .fromVals
.
An error if the search space doesn't contain the factors.
Calculate the true val join of two temperaments.
Another temperament in the same basis.
Search range for normalizing the result.
Rounding threshold.
A temperament supported by all the vals supporting either temperament.
Calculate the true val meet of two temperaments.
Another temperament in the same basis.
Search range for normalizing the result.
Rounding threshold.
A temperament supported only by the vals shared by both temperaments.
Static
fromConstruct a temperament tempering out all of the given commas.
A FreeTemperament
instance mapping all of the given commas to unison.
Static
fromRecover a temperament from its rank prefix.
Rank of the original temperament.
Array of integers obtained from FreeTemperament.rankPrefix()
.
Natural logarithms of the basis factors.
The original temperament if reconstruction was possible.
Static
fromConstruct a temperament supported by all of the given vals.
An array of step mappings for the basis factors or strings in Wart Notation. In the warts the letters of the alphabet correspond to the basis, not prime numbers.
Natural logarithms of the basis factors.
A FreeTemperament
instance supported by all of the given vals.
Generated using TypeDoc
Temperament with an arbitrary basis represented as an element of a Clifford algebra.