<?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>two panned buzz generator</info>
    <name>buzz 9</name>
    <genre>demo</genre>
    <create-dts>2005-09-20T22:10:56Z</create-dts>
    <change-dts>2005-09-20T22:10:56Z</change-dts>
    <bpm>120</bpm>
    <tpb>4</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.0" />
        </properties>
      </machine>
      
      <machine type="source" id="beeps" plugin-name="bml-CyanPhase-DTMF-1" voices="0">
        <properties>
         <property key="xpos" value="-0.7" />
         <property key="ypos" value="0.2" />
        </properties>
        <patterns>
          <pattern name="beeps" length="16">
            <tick time="0">
              <globaldata name="Dial-Number" value="1"/>
              <globaldata name="Sustain" value="30"/>
              <globaldata name="Volume" value="50"/>
            </tick>
            <tick time="4">
              <globaldata name="Dial-Number" value="2"/>
            </tick>
            <tick time="8">
              <globaldata name="Dial-Number" value="3"/>
            </tick>
          </pattern>
        </patterns>
      </machine>

      <machine type="source" id="beats" plugin-name="bml-FSM-Kick" voices="1">
        <properties>
          <property key="xpos" value="-0.7"/>
          <property key="ypos" value="-0.5"/>
        </properties>
        <patterns>
          <pattern name="beats" length="16">
            <tick time="0"><voicedata name="Trigger" voice="0" value="60"/></tick>
            <tick time="4"><voicedata name="Trigger" voice="0" value="40"/></tick>
            <tick time="8"><voicedata name="Trigger" voice="0" value="100"/></tick>
            <tick time="12"><voicedata name="Trigger" voice="0" value="100"/></tick>
            <tick time="14"><voicedata name="Trigger" voice="0" value="60"/></tick>
          </pattern>
        </patterns>
      </machine>

    </machines>
    
    <wires>
      <wire src="beeps" dst="audio_sink" gain="1.0" panorama="-0.5"/>
      <wire src="beats" dst="audio_sink" gain="1.0" panorama="0.5"/>
    </wires>    
  </setup>
    
  <sequence loop="off" length="64" tracks="2">
    <labels>
      <label time="0" name="start"/>
      <label time="63" name="end"/>
    </labels>
    <tracks>
      <track index="0" machine="beeps">
        <position time="0" pattern="beeps"/>
        <position time="32" pattern="beeps"/>
      </track>
      <track index="1" machine="beats">
        <position time="0" pattern="beats"/>
        <position time="16" pattern="beats"/>
        <position time="32" pattern="beats"/>
        <position time="48" pattern="beats"/>
      </track>
    </tracks>
  </sequence>

</buzztrax>
