diff transform/FeatureExtractionModelTransformer.cpp @ 1651:7a56bb85030f single-point

Introduce deferred notifier, + start converting sparse time-value model (perhaps we should rename it too)
author Chris Cannam
date Mon, 18 Mar 2019 14:17:20 +0000
parents 1cc9a0d4b1b6
children 5b7b01da430a
line wrap: on
line diff
--- a/transform/FeatureExtractionModelTransformer.cpp	Mon Mar 18 09:37:46 2019 +0000
+++ b/transform/FeatureExtractionModelTransformer.cpp	Mon Mar 18 14:17:20 2019 +0000
@@ -1004,8 +1004,7 @@
 //                          << " for output " << n << " bin " << i << std::endl;
             }
 
-            targetModel->addPoint
-                (SparseTimeValueModel::Point(frame, value, label));
+            targetModel->add(Event(frame, value, label));
         }
 
     } else if (isOutput<NoteModel>(n) || isOutput<RegionModel>(n)) {