diff data/model/Model.h @ 1611:b2f32c554199 single-point

Pull out the Point class, plus start testing NoteModel, plus actually add the tests...
author Chris Cannam
date Tue, 05 Mar 2019 15:15:11 +0000
parents 0e0947896fd3
children 8bf3a52a1604
line wrap: on
line diff
--- a/data/model/Model.h	Tue Mar 05 14:18:37 2019 +0000
+++ b/data/model/Model.h	Tue Mar 05 15:15:11 2019 +0000
@@ -55,9 +55,10 @@
     virtual sv_frame_t getStartFrame() const = 0;
 
     /**
-     * Return the audio frame at the end of the model, i.e. 1 more
-     * than the final frame contained within the model. The end frame
-     * minus the start frame should yield the total duration in frames
+     * Return the audio frame at the end of the model, i.e. the final
+     * frame contained within the model plus 1 (or plus the model's
+     * "resolution" granularity, if more than 1). The end frame minus
+     * the start frame should yield the total duration in frames
      * spanned by the model. This is consistent with the definition of
      * the end frame of a Selection object.
      */