1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
|
#ifndef FAUSTFLOAT
#define FAUSTFLOAT double
#endif
#include "controlTools.h"
#include "faust/dsp/dsp-checker.h"
//----------------------------------------------------------------------------
//FAUST generated code
//----------------------------------------------------------------------------
<<includeIntrinsic>>
<<includeclass>>
int main(int argc, char* argv[])
{
int linenum = 0;
int nbsamples = 60000;
// print general informations
printHeader(new dsp_me_checker(new mydsp()), nbsamples);
// linenum is incremented in runDSP and runPolyDSP
runDSP(new dsp_me_checker(new mydsp()), argv[0], linenum, nbsamples/4);
runDSP(new dsp_me_checker(new mydsp()), argv[0], linenum, nbsamples/4, false, true);
runPolyDSP(new dsp_me_checker(new mydsp()), linenum, nbsamples/4, 4);
runPolyDSP(new dsp_me_checker(new mydsp()), linenum, nbsamples/4, 1);
return 0;
}
|