Module:Harmonic entropy/doc: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
ArrowHead294 (talk | contribs)
Replace with template
m FloraC moved page Module:Interval/doc to Module:Harmonic entropy/doc without leaving a redirect: See talk
(No difference)

Revision as of 07:25, 12 June 2024

This module provides several functions to work with interval-related math. Currently, it only exists to calculate the harmonic entropy.

Namely, the functions in this module can be called from other modules by using require('Module:Interval') and calling the _-prefixed functions.

Functions

  • harmonic_entropy(c, ratios, deviation, norm) computes harmonic Shannon entropy of an interval of c cents across ratios with a Gaussian with standard deviation (also in cents) and a norm associated with the ratios.