Mercurial > hg > qm-dsp
diff dsp/tonal/TCSgram.h @ 482:cbe668c7d724
Untabify, indent, tidy
author | Chris Cannam <cannam@all-day-breakfast.com> |
---|---|
date | Fri, 31 May 2019 11:02:28 +0100 |
parents | d5014ab8b0e5 |
children | 701233f8ed41 |
line wrap: on
line diff
--- a/dsp/tonal/TCSgram.h Fri May 31 10:54:02 2019 +0100 +++ b/dsp/tonal/TCSgram.h Fri May 31 11:02:28 2019 +0100 @@ -26,24 +26,28 @@ class TCSGram { -public: - TCSGram(); - ~TCSGram(); - void getTCSVector(int, TCSVector&) const; - void addTCSVector(const TCSVector&); - long getTime(size_t) const; - long getDuration() const; - void printDebug(); - int getSize() const { return m_VectorList.size(); } - void reserve(size_t uSize) { m_VectorList.reserve(uSize); } - void clear() { m_VectorList.clear(); } - void setFrameDuration(const double dFrameDurationMS) { m_dFrameDurationMS = dFrameDurationMS; } - void setNumBins(const unsigned int uNumBins) { m_uNumBins = uNumBins; } - void normalize(); +public: + TCSGram(); + ~TCSGram(); + void getTCSVector(int, TCSVector&) const; + void addTCSVector(const TCSVector&); + long getTime(size_t) const; + long getDuration() const; + void printDebug(); + int getSize() const { return m_VectorList.size(); } + void reserve(size_t uSize) { m_VectorList.reserve(uSize); } + void clear() { m_VectorList.clear(); } + void setFrameDuration(const double dFrameDurationMS) { + m_dFrameDurationMS = dFrameDurationMS; + } + void setNumBins(const unsigned int uNumBins) { + m_uNumBins = uNumBins; + } + void normalize(); protected: - vectorlist_t m_VectorList; - unsigned int m_uNumBins; - double m_dFrameDurationMS; + vectorlist_t m_VectorList; + unsigned int m_uNumBins; + double m_dFrameDurationMS; }; #endif