<?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>a three voice melody</info>
    <name>combi 1</name>
    <genre>chip-music</genre>
    <create-dts>2006-01-12T22:10:56Z</create-dts>
    <change-dts>2006-01-12T22: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="beep1" plugin-name="simsyn" voices="0">
        <globaldata name="volume" value="0.7"/>
        <properties>
          <property key="xpos" value="-0.7"/>
          <property key="ypos" value="-0.8"/>
        </properties>
        <patterns>
          <pattern name="C-3" length="32">
            <tick time="0">
              <globaldata name="note" value="c-3"/>
              <globaldata name="volume" value="1.0"/>
              <globaldata name="decay" value="0.05"/>
              <globaldata name="resonance" value="7.0"/>
              <globaldata name="wave" value="3"/>
            </tick>
            <tick time="2"><globaldata name="note" value="c-4"/></tick>
            <tick time="4"><globaldata name="note" value="c-3"/></tick>
            <tick time="6"><globaldata name="note" value="a#3"/></tick>
            <tick time="8"><globaldata name="note" value="c-3"/></tick>
            <tick time="10"><globaldata name="note" value="g#3"/></tick>
            <tick time="12"><globaldata name="note" value="c-3"/></tick>
            <tick time="14"><globaldata name="note" value="g-3"/></tick>
            <tick time="16"><globaldata name="note" value="c-3"/></tick>
            <tick time="18"><globaldata name="note" value="f-3"/></tick>
            <tick time="20"><globaldata name="note" value="c-3"/></tick>
            <tick time="22"><globaldata name="note" value="g-3"/></tick>
            <tick time="24"><globaldata name="note" value="c-3"/></tick>
            <tick time="26"><globaldata name="note" value="g#3"/></tick>
            <tick time="28"><globaldata name="note" value="c-3"/></tick>
            <tick time="30"><globaldata name="note" value="a#3"/></tick>
          </pattern>
          <pattern name="D-3" length="32">
            <tick time="0">
              <globaldata name="note" value="d-3"/>
              <globaldata name="volume" value="1.0"/>
              <globaldata name="decay" value="0.05"/>
              <globaldata name="resonance" value="7.0"/>
              <globaldata name="wave" value="3"/>
            </tick>
            <tick time="2"><globaldata name="note" value="d-4"/></tick>
            <tick time="4"><globaldata name="note" value="d-3"/></tick>
            <tick time="6"><globaldata name="note" value="c-4"/></tick>
            <tick time="8"><globaldata name="note" value="d-3"/></tick>
            <tick time="10"><globaldata name="note" value="a#3"/></tick>
            <tick time="12"><globaldata name="note" value="d-3"/></tick>
            <tick time="14"><globaldata name="note" value="a-3"/></tick>
            <tick time="16"><globaldata name="note" value="d-3"/></tick>
            <tick time="18"><globaldata name="note" value="g-3"/></tick>
            <tick time="20"><globaldata name="note" value="d-3"/></tick>
            <tick time="22"><globaldata name="note" value="a-3"/></tick>
            <tick time="24"><globaldata name="note" value="d-3"/></tick>
            <tick time="26"><globaldata name="note" value="a#3"/></tick>
            <tick time="28"><globaldata name="note" value="d-3"/></tick>
            <tick time="30"><globaldata name="note" value="c-4"/></tick>
          </pattern>
        </patterns>
      </machine>

      <machine type="source" id="beep2" plugin-name="simsyn" voices="0">
        <globaldata name="volume" value="1.0"/>
        <properties>
          <property key="xpos" value="-0.7"/>
          <property key="ypos" value="-0.4"/>
        </properties>
        <patterns>
          <pattern name="C-1" length="16">
            <tick time="2">
              <globaldata name="note" value="c-1"/>
              <globaldata name="volume" value="0.15"/>
              <globaldata name="decay" value="0.3"/>
              <globaldata name="cut-off" value="0.8"/>
              <globaldata name="wave" value="2"/>
            </tick>
            <tick time="6"><globaldata name="note" value="c-1"/><globaldata name="cut-off" value="0.6"/></tick>
            <tick time="10"><globaldata name="note" value="c-1"/><globaldata name="cut-off" value="0.4"/></tick>
            <tick time="14"><globaldata name="note" value="c-1"/><globaldata name="cut-off" value="0.2"/></tick>
          </pattern>
          <pattern name="D-1" length="16">
            <tick time="2">
              <globaldata name="note" value="d-1"/>
              <globaldata name="volume" value="0.15"/>
              <globaldata name="decay" value="0.3"/>
              <globaldata name="cut-off" value="0.8"/>
              <globaldata name="wave" value="2"/>
            </tick>
            <tick time="6"><globaldata name="note" value="d-1"/><globaldata name="cut-off" value="0.6"/></tick>
            <tick time="10"><globaldata name="note" value="d-1"/><globaldata name="cut-off" value="0.4"/></tick>
            <tick time="14"><globaldata name="note" value="d-1"/><globaldata name="cut-off" value="0.2"/></tick>
          </pattern>
        </patterns>
      </machine>

      <machine type="processor" id="echo1" plugin-name="audiodelay" voices="0">
        <globaldata name="delaytime" value="25.0"/>
        <globaldata name="feedback" value="70.0"/>
        <globaldata name="drywet" value="50.0"/>
        <properties>
          <property key="xpos" value="0.0"/>
          <property key="ypos" value="-0.6"/>
        </properties>
      </machine>

      <machine type="source" id="beat" plugin-name="bml-FSM-Kick" voices="1">
        <properties>
          <property key="xpos" value="-0.7"/>
          <property key="ypos" value="0.0"/>
        </properties>
        <patterns>
          <pattern name="std" length="16">
            <tick time="0"><voicedata name="Trigger" voice="0" value="60"/></tick>
            <tick time="4"><voicedata name="Trigger" voice="0" value="60"/></tick>
            <tick time="8"><voicedata name="Trigger" voice="0" value="80"/></tick>
            <tick time="12"><voicedata name="Trigger" voice="0" value="80"/></tick>
          </pattern>
          <pattern name="off" 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>

      <machine type="source" id="snr" plugin-name="bml-ErsSnare" voices="1">
        <properties>
          <property key="xpos" value="-0.7"/>
          <property key="ypos" value="0.4"/>
        </properties>
        <patterns>
          <pattern name="beats" length="16">
            <tick time= "4"><voicedata name="Trig" voice="0" value="1"/></tick>
            <tick time="12"><voicedata name="Trig" voice="0" value="1"/></tick>
          </pattern>
        </patterns>
      </machine>

      <machine type="processor" id="pano1" plugin-name="audiopanorama" voices="0">
        <globaldata name="panorama" value="-1.0"/>
        <properties>
          <property key="xpos" value="0.0"/>
          <property key="ypos" value="0.4"/>
        </properties>
      </machine>

      <machine type="source" id="hh" plugin-name="bml-ErsHihat" voices="1">
        <properties>
          <property key="xpos" value="-0.7"/>
          <property key="ypos" value="0.8"/>
        </properties>
        <patterns>
          <pattern name="beats" length="16">
            <tick time= "2"><voicedata name="OhTrig" voice="0" value="1"/></tick>
            <tick time= "6"><voicedata name="ChTrig" voice="0" value="1"/></tick>
            <tick time="10"><voicedata name="ChTrig" voice="0" value="1"/></tick>
            <tick time="14"><voicedata name="ChTrig" voice="0" value="1"/></tick>
          </pattern>
        </patterns>
      </machine>

      <machine type="processor" id="pano2" plugin-name="audiopanorama" voices="0">
        <globaldata name="panorama" value="1.0"/>
        <properties>
          <property key="xpos" value="0.0"/>
          <property key="ypos" value="0.8"/>
        </properties>
      </machine>
    </machines>

    <wires>
      <wire src="beep1" dst="echo1" gain="1.0"/>
      <wire src="echo1" dst="audio_sink" gain="1.0"/>
      <wire src="beep2" dst="audio_sink" gain="1.0" panorama="-0.5"/>
      <wire src="beat" dst="audio_sink" gain="1.0" panorama="0.0"/>
      <wire src="snr" dst="pano1" gain="1.0"/>
      <wire src="pano1" dst="audio_sink" gain="1.0"/>
      <wire src="hh" dst="pano2" gain="1.0"/>
      <wire src="pano2" dst="audio_sink" gain="1.0"/>
    </wires>
  </setup>

  <sequence loop="off" length="160" tracks="7">
    <labels>
      <label time="0" name="start"/>
      <label time="128" name="outro"/>
      <label time="156" name="end"/>
    </labels>
    <tracks>
      <track index="0" machine="beep1">
        <position time="0" pattern="C-3"/>
        <position time="32" pattern="C-3"/>
        <position time="64" pattern="D-3"/>
        <position time="96" pattern="D-3"/>
      </track>
      <track index="1" machine="beep2">
        <position time="0" pattern="C-1"/>
        <position time="16" pattern="C-1"/>
        <position time="32" pattern="C-1"/>
        <position time="48" pattern="C-1"/>
        <position time="64" pattern="D-1"/>
        <position time="80" pattern="D-1"/>
        <position time="96" pattern="D-1"/>
        <position time="112" pattern="D-1"/>
      </track>
      <track index="2" machine="echo1"/>
      <track index="3" machine="beat">
        <position time="0" pattern="std"/>
        <position time="16" pattern="std"/>
        <position time="32" pattern="std"/>
        <position time="48" pattern="off"/>
        <position time="64" pattern="std"/>
        <position time="80" pattern="std"/>
        <position time="96" pattern="std"/>
        <position time="112" pattern="off"/>
        <position time="128" pattern="std"/>
        <position time="144" pattern="std"/>
      </track>
      <track index="4" machine="snr">
        <position time="0" pattern="beats"/>
        <position time="16" pattern="beats"/>
        <position time="32" pattern="beats"/>
        <position time="64" pattern="beats"/>
        <position time="80" pattern="beats"/>
        <position time="96" pattern="beats"/>
        <position time="128" pattern="beats"/>
        <position time="144" pattern="beats"/>
      </track>
      <track index="5" machine="hh">
        <position time="32" pattern="beats"/>
        <position time="48" pattern="beats"/>
        <position time="64" pattern="beats"/>
        <position time="80" pattern="beats"/>
        <position time="96" pattern="beats"/>
        <position time="112" pattern="beats"/>
        <position time="128" pattern="beats"/>
        <position time="144" pattern="beats"/>
      </track>
      <track index="6" machine="audio_sink"/>
    </tracks>
  </sequence>

</buzztrax>
