<?xml version="1.0" encoding="UTF-8"?>

<buzztrax
  xmlns="http://www.buzztrax.org/"
  xmlns:xsd="http://www.w3.org/2001/XMLSchema-instance"
  xsd:noNamespaceSchemaLocation="buzztrax.xsd">

  <meta>
    <info>this song misses external files</info>
    <name>broken 2</name>
    <genre>trash</genre>
    <create-dts>2005-09-20T22:10:56Z</create-dts>
    <change-dts>2005-09-20T22:10:56Z</change-dts>
    <bpm>100</bpm>
    <tpb>8</tpb>
    <bars>16</bars>
  </meta>
  
  <setup>
    <machines>
      <machine type="sink" id="audio_sink">
        <properties>
          <property key="xpos" value="0.7"/>
          <property key="ypos" value="0.5"/>
        </properties>
      </machine>
      
      <machine type="source" id="missing1" plugin-name="missingsrc" voices="0">
        <patterns>
          <pattern name="melo" length="3">
            <tick time="0">
              <voicedata name="freq" voice="0" value="440,0"/>
              <voicedata name="volume" voice="0" value="1,0"/>
            </tick>
          </pattern>
        </patterns>
      </machine>
    </machines>
    
    <wires>
      <wire src="missing1" dst="audio_sink" gain="1.0"/>
    </wires>
  </setup>
  
  <sequence length="16" tracks="1">
    <labels>
      <label time="0" name="start"/>
      <!--label time="1" name="end"/-->
    </labels>
    <tracks>
      <track index="0" machine="missing1">
        <position time="0" pattern="melo"/>
      </track>
    </tracks>
  </sequence>

  <wavetable>
    <!-- loading file from harddisk -->
    <wave index="1" name="909base" uri="file:///data/samples/basedrums/909base.wav"/>
    <!-- loading file from song archive -->
    <wave index="2" name="dreampad" uri="file://!/wavetable/dreampad.wav"/>
  </wavetable>

</buzztrax>
