Code: Select all
<?xml version="1.0" standalone="no" ?>
<!DOCTYPE project PUBLIC "-//audacityproject-1.3.0//DTD//EN" "http://audacityteam.org/xml/audacityproject-1.3.0.dtd" >
<project xmlns="http://audacityteam.org/xml/" projname="ab_data" version="1.3.0" audacityversion="2.0.7-alpha-Oct 28 2014" sel0="0.3394181403" sel1="0.6702795208" vpos="0" h="0.0000000000" zoom="350.6000000000" rate="44100.0" snapto="off" selectionformat="hh:mm:ss + hundredths">
<tags/>
<wavetrack name="Audio Track" channel="2" linked="0" mute="0" solo="0" height="150" minimized="0" isSelected="1" rate="44100" gain="1.0" pan="0.0" waveTrackDisplay="0">
<wavetrack_display_type is="Waveform Display"/>
<waveclip offset="0.00000000">
<sequence maxsamples="262144" sampleformat="262159" numsamples="220500">
<waveblock start="0">
<simpleblockfile filename="e0000bd8.au" len="220500" min="-0.799729" max="0.799916" rms="0.319909"/>
</waveblock>
</sequence>
<envelope numpoints="0"/>
</waveclip>
</wavetrack>
</project>Note that the original element waveTrackDisplay="0" Is what does the real work, the new attribute wavetrack_display_type is only written not read.
Patch attached