diff data/model/NoteModel.h @ 1679:0d89abd631ac single-point

Re-add the toDelimitedDataString stuff
author Chris Cannam
date Thu, 28 Mar 2019 16:03:36 +0000
parents f97d64b8674f
children 73077ec5aed6
line wrap: on
line diff
--- a/data/model/NoteModel.h	Thu Mar 28 13:37:09 2019 +0000
+++ b/data/model/NoteModel.h	Thu Mar 28 16:03:36 2019 +0000
@@ -384,6 +384,20 @@
         m_events.toXml(out, indent, QString("dimensions=\"3\""));
     }
 
+    QString toDelimitedDataString(QString delimiter,
+                                  DataExportOptions options,
+                                  sv_frame_t startFrame,
+                                  sv_frame_t duration) const override {
+        return m_events.toDelimitedDataString
+            (delimiter,
+             options,
+             startFrame,
+             duration,
+             m_sampleRate,
+             m_resolution,
+             Event().withValue(0.f).withDuration(0.f).withLevel(0.f));
+    }
+
 protected:
     Subtype m_subtype;
     sv_samplerate_t m_sampleRate;