diff transform/FeatureExtractionModelTransformer.cpp @ 1644:513192aa9b03 single-point

Further API updates
author Chris Cannam
date Wed, 13 Mar 2019 16:00:13 +0000
parents 7a23dfe65d66
children 29a20719796e
line wrap: on
line diff
--- a/transform/FeatureExtractionModelTransformer.cpp	Wed Mar 13 14:50:10 2019 +0000
+++ b/transform/FeatureExtractionModelTransformer.cpp	Wed Mar 13 16:00:13 2019 +0000
@@ -1073,10 +1073,10 @@
 
             NoteModel *model = getConformingOutput<NoteModel>(n);
             if (!model) return;
-            model->addPoint(Event(frame, value, // value is pitch
-                                  duration,
-                                  velocity / 127.f,
-                                  feature.label.c_str()));
+            model->add(Event(frame, value, // value is pitch
+                             duration,
+                             velocity / 127.f,
+                             feature.label.c_str()));
         } else {
 
             RegionModel *model = getConformingOutput<RegionModel>(n);