Construct a fractional just intonation subgroup.
An array of fractions or a value that can be interpreted as a basis of the new subgroup.
Array of fractions forming the basis of the subgroup.
Check equality between subgroups.
Another subgroup instance.
true
if the subgroups are the same.
Private
expandCalculate the val corresponding to the given warts as progressive modifications to the patent val.
Number of divisions of the first basis factor or a number followed by letters of the alphabet corresponding to the primes in order with formal primes represented by letters starting from 'q'.
Array of the number of steps corresponding to each basis factor.
Just intonation point of the subgroup.
Array of logarithms of the basis factors or the factors themselves if 'ratio' was specified.
Convert a monzo in the standard prime basis to a monzo in the subgroup's basis.
Array of prime exponents.
Optional
basisMonzos: Monzo[]Precalculated array of the subgroup's basis as arrays of prime exponents.
Array of basis exponents.
Resolve a fraction into a monzo of this subgroup.
Fraction or monzo to resolve.
Should be set to true
if the monzo is given in terms of prime exponents. Strips away excess components.
Monzo given in terms of the subgroup's basis.
Private
simpleConvert a fraction to a monzo in the subgroup's basis.
Fraction or the numerator of a fraction.
Optional
secondValue: numberOptional denominator of the fraction.
An array of basis exponents and a multiplicative residue that lies outside of the basis of the subgroup.
Fill in or convert a subgroup mapping to a full prime mapping.
Mapping given in terms of the formal primes of the subgroup.
The mapping given in terms of consecutive primes.
Convert a val (step mapping) to a wart string.
Array of the number of steps corresponding to each basis factor.
The val as wart string such as '17c'
.
Static
inferInfer a prime subgroup based on an array of commas.
Array of commas as fractions or monzos.
Smallest prime subgroup containing the commas.
Generated using TypeDoc
Fractional just intonation subgroup.