stiffcandid Class Reference

#include <hs.h>

Public Member Functions

 stiffcandid (int Wid)
 
 stiffcandid (int Wid, int ap, double af, double errf)
 
 stiffcandid (int Wid, int ap, double af, double errf, double ds)
 
 stiffcandid (stiffcandid *prev, int ap, double af, double errf, double ds)
 

Data Fields

int P
 
int * p
 
double * f
 
double s
 
int N
 
double * F
 
double * G
 

Detailed Description

stiffcandid is the harmonic atom class used internally by harmonic grouping and tracking routines. Literally it means "candidate harmonic atoms on a stiff string model". The stiff string is the main harmonic model used by me for describing frequency relations between partials of a harmonic sound.

stiffcandid is superceded by TTempAtom class.

Constructor & Destructor Documentation

stiffcandid::stiffcandid ( int  Wid)

method stiffcandid::stiffcandid: creates a harmonic atom with minimal info, i.e. fundamantal frequency between 0 and Nyqvist frequency, stiffness coefficient between 0 and STIFF_B_MAX.

In: Wid: DFT size (frame size, frequency resolution)

stiffcandid::stiffcandid ( int  Wid,
int  ap,
double  af,
double  errf 
)

method stiffcandid::stiffcandid: creates a harmonic atom with a frequency range for the $ap-th partial, without actually taking this partial as "known".

In; Wid: DFT size ap: partial index af, errf: centre and half-width of the frequency range of the ap-th partial, in bins

stiffcandid::stiffcandid ( int  Wid,
int  ap,
double  af,
double  errf,
double  ds 
)

method stiffcandid::stiffcandid: creates a harmonic atom from one atom.

In; Wid: DFT size ap: partial index of the atom. af, errf: centre and half-width of the frequency range of the atom, in bins. ds: contribution to candidate score from this atom.


The documentation for this class was generated from the following files: