Chromagram::Parameters Struct Reference

#include <Chromagram.h>

Public Member Functions

 Parameters (double sr)
 

Public Attributes

double sampleRate
 
int lowestOctave
 
int octaveCount
 
int binsPerOctave
 
double tuningFrequency
 
double q
 
double atomHopFactor
 
double threshold
 
CQParameters::WindowType window
 

Constructor & Destructor Documentation

Chromagram::Parameters::Parameters ( double  sr)
inline

Member Data Documentation

double Chromagram::Parameters::atomHopFactor

Hop size between temporal atoms, where 1 == no overlap and smaller values indicate overlapping atoms.

int Chromagram::Parameters::binsPerOctave

Number of constant-Q transform bins per octave and the number of bins in the chroma output.

int Chromagram::Parameters::lowestOctave

Octave number of lowest octave to include in the chromagram. Numbering is per ASA standard with -1 as the first octave in the MIDI range and middle-C being C4. The octave starts at C.

int Chromagram::Parameters::octaveCount

Number of source constant-Q octaves to wrap around into the single-octave chroma output.

double Chromagram::Parameters::q

Spectral atom bandwidth scaling factor.

double Chromagram::Parameters::sampleRate

Sampling rate of input signal.

double Chromagram::Parameters::threshold

Sparsity threshold for Constant-Q kernel: values with magnitude smaller than this are truncated to zero.

double Chromagram::Parameters::tuningFrequency

Frequency of concert A, used when mapping the note-based octave extents into frequency extents for the constant-Q transform.

CQParameters::WindowType Chromagram::Parameters::window

Window shape to use for the Constant-Q kernel atoms.


The documentation for this struct was generated from the following file: