Wiki » History » Version 8
Version 7 (Chris Cannam, 2013-03-28 01:12 PM) → Version 8/23 (Chris Cannam, 2013-03-28 01:15 PM)
h1. About the Vamp Test Plugin
The Vamp Test Plugin is a plugin that does no real work, does not analyse its input at all, and always returns the same results. (With one caveat: you should feed it at least 15 seconds of input audio, because it returns features across a 15-second span.)
It has several outputs, which are designed to test the host's handling of various aspects of the Vamp OutputDescriptor SampleType and SampleRate settings. Note that all output features have labels indicating the expected timing and (in some cases) values for the feature.
Think of it as the Vamp plugin equivalent of a TV test pattern or printer test page.
h2. Outputs
The plugin outputs are listed below, with a description and an example of Sonic Annotator's display of the output features. The output comes from the forthcoming Sonic Annotator v0.7.1 -- use of this plugin turned up a bug in 0.7 which 0.7.1 fixes!
h3. instants
The *instants* output is a @VariableSampleRate@ output containing ten instants explicitly timestamped at 1.5 second intervals. They are labelled by number and time.
<pre>
"test.wav",0.000000000,"1 of 10 at 0"
,1.500000000,"2 of 10 at 1.5"
,3.000000000,"3 of 10 at 3"
,4.500000000,"4 of 10 at 4.5"
,6.000000000,"5 of 10 at 6"
,7.500000000,"6 of 10 at 7.5"
,9.000000000,"7 of 10 at 9"
,10.500000000,"8 of 10 at 10.5"
,12.000000000,"9 of 10 at 12"
,13.500000000,"10 of 10 at 13.5"
</pre>
h3. curve-oss
The *curve-oss* output is a @OneSamplePerStep@ output containing 20 values from 0 to 0.95 in increments of 0.05. They have implicit timing, so their timestamps will depend on the process block size. The expected times are calculated by the plugin and returned in the feature labels.
<pre>
"test.wav",0.000000000,0,"1 of 20: 0 at 0"
,0.023219954,0.05,"2 of 20: 0.05 at 0.023"
,0.046439909,0.1,"3 of 20: 0.1 at 0.046"
,0.069659863,0.15,"4 of 20: 0.15 at 0.069"
,0.092879818,0.2,"5 of 20: 0.2 at 0.092"
,0.116099773,0.25,"6 of 20: 0.25 at 0.116"
,0.139319727,0.3,"7 of 20: 0.3 at 0.139"
,0.162539682,0.35,"8 of 20: 0.35 at 0.162"
,0.185759637,0.4,"9 of 20: 0.4 at 0.185"
,0.208979591,0.45,"10 of 20: 0.45 at 0.208"
,0.232199546,0.5,"11 of 20: 0.5 at 0.232"
,0.255419501,0.55,"12 of 20: 0.55 at 0.255"
,0.278639455,0.6,"13 of 20: 0.6 at 0.278"
,0.301859410,0.65,"14 of 20: 0.65 at 0.301"
,0.325079365,0.7,"15 of 20: 0.7 at 0.325"
,0.348299319,0.75,"16 of 20: 0.75 at 0.348"
,0.371519274,0.8,"17 of 20: 0.8 at 0.371"
,0.394739229,0.85,"18 of 20: 0.85 at 0.394"
,0.417959183,0.9,"19 of 20: 0.9 at 0.417"
,0.441179138,0.95,"20 of 20: 0.95 at 0.441"
</pre>
h3. curve-fsr
The *curve-fsr* output is a @FixedSampleRate@ output which contains 10 implicitly timed features with values from 0 to 0.9 in increments of 0.1. These features should appear at 0.5 second intervals, because the output's SampleRate is 2.
<pre>
"test.wav",0.000000000,0,"1 of 10: 0 at 0"
,0.500000000,0.1,"2 of 10: 0.1 at 0.5"
,1.000000000,0.2,"3 of 10: 0.2 at 1"
,1.500000000,0.3,"4 of 10: 0.3 at 1.5"
,2.000000000,0.4,"5 of 10: 0.4 at 2"
,2.500000000,0.5,"6 of 10: 0.5 at 2.5"
,3.000000000,0.6,"7 of 10: 0.6 at 3"
,3.500000000,0.7,"8 of 10: 0.7 at 3.5"
,4.000000000,0.8,"9 of 10: 0.8 at 4"
,4.500000000,0.9,"10 of 10: 0.9 at 4.5"
</pre>
The Vamp Test Plugin is a plugin that does no real work, does not analyse its input at all, and always returns the same results. (With one caveat: you should feed it at least 15 seconds of input audio, because it returns features across a 15-second span.)
It has several outputs, which are designed to test the host's handling of various aspects of the Vamp OutputDescriptor SampleType and SampleRate settings. Note that all output features have labels indicating the expected timing and (in some cases) values for the feature.
Think of it as the Vamp plugin equivalent of a TV test pattern or printer test page.
h2. Outputs
The plugin outputs are listed below, with a description and an example of Sonic Annotator's display of the output features. The output comes from the forthcoming Sonic Annotator v0.7.1 -- use of this plugin turned up a bug in 0.7 which 0.7.1 fixes!
h3. instants
The *instants* output is a @VariableSampleRate@ output containing ten instants explicitly timestamped at 1.5 second intervals. They are labelled by number and time.
<pre>
"test.wav",0.000000000,"1 of 10 at 0"
,1.500000000,"2 of 10 at 1.5"
,3.000000000,"3 of 10 at 3"
,4.500000000,"4 of 10 at 4.5"
,6.000000000,"5 of 10 at 6"
,7.500000000,"6 of 10 at 7.5"
,9.000000000,"7 of 10 at 9"
,10.500000000,"8 of 10 at 10.5"
,12.000000000,"9 of 10 at 12"
,13.500000000,"10 of 10 at 13.5"
</pre>
h3. curve-oss
The *curve-oss* output is a @OneSamplePerStep@ output containing 20 values from 0 to 0.95 in increments of 0.05. They have implicit timing, so their timestamps will depend on the process block size. The expected times are calculated by the plugin and returned in the feature labels.
<pre>
"test.wav",0.000000000,0,"1 of 20: 0 at 0"
,0.023219954,0.05,"2 of 20: 0.05 at 0.023"
,0.046439909,0.1,"3 of 20: 0.1 at 0.046"
,0.069659863,0.15,"4 of 20: 0.15 at 0.069"
,0.092879818,0.2,"5 of 20: 0.2 at 0.092"
,0.116099773,0.25,"6 of 20: 0.25 at 0.116"
,0.139319727,0.3,"7 of 20: 0.3 at 0.139"
,0.162539682,0.35,"8 of 20: 0.35 at 0.162"
,0.185759637,0.4,"9 of 20: 0.4 at 0.185"
,0.208979591,0.45,"10 of 20: 0.45 at 0.208"
,0.232199546,0.5,"11 of 20: 0.5 at 0.232"
,0.255419501,0.55,"12 of 20: 0.55 at 0.255"
,0.278639455,0.6,"13 of 20: 0.6 at 0.278"
,0.301859410,0.65,"14 of 20: 0.65 at 0.301"
,0.325079365,0.7,"15 of 20: 0.7 at 0.325"
,0.348299319,0.75,"16 of 20: 0.75 at 0.348"
,0.371519274,0.8,"17 of 20: 0.8 at 0.371"
,0.394739229,0.85,"18 of 20: 0.85 at 0.394"
,0.417959183,0.9,"19 of 20: 0.9 at 0.417"
,0.441179138,0.95,"20 of 20: 0.95 at 0.441"
</pre>
h3. curve-fsr
The *curve-fsr* output is a @FixedSampleRate@ output which contains 10 implicitly timed features with values from 0 to 0.9 in increments of 0.1. These features should appear at 0.5 second intervals, because the output's SampleRate is 2.
<pre>
"test.wav",0.000000000,0,"1 of 10: 0 at 0"
,0.500000000,0.1,"2 of 10: 0.1 at 0.5"
,1.000000000,0.2,"3 of 10: 0.2 at 1"
,1.500000000,0.3,"4 of 10: 0.3 at 1.5"
,2.000000000,0.4,"5 of 10: 0.4 at 2"
,2.500000000,0.5,"6 of 10: 0.5 at 2.5"
,3.000000000,0.6,"7 of 10: 0.6 at 3"
,3.500000000,0.7,"8 of 10: 0.7 at 3.5"
,4.000000000,0.8,"9 of 10: 0.8 at 4"
,4.500000000,0.9,"10 of 10: 0.9 at 4.5"
</pre>