Mercurial > hg > vamp-test-plugin
comparison VampTestPlugin.cpp @ 33:60d48ba79ca1
Slightly different pattern
author | Chris Cannam |
---|---|
date | Wed, 14 Sep 2016 17:14:32 +0100 |
parents | 4834aa2b49a6 |
children | b35d5b2abf84 |
comparison
equal
deleted
inserted
replaced
32:4834aa2b49a6 | 33:60d48ba79ca1 |
---|---|
538 i, 10)); | 538 i, 10)); |
539 } | 539 } |
540 | 540 |
541 for (int i = 0; i < 10; ++i) { | 541 for (int i = 0; i < 10; ++i) { |
542 static std::vector<float> times { | 542 static std::vector<float> times { |
543 2.4, 2.9, 3.14, 3.5, 4.0, 3.7, 4, 4.4, 4.8, 5 | 543 2.4, 2.9, 3.14, 3.5, 4.0, 4.4, 3.9, 4.4, 4.8, 5 |
544 }; | 544 }; |
545 float s = times[i]; | 545 float s = times[i]; |
546 float sn = snap(s, 0.4) + 1e-5; // to avoid printing e.g. 2.799 | 546 float sn = snap(s, 0.4) + 1e-5; // to avoid printing e.g. 2.799 |
547 if (i == 4 || i == 8) { | 547 if (i == 4 || i == 5 || i == 8) { |
548 fs[m_outputNumbers["curve-fsr-mixed"]] | 548 fs[m_outputNumbers["curve-fsr-mixed"]] |
549 .push_back(untimedCurveValue(RealTime::fromSeconds(s), | 549 .push_back(untimedCurveValue(RealTime::fromSeconds(s), |
550 i, 10)); | 550 i, 10)); |
551 } else { | 551 } else { |
552 fs[m_outputNumbers["curve-fsr-mixed"]] | 552 fs[m_outputNumbers["curve-fsr-mixed"]] |