Skip to content

signal.PitchDetectionHarm.Interface.HarmonicSumParms

Christian d'Heureuse edited this page Jun 7, 2026 · 2 revisions

dsp-collection / signal/PitchDetectionHarm / HarmonicSumParms

Interface: HarmonicSumParms

Defined in: signal/PitchDetectionHarm.ts:41

Secondary parameters for harmonicSum().

Extends

Extended by

Properties

amplitudeCompressionExponent

amplitudeCompressionExponent: number;

Defined in: signal/PitchDetectionHarm.ts:21

Exponent for the common compression of all harmonic amplitudes.

Inherited from

HarmonicAmplitudeEvaluationParms.amplitudeCompressionExponent


fCutoff

fCutoff: number;

Defined in: signal/PitchDetectionHarm.ts:47

Cutoff frequency in Hz. Specifies a hard upper frequency limit up to which the harmonic amplitudes are evaluated.


harmonicsDeclineExponent

harmonicsDeclineExponent: number;

Defined in: signal/PitchDetectionHarm.ts:36

Hyperbolic decline exponent constant for the decline rate of the harmonic.

  • 1 for harmonic decline.
  • 0 for exponential decline.
  • -1 for linear decline (with clipping to 0).
  • Between 0 and 1 for hyperbolic decline.

Inherited from

HarmonicAmplitudeEvaluationParms.harmonicsDeclineExponent


harmonicsDeclineRate

harmonicsDeclineRate: number;

Defined in: signal/PitchDetectionHarm.ts:27

Base value for a decline rate depending on the order of the harmonic. Initial negative slope of the decline curve.

Inherited from

HarmonicAmplitudeEvaluationParms.harmonicsDeclineRate


relWindowWidth

relWindowWidth: number;

Defined in: signal/PitchDetectionHarm.ts:53

Window width, relative to the wavelength of the fundamental frequency. Must be an integer.


windowFunction

windowFunction: 
  | WindowFunction
  | undefined;

Defined in: signal/PitchDetectionHarm.ts:58

A window function or undefined for no windowing (i.e. for using a rectangular window).

Clone this wiki locally