comparison 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
comparison
equal deleted inserted replaced
1678:1078f0ef3012 1679:0d89abd631ac
382 .arg(extraAttributes)); 382 .arg(extraAttributes));
383 383
384 m_events.toXml(out, indent, QString("dimensions=\"3\"")); 384 m_events.toXml(out, indent, QString("dimensions=\"3\""));
385 } 385 }
386 386
387 QString toDelimitedDataString(QString delimiter,
388 DataExportOptions options,
389 sv_frame_t startFrame,
390 sv_frame_t duration) const override {
391 return m_events.toDelimitedDataString
392 (delimiter,
393 options,
394 startFrame,
395 duration,
396 m_sampleRate,
397 m_resolution,
398 Event().withValue(0.f).withDuration(0.f).withLevel(0.f));
399 }
400
387 protected: 401 protected:
388 Subtype m_subtype; 402 Subtype m_subtype;
389 sv_samplerate_t m_sampleRate; 403 sv_samplerate_t m_sampleRate;
390 int m_resolution; 404 int m_resolution;
391 405