Package eu.bandm.sighkn
Class HarmonicSpectrum
java.lang.Object
eu.bandm.sighkn.HarmonicSpectrum
-
Field Summary
Modifier and TypeFieldDescriptionstatic final HarmonicSpectrum
static final HarmonicSpectrum
static final HarmonicSpectrum
static final HarmonicSpectrum
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfloat[]
getFloatRealization
(int points) float
int
Highest partial, i.e.void
put
(int component, float weight)
-
Field Details
-
components
-
floatRealizations
-
intRealizations
-
pureSine
-
defaultSquare
-
defaultTriangle
-
defaultSaw
-
-
Constructor Details
-
HarmonicSpectrum
public HarmonicSpectrum()
-
-
Method Details
-
put
public void put(int component, float weight) -
getComponents
-
getNyquistFactor
public int getNyquistFactor()Highest partial, i.e. the limit up to which the table may be used without fold-backs, given as a factor to the synthesizing sampling rate. -
getNormalizedEnergy
public float getNormalizedEnergy() -
getFloatRealization
public float[] getFloatRealization(int points)
-