![]() |
Mixxx
|
#include <ChordExtractor.hxx>

Public Types | |
| typedef float * | AudioFrame |
Public Member Functions | |
| ChordExtractor (unsigned sampleRate=44100, double minimumFrequency=98, unsigned binsPerOctave=36) | |
| ~ChordExtractor () | |
| void | filterInertia (double inertia) |
| void | enableTunning (bool tunningEnabled=true) |
| void | enablePeakWindowing (bool peakWindowingEnabled=true) |
| void | hopRatio (double hopRatio) |
| void | segmentationMethod (double segmentationMethod) |
| unsigned | hop () const |
| unsigned | frameSize () const |
| void | doIt (const AudioFrame &input, CLAM::TData ¤tTime) |
| void | estimateChord (const ChordCorrelator::ChordCorrelation &correlation) |
| std::string | chordRepresentation (unsigned chordIndex) const |
| std::string | root (unsigned chordIndex) const |
| std::string | mode (unsigned chordIndex) const |
| const std::string | chordEstimation () const |
| const std::vector< double > & | chromagram () const |
| const std::vector< double > & | pcp () const |
| const std::vector< std::pair < double, double > > & | peaks () const |
| const std::vector< double > & | chordCorrelation () const |
| const CLAM::DiscontinuousSegmentation & | segmentation () const |
| const std::vector< unsigned > & | chordIndexes () const |
| void | clear () |
| void | closeLastSegment (CLAM::TData currentTime) |
| double | tunning () const |
| double | tunningStrength () const |
| std::pair< double, double > | instantTunning () const |
| double | energy () const |
| unsigned | firstCandidate () const |
| unsigned | secondCandidate () const |
| std::vector< double > | spectrum () const |
Static Public Member Functions | |
| static double | maximumFrequency (double sampleRate) |
Definition at line 52 of file ChordExtractor.hxx.
| typedef float* Simac::ChordExtractor::AudioFrame |
Definition at line 73 of file ChordExtractor.hxx.
| Simac::ChordExtractor::ChordExtractor | ( | unsigned | sampleRate = 44100, |
| double | minimumFrequency = 98, |
||
| unsigned | binsPerOctave = 36 |
||
| ) | [inline] |
| Simac::ChordExtractor::~ChordExtractor | ( | ) | [inline] |
| const std::vector<double>& Simac::ChordExtractor::chordCorrelation | ( | ) | const [inline] |
| const std::string Simac::ChordExtractor::chordEstimation | ( | ) | const [inline] |
Definition at line 167 of file ChordExtractor.hxx.
| const std::vector<unsigned>& Simac::ChordExtractor::chordIndexes | ( | ) | const [inline] |
| std::string Simac::ChordExtractor::chordRepresentation | ( | unsigned | chordIndex | ) | const [inline] |
Definition at line 155 of file ChordExtractor.hxx.
| const std::vector<double>& Simac::ChordExtractor::chromagram | ( | ) | const [inline] |
Definition at line 183 of file ChordExtractor.hxx.
| void Simac::ChordExtractor::clear | ( | ) | [inline] |
| void Simac::ChordExtractor::closeLastSegment | ( | CLAM::TData | currentTime | ) | [inline] |
Definition at line 211 of file ChordExtractor.hxx.
| void Simac::ChordExtractor::doIt | ( | const AudioFrame & | input, |
| CLAM::TData & | currentTime | ||
| ) | [inline] |
| void Simac::ChordExtractor::enablePeakWindowing | ( | bool | peakWindowingEnabled = true | ) | [inline] |
| void Simac::ChordExtractor::enableTunning | ( | bool | tunningEnabled = true | ) | [inline] |
| double Simac::ChordExtractor::energy | ( | ) | const [inline] |
Definition at line 218 of file ChordExtractor.hxx.
| void Simac::ChordExtractor::estimateChord | ( | const ChordCorrelator::ChordCorrelation & | correlation | ) | [inline] |
Definition at line 132 of file ChordExtractor.hxx.
| void Simac::ChordExtractor::filterInertia | ( | double | inertia | ) | [inline] |
| unsigned Simac::ChordExtractor::firstCandidate | ( | ) | const [inline] |
Definition at line 219 of file ChordExtractor.hxx.
| unsigned Simac::ChordExtractor::frameSize | ( | ) | const [inline] |
| unsigned Simac::ChordExtractor::hop | ( | ) | const [inline] |
| void Simac::ChordExtractor::hopRatio | ( | double | hopRatio | ) | [inline] |
| std::pair<double,double> Simac::ChordExtractor::instantTunning | ( | ) | const [inline] |
| static double Simac::ChordExtractor::maximumFrequency | ( | double | sampleRate | ) | [inline, static] |
Definition at line 72 of file ChordExtractor.hxx.
| std::string Simac::ChordExtractor::mode | ( | unsigned | chordIndex | ) | const [inline] |
| const std::vector<double>& Simac::ChordExtractor::pcp | ( | ) | const [inline] |
| const std::vector<std::pair<double, double> >& Simac::ChordExtractor::peaks | ( | ) | const [inline] |
| std::string Simac::ChordExtractor::root | ( | unsigned | chordIndex | ) | const [inline] |
| unsigned Simac::ChordExtractor::secondCandidate | ( | ) | const [inline] |
Definition at line 220 of file ChordExtractor.hxx.
| const CLAM::DiscontinuousSegmentation& Simac::ChordExtractor::segmentation | ( | ) | const [inline] |
| void Simac::ChordExtractor::segmentationMethod | ( | double | segmentationMethod | ) | [inline] |
| std::vector<double> Simac::ChordExtractor::spectrum | ( | ) | const [inline] |
Definition at line 221 of file ChordExtractor.hxx.
| double Simac::ChordExtractor::tunning | ( | ) | const [inline] |
Definition at line 215 of file ChordExtractor.hxx.
| double Simac::ChordExtractor::tunningStrength | ( | ) | const [inline] |
Definition at line 216 of file ChordExtractor.hxx.