view cpp-qm-dsp/test.cpp @ 32:ba648b8672bd

Much of the actual CQ processing logic
author Chris Cannam <c.cannam@qmul.ac.uk>
date Wed, 06 Nov 2013 08:10:33 +0000
parents 01a3e110bf8d
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;
}