view cpp-qm-dsp/test.cpp @ 35:75d528478feb

Add Vamp plugin for testing with
author Chris Cannam <c.cannam@qmul.ac.uk>
date Wed, 06 Nov 2013 14:30:42 +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;
}