6 #include <ardour/curve.h>
9 using namespace ARDOUR;
12 curvetest (string filename)
14 ifstream in (filename.c_str());
16 Curve c (-1.0, +1.0, 0, true);
17 double minx = DBL_MAX;
18 double maxx = DBL_MIN;
44 c.get_vector (minx, maxx, foo, 1024);
46 for (int i = 0; i < 1024; ++i) {
47 cout << minx + (((double) i / 1024.0) * (maxx - minx)) << ' ' << foo[i] << endl;