Mercurial > hg > constant-q-cpp
view cpp-qm-dsp/test.cpp @ 36:cb072f01435b
Get remaining blocks from end of processing; fix some compile warnings, etc
author | Chris Cannam <c.cannam@qmul.ac.uk> |
---|---|
date | Wed, 06 Nov 2013 16:21:28 +0000 |
parents | ba648b8672bd |
children | 73152bc3bb26 |
line wrap: on
line source
#include "ConstantQ.h" #include <iostream> #include <vector> using std::vector; using std::cerr; using std::endl; int main(int argc, char **argv) { ConstantQ k(48000, 50, 24000, 24); vector<double> in(65536*4, 0.0); vector<vector<double> > out = k.process(in); cerr << "got " << out.size() << " back" << endl; }