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