comparison test/TestMonoNote.cpp @ 150:729cc1da9b8d memory

Use fixed-lag HMM in note tracking as well (when fixed-lag mode is selected)
author Chris Cannam
date Wed, 17 May 2017 16:29:43 +0100
parents 99bac62ee2da
children
comparison
equal deleted inserted replaced
149:b83e6fbe22cc 150:729cc1da9b8d
12 12
13 BOOST_AUTO_TEST_SUITE(TestMonoNote) 13 BOOST_AUTO_TEST_SUITE(TestMonoNote)
14 14
15 BOOST_AUTO_TEST_CASE(instantiate) 15 BOOST_AUTO_TEST_CASE(instantiate)
16 { 16 {
17 MonoNote mn; 17 MonoNote mn(false);
18 vector<vector<pair<double, double> > > pitchProb; 18 vector<vector<pair<double, double> > > pitchProb;
19 size_t n = 8; 19 size_t n = 8;
20 20
21 vector<double> pitch; 21 vector<double> pitch;
22 pitch.push_back(48); 22 pitch.push_back(48);