annotate templates/Waveform and Melodic Range Spectrogram.svt @ 1354:ae68ebb5fbe8 3.0-integration

Fixes to mp3 decode in subrepo. Filter out Xing/LAME info frames, rather than letting them go to the mp3 decoder as if they were audio frames, fixing the 1152-sample zero pad at start of some decoded mp3 files (distinct from decoder delay). Add MAD_BUFFER_GUARD padding at end of mp3 buffer, in order to ensure last frame is decoded successfully (otherwise the decoded audio is truncated). Both gleaned from madplay source code.
author Chris Cannam
date Thu, 24 Nov 2016 17:10:40 +0000
parents 45bfc5962c33
children
rev   line source
Chris@430 1 <?xml version="1.0" encoding="UTF-8"?>
Chris@430 2 <!DOCTYPE sonic-visualiser>
Chris@430 3 <sv>
Chris@430 4 <data>
Chris@430 5 <model id="18" name="placeholder" sampleRate="44100" type="wavefile" file=":samples/silent.wav" mainModel="true"/>
Chris@430 6 <playparameters mute="false" pan="0" gain="1" pluginId="" model="18"/>
Chris@430 7 <layer id="19" type="waveform" name="Waveform" model="18" gain="1" showMeans="1" greyscale="0" channelMode="0" channel="-1" scale="0" aggressive="0" autoNormalize="0" colourName="Bright Blue" colour="#1e96ff" darkBackground="true" />
Chris@430 8 <layer id="20" type="timeruler" name="Ruler" model="18" colourName="Bright Orange" colour="#ffbc50" darkBackground="true" />
Chris@430 9 <layer id="21" type="timeruler" name="Ruler &lt;2&gt;" model="18" colourName="Bright Orange" colour="#ffbc50" darkBackground="true" />
Chris@430 10 <layer id="22" type="spectrogram" name="Spectrogram" model="18" channel="-1" windowSize="8192" windowHopLevel="4" gain="1" threshold="0" minFrequency="40" maxFrequency="1500" colourScale="0" colourScheme="1" colourRotation="0" frequencyScale="1" binDisplay="0" normalizeColumns="false" normalizeVisibleArea="false"/>
Chris@430 11 </data>
Chris@430 12 <display>
Chris@430 13 <window width="1147" height="686"/>
Chris@430 14 <view centre="0" zoom="1024" followPan="1" followZoom="1" tracking="page" type="pane" centreLineVisible="1" height="197" >
Chris@430 15 <layer id="20" type="timeruler" name="Ruler" model="18" visible="true"/>
Chris@430 16 <layer id="19" type="waveform" name="Waveform" model="18" visible="true"/>
Chris@430 17 </view>
Chris@430 18 <view centre="0" zoom="1024" followPan="1" followZoom="1" tracking="page" type="pane" centreLineVisible="1" height="333" >
Chris@430 19 <layer id="21" type="timeruler" name="Ruler &lt;2&gt;" model="18" visible="true"/>
Chris@430 20 <layer id="22" type="spectrogram" name="Spectrogram" model="18" visible="true"/>
Chris@430 21 </view>
Chris@430 22 </display>
Chris@430 23 <selections >
Chris@430 24 </selections>
Chris@430 25 </sv>