Optional options: HarmonicEntropyOptionsPrivate options_Private Optional ratiosMax height of rationals (Benedetti or Wilson depending on series)
Rényi order
Upper bound of tabulation
Lower bound of tabulation
Boolean flag to normalize the result by Hartley entropy
Options associated with this harmonic entropy calculator.
Tabulation delta in cents
Gaussian frequency deviation (default 0.01)
Series of rationals to use
Private recalculateSerialize the entropy calculator to a JSON compatible object.
The serialized object with property type set to 'EntropyCalculator'.
Static reviverRevive a EntropyCalculator instance produced by EntropyCalculator.toJSON(). Return everything else as is.
Intended usage:
const data = JSON.parse(serializedData, EntropyCalculator.reviver);
Property name.
Property value.
Deserialized EntropyCalculator instance or other data without modifications.
Construct a harmonic entropy calculator for individual musical intervals.