view cpp-qm-dsp/test.cpp @ 31:01a3e110bf8d

Don't forget top octave in buffer list
author Chris Cannam <c.cannam@qmul.ac.uk>
date Tue, 05 Nov 2013 16:58:18 +0000
parents 39dddbb78d8b
children ba648b8672bd
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(1024, 0.0);
    vector<vector<double> > out = k.process(in);


    cerr << "got " << out.size() << " back" << endl;
}