changeset 87:bf48110c0efa

Comments
author Chris Cannam
date Mon, 18 Mar 2013 10:03:47 +0000
parents 4e93d8ea1e70
children a52cb6cd7a02
files test/test_vamppost.yeti
diffstat 1 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/test/test_vamppost.yeti	Mon Mar 18 10:01:50 2013 +0000
+++ b/test/test_vamppost.yeti	Mon Mar 18 10:03:47 2013 +0000
@@ -10,6 +10,10 @@
 [
 
 "fillOneSamplePerStep": \(
+    // All features returned within a single process call (i.e. within
+    // a single sub-list of the feature list) should be given the same
+    // timestamp; the timestamp increments according to the config
+    // step size between sub-lists
     filled = vp.fillTimestamps {
         output = { sampleType = OneSamplePerStep () },
         config = { sampleRate = 1000, stepSize = 100 },
@@ -35,7 +39,9 @@
     // the output descriptor's sampleRate field [...] If
     // [hasTimestamp] is false, its time will be implicitly calculated
     // by incrementing the time of the previous feature according to
-    // the [output descriptor's] sample rate"
+    // the [output descriptor's] sample rate". Note that the time is
+    // based on that of the previous feature, not that of the previous
+    // process cycle (as is the case with OneSamplePerStep features).
     filled = vp.fillTimestamps {
         output = { sampleType = FixedSampleRate 5 },
         config = { sampleRate = 1000, stepSize = 100 },