File: simple5.xml

package info (click to toggle)
buzztrax 0.10.2-10
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 19,984 kB
  • sloc: ansic: 109,707; sh: 12,875; cpp: 10,882; xml: 6,081; makefile: 508; javascript: 338; asm: 116
file content (147 lines) | stat: -rw-r--r-- 5,406 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
<?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>one sine-amp combi playing a fast pattern and one sine playing a slow one</info>
    <name>simple 5</name>
    <genre>dark-wave</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.5"/>
        </properties>
      </machine>
      
      <machine type="processor" id="amp1" plugin-name="volume">
        <properties>
          <property key="xpos" value="0.0"/>
          <property key="ypos" value="-0.3"/>
        </properties>
        <patterns>
          <pattern name="fade" length="16">
            <tick time= "0"><globaldata name="volume" value="1.0"/></tick>
            <tick time= "1"><globaldata name="volume" value="0.75"/></tick>
            <tick time= "2"><globaldata name="volume" value="0.5"/></tick>
            <tick time= "3"><globaldata name="volume" value="0.25"/></tick>
            <tick time= "4"><globaldata name="volume" value="1.0"/></tick>
            <tick time= "5"><globaldata name="volume" value="0.75"/></tick>
            <tick time= "6"><globaldata name="volume" value="0.5"/></tick>
            <tick time= "7"><globaldata name="volume" value="0.25"/></tick>
            <tick time= "8"><globaldata name="volume" value="1.0"/></tick>
            <tick time= "9"><globaldata name="volume" value="0.75"/></tick>
            <tick time="10"><globaldata name="volume" value="0.5"/></tick>
            <tick time="11"><globaldata name="volume" value="0.375"/></tick>
            <tick time="12"><globaldata name="volume" value="0.25"/></tick>
            <tick time="13"><globaldata name="volume" value="0.125"/></tick>
            <tick time="14"><globaldata name="volume" value="0.0"/></tick>
          </pattern>
        </patterns>
      </machine>

      <machine type="source" id="sine1" plugin-name="audiotestsrc" voices="0">
        <globaldata name="volume" value="1.0"/>
        <properties>
          <property key="xpos" value="-0.7"/>
          <property key="ypos" value="-0.5"/>
        </properties>
        <patterns>
          <pattern name="beeps_up" length="16">
            <tick time="0">
              <globaldata name="freq" value="440,0"/>
              <globaldata name="volume" value="1,0"/>
            </tick>
            <tick time="4">
              <globaldata name="freq" value="880,0"/>
              <globaldata name="volume" value="1,0"/>
            </tick>
            <tick time="8">
              <globaldata name="freq" value="1760,0"/>
              <globaldata name="volume" value="1,0"/>
            </tick>
          </pattern>
          <pattern name="beeps_down" length="16">
            <tick time="0">
              <globaldata name="freq" value="1760.0"/>
              <globaldata name="volume" value="1.0"/>
            </tick>
            <tick time="4">
              <globaldata name="freq" value="880.0"/>
              <globaldata name="volume" value="1.0"/>
            </tick>
            <tick time="8">
              <globaldata name="freq" value="440.0"/>
              <globaldata name="volume" value="1.0"/>
            </tick>
          </pattern>
        </patterns>
      </machine>

      <machine type="source" id="sine2" plugin-name="audiotestsrc" voices="0">
        <globaldata name="volume" value="1.0"/>
        <properties>
          <property key="xpos" value="-0.7"/>
          <property key="ypos" value="0.0"/>
        </properties>
        <patterns>
          <pattern name="beeps1" length="1">
            <tick time="0">
              <globaldata name="freq" value="660,0"/>
              <globaldata name="volume" value="1,0"/>
            </tick>
          </pattern>
          <pattern name="beeps2" length="1">
            <tick time="0">
              <globaldata name="freq" value="1320,0"/>
              <globaldata name="volume" value="1,0"/>
            </tick>
          </pattern>
        </patterns>
      </machine>
    </machines>
    
    <wires>
      <wire src="sine1" dst="amp1" gain="1.5"/>
      <wire src="sine2" dst="audio_sink" gain="1.0"/>
      <wire src="amp1" dst="audio_sink" gain="1.0" panorama="-0.5"/>
    </wires>
  </setup>

  <sequence length="64" tracks="3">
    <labels>
      <label time="0" name="start"/>
      <label time="63" name="end"/>
    </labels>
    <tracks>
      <track index="0" machine="sine1">
        <position time="0" pattern="beeps_up"/>
        <position time="16" pattern="beeps_down"/>
        <position time="32" pattern="beeps_up"/>
        <position time="48" pattern="beeps_down"/>
      </track>
      <track index="1" machine="amp1">
        <position time="0" pattern="fade"/>
        <position time="16" pattern="fade"/>
        <position time="32" pattern="fade"/>
        <position time="48" pattern="fade"/>
      </track>
      <track index="2" machine="sine2">
        <position time="0" pattern="beeps1"/>
        <position time="32" pattern="beeps2"/>
      </track>
    </tracks>
  </sequence>

</buzztrax>