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