diff src/Silvet.h @ 311:99af9557dfc1

Pull out applyEM function
author Chris Cannam
date Tue, 28 Apr 2015 09:41:40 +0100
parents 07ee4ebea57c
children fa2ffbb786df
line wrap: on
line diff
--- a/src/Silvet.h	Tue Apr 28 09:17:12 2015 +0100
+++ b/src/Silvet.h	Tue Apr 28 09:41:40 2015 +0100
@@ -92,6 +92,10 @@
 
     Grid preProcess(const Grid &);
 
+    std::pair<vector<double>, vector<int> > applyEM(const InstrumentPack &pack,
+                                                    const vector<double> &column,
+                                                    bool wantShifts);
+    
     vector<double> postProcess(const vector<double> &pitches,
                                const vector<int> &bestShifts,
                                bool wantShifts); // -> piano roll column