70 virtual int getTotalBins()
const {
return m_octaves * m_binsPerOctave; }
72 virtual int getLatency()
const {
return m_outputLatency; }
93 const double m_sampleRate;
94 const double m_maxFrequency;
95 const double m_minFrequency;
96 const int m_binsPerOctave;
102 std::vector<Resampler *> m_upsamplers;
103 std::vector<RealSequence> m_buffers;
104 std::vector<RealSequence> m_olaBufs;
111 void processOctave(
int octave,
const ComplexBlock &block);
112 void processOctaveColumn(
int octave,
const ComplexColumn &column);
113 void overlapAddAndResample(
int octave,
const RealSequence &);
virtual double getMaxFrequency() const
Definition: CQInverse.h:73
virtual ~CQInverse()
Definition: CQInverse.cpp:65
virtual int getLatency() const
Definition: CQInverse.h:72
std::vector< ComplexColumn > ComplexBlock
A matrix of complex-valued samples, indexed by time then bin number.
Definition: CQBase.h:64
virtual bool isValid() const
Definition: CQInverse.h:66
double maxFrequency
Definition: CQKernel.h:52
std::vector< Complex > ComplexColumn
A series of complex-valued samples ordered by bin (frequency or similar).
Definition: CQBase.h:58
virtual int getBinsPerOctave() const
Definition: CQInverse.h:68
virtual double getSampleRate() const
Definition: CQInverse.h:67
Definition: CQInverse.h:55
Definition: CQKernel.h:42
int fftHop
Definition: CQKernel.h:56
CQInverse(CQParameters params)
Definition: CQInverse.cpp:50
Definition: CQKernel.h:50
Definition: CQParameters.h:39
virtual int getOctaves() const
Definition: CQInverse.h:69
virtual int getColumnHop() const
Definition: CQInverse.h:71
virtual double getMinFrequency() const
Definition: CQInverse.cpp:75
RealSequence getRemainingOutput()
Definition: CQInverse.cpp:295
virtual double getBinFrequency(double bin) const
Definition: CQInverse.cpp:81
bool isValid() const
Definition: CQKernel.h:48
RealSequence process(const ComplexBlock &)
Definition: CQInverse.cpp:192
virtual int getTotalBins() const
Definition: CQInverse.h:70
std::vector< double > RealSequence
A series of real-valued samples ordered in time.
Definition: CQBase.h:49
int atomsPerFrame
Definition: CQKernel.h:57