This is a little Javascript program that calculates the frequencies of partials in a harmonic or subharmonic series, and returns the results in a tab-delimited list ready for pasting into Excel.

Frequencies are calculated as:
${f}_{n}={f}_{0}(s(n-1)+1{)}^{e}+\alpha$, where f_{0} is the fundamental frequency, s is the Scaling Factor, n is the partial number, e is the Exponent and α is the Frequency Addition constant.

If the ‘Subharmonics’ checkbox is ticked, however, then frequencies are calculated as: ${f}_{n}=\frac{{f}_{0}}{(s{(n-1)+1)}^{e}}-\alpha$

**Fundamental frequency**:

**Octave**:

**Scaling factor** (1.0 = normal)

**Exponent** (1.0 = normal)

**Frequency addition** (Hz)

**Number of partials**

**Quantize microtones to nearest**:

**Output** (tab-delimited)

can be copied and pasted into Excel

**Music Notation**:

**Graph**:

NB: quarter-flats and quarter-sharps are encoded as double-flats and double-sharps, as Sibelius does not correctly import quartertones. Grrrr.