comparison templates/testtemplate.xml @ 371:23f2ee395cf7 templating

Include "testtemplate" into the bundled resources in SV.app. See also the related change in svapp, to read a template using genre info. patch is originally from my git copy.
author Dan Stowell <dan.stowell@eecs.qmul.ac.uk>
date Fri, 15 Oct 2010 11:59:03 +0100
parents
children 80d91b72ae7d
comparison
equal deleted inserted replaced
361:101f05420cba 371:23f2ee395cf7
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE sonic-visualiser>
3 <sv>
4 <data>
5 <model id="0" name="MCLD-Mouthpeaks-15-bombastic_blasts_from_ggmi.flac" sampleRate="44100" start="0" end="176400" type="wavefile" file="/home/dan/Music/_mcld_etc/Mouthpeaks/MCLD-Mouthpeaks-15-bombastic_blasts_from_ggmi.flac" mainModel="true"/>
6 <playparameters mute="false" pan="0" gain="1" pluginId="" model="0"/>
7 <model id="2" name="MCLD-Mouthpeaks-15-bombastic_blasts_from_ggmi.flac: Linear Frequency Centroid" sampleRate="44100" start="0" end="100352" type="sparse" dimensions="2" resolution="512" notifyOnAdd="true" dataset="1" minimum="2027.39" maximum="6850.78" units="Hz"/>
8 <dataset id="1" dimensions="2">
9 <point frame="0" value="2027.39" label="" />
10 <point frame="512" value="6045.79" label="" />
11 <point frame="1024" value="6418.15" label="" />
12 <point frame="1536" value="6509.11" label="" />
13 <point frame="2048" value="6559.68" label="" />
14 <point frame="2560" value="6311.73" label="" />
15 <point frame="3072" value="6506.64" label="" />
16 <point frame="3584" value="6451.55" label="" />
17 <point frame="4096" value="6522.18" label="" />
18 <point frame="4608" value="6486.36" label="" />
19 <point frame="5120" value="6291.02" label="" />
20 <point frame="5632" value="6432.67" label="" />
21 <point frame="6144" value="6232.32" label="" />
22 <point frame="6656" value="6235.87" label="" />
23 <point frame="7168" value="6422.67" label="" />
24 <point frame="7680" value="6405.53" label="" />
25 <point frame="8192" value="6693.63" label="" />
26 <point frame="8704" value="6285.09" label="" />
27 <point frame="9216" value="6571.57" label="" />
28 <point frame="9728" value="6283.38" label="" />
29 <point frame="10240" value="5595.98" label="" />
30 <point frame="10752" value="5900.23" label="" />
31 <point frame="11264" value="6108.65" label="" />
32 <point frame="11776" value="6403.87" label="" />
33 <point frame="12288" value="6399.26" label="" />
34 <point frame="12800" value="6383.65" label="" />
35 <point frame="13312" value="6440.11" label="" />
36 <point frame="13824" value="6401.14" label="" />
37 <point frame="14336" value="6592.96" label="" />
38 <point frame="14848" value="6793.75" label="" />
39 <point frame="15360" value="6850.78" label="" />
40 <point frame="43008" value="6292.49" label="" />
41 <point frame="43520" value="6226.9" label="" />
42 <point frame="44032" value="6137.03" label="" />
43 <point frame="44544" value="6800.03" label="" />
44 <point frame="45056" value="6480.42" label="" />
45 <point frame="45568" value="6373.64" label="" />
46 <point frame="46080" value="6561.55" label="" />
47 <point frame="46592" value="6675.7" label="" />
48 <point frame="47104" value="6300.43" label="" />
49 <point frame="47616" value="6347.15" label="" />
50 <point frame="48128" value="6569.65" label="" />
51 <point frame="48640" value="6192.86" label="" />
52 <point frame="49152" value="6741.45" label="" />
53 <point frame="49664" value="6343.96" label="" />
54 <point frame="50176" value="6519.43" label="" />
55 <point frame="50688" value="6206.12" label="" />
56 <point frame="51200" value="6203.37" label="" />
57 <point frame="51712" value="6452.43" label="" />
58 <point frame="52224" value="6111.09" label="" />
59 <point frame="52736" value="6316.1" label="" />
60 <point frame="53248" value="6143.94" label="" />
61 <point frame="53760" value="5972.78" label="" />
62 <point frame="54272" value="6214.94" label="" />
63 <point frame="54784" value="6088.9" label="" />
64 <point frame="55296" value="6000.24" label="" />
65 <point frame="55808" value="6120.26" label="" />
66 <point frame="56320" value="5979.33" label="" />
67 <point frame="56832" value="6009.34" label="" />
68 <point frame="57344" value="5667.14" label="" />
69 <point frame="57856" value="6131.38" label="" />
70 <point frame="84992" value="6021.28" label="" />
71 <point frame="85504" value="6117.33" label="" />
72 <point frame="86016" value="6378.78" label="" />
73 <point frame="86528" value="6236.34" label="" />
74 <point frame="87040" value="6517.15" label="" />
75 <point frame="87552" value="6337.55" label="" />
76 <point frame="88064" value="6453.63" label="" />
77 <point frame="88576" value="6345.03" label="" />
78 <point frame="89088" value="6445.87" label="" />
79 <point frame="89600" value="6286.36" label="" />
80 <point frame="90112" value="6240.12" label="" />
81 <point frame="90624" value="6414.77" label="" />
82 <point frame="91136" value="6541.36" label="" />
83 <point frame="91648" value="6181.47" label="" />
84 <point frame="92160" value="6055.27" label="" />
85 <point frame="92672" value="6190.43" label="" />
86 <point frame="93184" value="6355.06" label="" />
87 <point frame="93696" value="6113.15" label="" />
88 <point frame="94208" value="6154.23" label="" />
89 <point frame="94720" value="6268.98" label="" />
90 <point frame="95232" value="6110.25" label="" />
91 <point frame="95744" value="6143.01" label="" />
92 <point frame="96256" value="6220.78" label="" />
93 <point frame="96768" value="6240.79" label="" />
94 <point frame="97280" value="5937.51" label="" />
95 <point frame="97792" value="5806.91" label="" />
96 <point frame="98304" value="6196.3" label="" />
97 <point frame="98816" value="6082.98" label="" />
98 <point frame="99328" value="5885.61" label="" />
99 <point frame="99840" value="5735.53" label="" />
100 <point frame="100352" value="5965.07" label="" />
101 </dataset>
102 <derivation type="transform" source="0" model="2" channel="-1" domain="1" stepSize="512" blockSize="1024" windowType="3" transform="vamp:vamp-example-plugins:spectralcentroid:linearcentroid">
103 <transform
104 id="vamp:vamp-example-plugins:spectralcentroid:linearcentroid"
105 pluginVersion="2"
106 program=""
107 stepSize="512"
108 blockSize="1024"
109 windowType="hanning"
110 startTime="0.000000000"
111 duration="0.000000000"
112 sampleRate="0"/>
113 <plugin identifier="spectralcentroid" name="Spectral Centroid" description="Calculate the centroid frequency of the spectrum of the input signal" maker="Vamp SDK Example Plugins" version="2" copyright="Freely redistributable (BSD license)" />
114 </derivation>
115 <model id="4" name="MCLD-Mouthpeaks-15-bombastic_blasts_from_ggmi.flac: Amplitude Follower" sampleRate="44100" start="0" end="176128" type="sparse" dimensions="2" resolution="1024" notifyOnAdd="true" dataset="3" minimum="0" maximum="0.718209" units="V"/>
116 <dataset id="3" dimensions="2">
117 <point frame="0" value="0.452893" label="" />
118 <point frame="1024" value="0.503583" label="" />
119 <point frame="2048" value="0.470129" label="" />
120 <point frame="3072" value="0.463614" label="" />
121 <point frame="4096" value="0.625315" label="" />
122 <point frame="5120" value="0.70821" label="" />
123 <point frame="6144" value="0.617452" label="" />
124 <point frame="7168" value="0.501294" label="" />
125 <point frame="8192" value="0.457811" label="" />
126 <point frame="9216" value="0.596361" label="" />
127 <point frame="10240" value="0.718209" label="" />
128 <point frame="11264" value="0.67202" label="" />
129 <point frame="12288" value="0.47869" label="" />
130 <point frame="13312" value="0.44914" label="" />
131 <point frame="14336" value="0.625006" label="" />
132 <point frame="15360" value="0.583022" label="" />
133 <point frame="16384" value="0.00277777" label="" />
134 <point frame="17408" value="1.32345e-05" label="" />
135 <point frame="18432" value="6.30551e-08" label="" />
136 <point frame="19456" value="3.00422e-10" label="" />
137 <point frame="20480" value="1.43134e-12" label="" />
138 <point frame="21504" value="6.81955e-15" label="" />
139 <point frame="22528" value="3.24914e-17" label="" />
140 <point frame="23552" value="1.54803e-19" label="" />
141 <point frame="24576" value="7.3755e-22" label="" />
142 <point frame="25600" value="3.51401e-24" label="" />
143 <point frame="26624" value="1.67423e-26" label="" />
144 <point frame="27648" value="7.97677e-29" label="" />
145 <point frame="28672" value="3.80048e-31" label="" />
146 <point frame="29696" value="1.81072e-33" label="" />
147 <point frame="30720" value="8.62706e-36" label="" />
148 <point frame="31744" value="4.11031e-38" label="" />
149 <point frame="32768" value="1.95833e-40" label="" />
150 <point frame="33792" value="9.33265e-43" label="" />
151 <point frame="34816" value="4.2039e-45" label="" />
152 <point frame="35840" value="0" label="" />
153 <point frame="36864" value="0" label="" />
154 <point frame="37888" value="0" label="" />
155 <point frame="38912" value="0" label="" />
156 <point frame="39936" value="0" label="" />
157 <point frame="40960" value="0" label="" />
158 <point frame="41984" value="0" label="" />
159 <point frame="43008" value="0.499843" label="" />
160 <point frame="44032" value="0.552426" label="" />
161 <point frame="45056" value="0.535747" label="" />
162 <point frame="46080" value="0.520258" label="" />
163 <point frame="47104" value="0.551726" label="" />
164 <point frame="48128" value="0.554755" label="" />
165 <point frame="49152" value="0.554376" label="" />
166 <point frame="50176" value="0.568693" label="" />
167 <point frame="51200" value="0.562823" label="" />
168 <point frame="52224" value="0.587688" label="" />
169 <point frame="53248" value="0.556907" label="" />
170 <point frame="54272" value="0.563712" label="" />
171 <point frame="55296" value="0.559275" label="" />
172 <point frame="56320" value="0.558207" label="" />
173 <point frame="57344" value="0.518597" label="" />
174 <point frame="58368" value="0.0189318" label="" />
175 <point frame="59392" value="9.01995e-05" label="" />
176 <point frame="60416" value="4.2975e-07" label="" />
177 <point frame="61440" value="2.04752e-09" label="" />
178 <point frame="62464" value="9.75528e-12" label="" />
179 <point frame="63488" value="4.64785e-14" label="" />
180 <point frame="64512" value="2.21444e-16" label="" />
181 <point frame="65536" value="1.05506e-18" label="" />
182 <point frame="66560" value="5.02675e-21" label="" />
183 <point frame="67584" value="2.39496e-23" label="" />
184 <point frame="68608" value="1.14107e-25" label="" />
185 <point frame="69632" value="5.43654e-28" label="" />
186 <point frame="70656" value="2.59021e-30" label="" />
187 <point frame="71680" value="1.23409e-32" label="" />
188 <point frame="72704" value="5.87974e-35" label="" />
189 <point frame="73728" value="2.80137e-37" label="" />
190 <point frame="74752" value="1.3347e-39" label="" />
191 <point frame="75776" value="6.35909e-42" label="" />
192 <point frame="76800" value="3.08286e-44" label="" />
193 <point frame="77824" value="0" label="" />
194 <point frame="78848" value="0" label="" />
195 <point frame="79872" value="0" label="" />
196 <point frame="80896" value="0" label="" />
197 <point frame="81920" value="0" label="" />
198 <point frame="82944" value="0" label="" />
199 <point frame="83968" value="0" label="" />
200 <point frame="84992" value="0.401554" label="" />
201 <point frame="86016" value="0.544623" label="" />
202 <point frame="87040" value="0.578616" label="" />
203 <point frame="88064" value="0.611589" label="" />
204 <point frame="89088" value="0.601748" label="" />
205 <point frame="90112" value="0.612645" label="" />
206 <point frame="91136" value="0.612477" label="" />
207 <point frame="92160" value="0.62734" label="" />
208 <point frame="93184" value="0.620981" label="" />
209 <point frame="94208" value="0.610338" label="" />
210 <point frame="95232" value="0.600749" label="" />
211 <point frame="96256" value="0.628549" label="" />
212 <point frame="97280" value="0.633503" label="" />
213 <point frame="98304" value="0.622154" label="" />
214 <point frame="99328" value="0.621041" label="" />
215 <point frame="100352" value="0.124226" label="" />
216 <point frame="101376" value="0.00059187" label="" />
217 <point frame="102400" value="2.81993e-06" label="" />
218 <point frame="103424" value="1.34354e-08" label="" />
219 <point frame="104448" value="6.4012e-11" label="" />
220 <point frame="105472" value="3.04981e-13" label="" />
221 <point frame="106496" value="1.45307e-15" label="" />
222 <point frame="107520" value="6.92304e-18" label="" />
223 <point frame="108544" value="3.29844e-20" label="" />
224 <point frame="109568" value="1.57152e-22" label="" />
225 <point frame="110592" value="7.48743e-25" label="" />
226 <point frame="111616" value="3.56734e-27" label="" />
227 <point frame="112640" value="1.69964e-29" label="" />
228 <point frame="113664" value="8.09782e-32" label="" />
229 <point frame="114688" value="3.85816e-34" label="" />
230 <point frame="115712" value="1.8382e-36" label="" />
231 <point frame="116736" value="8.75798e-39" label="" />
232 <point frame="117760" value="4.17265e-41" label="" />
233 <point frame="118784" value="1.98984e-43" label="" />
234 <point frame="119808" value="1.4013e-45" label="" />
235 <point frame="120832" value="0" label="" />
236 <point frame="121856" value="0" label="" />
237 <point frame="122880" value="0" label="" />
238 <point frame="123904" value="0" label="" />
239 <point frame="124928" value="0" label="" />
240 <point frame="125952" value="0" label="" />
241 <point frame="126976" value="0" label="" />
242 <point frame="128000" value="0" label="" />
243 <point frame="129024" value="0" label="" />
244 <point frame="130048" value="0" label="" />
245 <point frame="131072" value="0" label="" />
246 <point frame="132096" value="0" label="" />
247 <point frame="133120" value="0" label="" />
248 <point frame="134144" value="0" label="" />
249 <point frame="135168" value="0" label="" />
250 <point frame="136192" value="0" label="" />
251 <point frame="137216" value="0" label="" />
252 <point frame="138240" value="0" label="" />
253 <point frame="139264" value="0" label="" />
254 <point frame="140288" value="0" label="" />
255 <point frame="141312" value="0" label="" />
256 <point frame="142336" value="0" label="" />
257 <point frame="143360" value="0" label="" />
258 <point frame="144384" value="0" label="" />
259 <point frame="145408" value="0" label="" />
260 <point frame="146432" value="0" label="" />
261 <point frame="147456" value="0" label="" />
262 <point frame="148480" value="0" label="" />
263 <point frame="149504" value="0" label="" />
264 <point frame="150528" value="0" label="" />
265 <point frame="151552" value="0" label="" />
266 <point frame="152576" value="0" label="" />
267 <point frame="153600" value="0" label="" />
268 <point frame="154624" value="0" label="" />
269 <point frame="155648" value="0" label="" />
270 <point frame="156672" value="0" label="" />
271 <point frame="157696" value="0" label="" />
272 <point frame="158720" value="0" label="" />
273 <point frame="159744" value="0" label="" />
274 <point frame="160768" value="0" label="" />
275 <point frame="161792" value="0" label="" />
276 <point frame="162816" value="0" label="" />
277 <point frame="163840" value="0" label="" />
278 <point frame="164864" value="0" label="" />
279 <point frame="165888" value="0" label="" />
280 <point frame="166912" value="0" label="" />
281 <point frame="167936" value="0" label="" />
282 <point frame="168960" value="0" label="" />
283 <point frame="169984" value="0" label="" />
284 <point frame="171008" value="0" label="" />
285 <point frame="172032" value="0" label="" />
286 <point frame="173056" value="0" label="" />
287 <point frame="174080" value="0" label="" />
288 <point frame="175104" value="0" label="" />
289 <point frame="176128" value="0" label="" />
290 </dataset>
291 <derivation type="transform" source="0" model="4" channel="-1" domain="0" stepSize="1024" blockSize="1024" windowType="3" transform="vamp:vamp-example-plugins:amplitudefollower:amplitude">
292 <transform
293 id="vamp:vamp-example-plugins:amplitudefollower:amplitude"
294 pluginVersion="1"
295 program=""
296 stepSize="1024"
297 blockSize="1024"
298 windowType="hanning"
299 startTime="0.000000000"
300 duration="0.000000000"
301 sampleRate="0">
302 <parameter name="attack" value="0.01"/>
303 <parameter name="release" value="0.01"/>
304 </transform>
305 <plugin identifier="amplitudefollower" name="Amplitude Follower" description="Track the amplitude of the audio signal" maker="Vamp SDK Example Plugins" version="1" copyright="Code copyright 2006 Dan Stowell; method from SuperCollider. Freely redistributable (BSD license)" param-attack="0.01" param-release="0.01" />
306 </derivation>
307 <layer id="5" type="timeruler" name="Ruler" model="0" colourName="Black" colour="#000000" darkBackground="false" />
308 <layer id="6" type="waveform" name="Waveform" model="0" gain="1" showMeans="1" greyscale="1" channelMode="0" channel="-1" scale="0" aggressive="0" autoNormalize="0" colourName="Black" colour="#000000" darkBackground="false" />
309 <layer id="7" type="timevalues" name="Amplitude Follower" model="4" colourMap="0" plotStyle="1" verticalScale="0" scaleMinimum="0" scaleMaximum="0" drawDivisions="true" derivative="false" colourName="Purple" colour="#c832ff" darkBackground="false" />
310 <layer id="8" type="timeruler" name="Ruler &lt;2&gt;" model="0" colourName="Black" colour="#000000" darkBackground="false" />
311 <layer id="9" type="spectrogram" name="Spectrogram" model="0" channel="-1" windowSize="1024" windowHopLevel="2" gain="1" threshold="0" minFrequency="10" maxFrequency="0" colourScale="3" colourScheme="0" colourRotation="0" frequencyScale="0" binDisplay="0" normalizeColumns="false" normalizeVisibleArea="false"/>
312 <layer id="10" type="timevalues" name="Linear Frequency Centroid" model="2" colourMap="0" plotStyle="4" verticalScale="1" scaleMinimum="0" scaleMaximum="0" drawDivisions="true" derivative="false" colourName="Orange" colour="#ff9632" darkBackground="false" />
313 </data>
314 <display>
315 <window width="1244" height="810"/>
316 <view centre="70705" zoom="360" followPan="1" followZoom="1" tracking="page" type="pane" centreLineVisible="1" height="379" >
317 <layer id="5" type="timeruler" name="Ruler" model="0" visible="true"/>
318 <layer id="6" type="waveform" name="Waveform" model="0" visible="true"/>
319 <layer id="9" type="spectrogram" name="Spectrogram" model="0" visible="true"/>
320 </view>
321 <view centre="70705" zoom="360" followPan="1" followZoom="1" tracking="page" type="pane" centreLineVisible="1" height="296" >
322 <layer id="8" type="timeruler" name="Ruler &lt;2&gt;" model="0" visible="true"/>
323 <layer id="7" type="timevalues" name="Amplitude Follower" model="4" visible="true"/>
324 <layer id="10" type="timevalues" name="Linear Frequency Centroid" model="2" visible="true"/>
325 </view>
326 </display>
327 <selections >
328 </selections>
329 </sv>