Construct a new temperament of a fractional just intonation subgroup.
Clifford algebra of with an all-positive metric and integer components.
Element of the Clifford algebra representing the temperament.
Fractional just intonation subgroup defining what vectors of the algebra mean.
The Clifford algebra where the temperament is interpreted in. All-positive metric with integer coefficients.
Fractional just intonation subgroup defining what vectors of the algebra mean.
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 of the subgroup.
Array of logarithms of the basis factors or the factors themselves if 'ratio' was specified.
Obtain the mapping vector for the temperament's subgroup or for consecutive primes if options.primeMapping
is true
.
Optional
options: TuningOptionsOptions determining how the temperament is interpreted as a tuning and the units of the result.
A vector mapping (formal) primes 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 subgroup.
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 subgroup.
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
rescaleCalculate how many steps of the rank 1 temperament represents the given interval.
Rational number representing a musical interval.
Set to true
if the interval is in monzo form and given in terms of consecutive prime exponents.
The number of steps that represents the interval.
Tune a musical interval according to the temperament.
Rational number representing a musical interval.
Optional
options: TuningOptionsOptions determining how the temperament is interpreted as a tuning and the units of the result.
Set options.primeMapping
to true
if the interval is in monzo form and given in terms of consecutive prime exponents.
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.
An 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 subgroup.
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 subgroup.
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.
An array of small musical intervals you want to map to unison.
Optional
subgroup: SubgroupValueFractional just intonation subgroup. A prime subgroup is inferred from the commas if not given explicitly.
Optional
primeMapping: booleanShould be set to true
if the monzo is given in terms of prime exponents. Strips away excess components.
A Temperament
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 Temperament.rankPrefix()
.
Subgroup of the original temperament.
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 subgroup's basis or strings in Wart Notation. In the warts the letters of the alphabet correspond to the subgroup's basis, not prime numbers.
Fractional just intonation subgroup such as '2.3.13/5'
.
A Temperament
instance supported by all of the given vals.
Generated using TypeDoc
Temperament of a fractional just intonation subgroup represented as an element of a Clifford algebra.