view cpp-qm-dsp/test.cpp @ 44:337d3b324c75

Some work on alignment
author Chris Cannam <c.cannam@qmul.ac.uk>
date Thu, 21 Nov 2013 17:04:19 +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;
}