annotate tests/test-summaries/expected/testplug-curve-vsr-median.csv @ 366:9f7297c47850
Update plugin handling to follow the smart pointers used in the svcore library. This is awkward in our context, and the outcome isn't a very nice one - but it
does look as if we had the potential for use-after-free in cases where a plugin
was both used "bare" and wrapped in an auto-deleting adapter; those should be
fixed now
author |
Chris Cannam |
date |
Thu, 23 Apr 2020 15:51:55 +0100 |
parents |
6a804920b4a8 |
children |
|
rev |
line source |
Chris@235
|
1 # Sonic Annotator's summary method integrates the values across
|
Chris@235
|
2 # time. If an output lacks duration for its features, each feature is
|
Chris@235
|
3 # considered to extend until the timestamp of the following feature,
|
Chris@235
|
4 # and the final feature is considered to extend until the end of the
|
Chris@235
|
5 # input or the last-ending output, whichever is later.
|
Chris@235
|
6 #
|
Chris@235
|
7 # The curve-vsr output is therefore considered to have 9 values (0.0
|
Chris@235
|
8 # to 0.8) that span 0.75 seconds each, followed by one value (0.9)
|
Chris@235
|
9 # that spans the 3 seconds from 6.75 to 9.75 where the final output of
|
Chris@235
|
10 # the plugin ends (that's the notes-regions output).
|
Chris@235
|
11 #
|
Chris@235
|
12 # Since the values from this output are already sorted and are
|
Chris@235
|
13 # distinct, the integrated median is just whatever is in effect at
|
Chris@235
|
14 # time 9.75 / 2.0 = 4.875. This value is 0.6.
|
Chris@235
|
15 #
|
Chris@235
|
16 0.000000000,9.750000000,median,0.6,"(median value, continuous-time average)"
|