Mercurial > hg > qm-dsp
diff dsp/chromagram/Chromagram.h @ 505:930b5b0f707d
Merge branch 'codestyle-and-tidy'
author | Chris Cannam <cannam@all-day-breakfast.com> |
---|---|
date | Wed, 05 Jun 2019 12:55:15 +0100 |
parents | 701233f8ed41 |
children |
line wrap: on
line diff
--- a/dsp/chromagram/Chromagram.h Thu May 30 16:18:13 2019 +0100 +++ b/dsp/chromagram/Chromagram.h Wed Jun 05 12:55:15 2019 +0100 @@ -1,5 +1,4 @@ /* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */ - /* QM DSP Library @@ -13,8 +12,8 @@ COPYING included with this distribution for more information. */ -#ifndef CHROMAGRAM_H -#define CHROMAGRAM_H +#ifndef QM_DSP_CHROMAGRAM_H +#define QM_DSP_CHROMAGRAM_H #include "dsp/transforms/FFT.h" #include "base/Window.h" @@ -31,8 +30,7 @@ class Chromagram { - -public: +public: Chromagram( ChromaConfig Config ); ~Chromagram(); @@ -67,7 +65,7 @@ // Complex arithmetic double kabs( double real, double imag ); - + // Results int getK() { return m_uK;} int getFrameSize() { return m_frameSize; } @@ -79,7 +77,7 @@ Window<double> *m_window; double *m_windowbuf; - + double* m_chromadata; double m_FMin; double m_FMax;