~ubuntu-branches/ubuntu/hoary/kdemultimedia/hoary

« back to all changes in this revision

Viewing changes to arts/examples/instrument_simple_tri.arts

  • Committer: Bazaar Package Importer
  • Author(s): Martin Schulze
  • Date: 2003-01-22 15:00:51 UTC
  • Revision ID: james.westby@ubuntu.com-20030122150051-uihwkdoxf15mi1tn
Tags: upstream-2.2.2
ImportĀ upstreamĀ versionĀ 2.2.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
name=instrument_simple_tri
 
2
module=Arts::Synth_FREQUENCY
 
3
{
 
4
  id=0
 
5
  x=0
 
6
  y=2
 
7
  port=frequency
 
8
  {
 
9
    id=1
 
10
    connect_to=36
 
11
  }
 
12
  port=pos
 
13
  {
 
14
    id=2
 
15
    connect_to=13
 
16
  }
 
17
}
 
18
module=Arts::Synth_ENVELOPE_ADSR
 
19
{
 
20
  id=3
 
21
  x=4
 
22
  y=9
 
23
  port=active
 
24
  {
 
25
    id=4
 
26
    connect_to=38
 
27
  }
 
28
  port=invalue
 
29
  {
 
30
    id=5
 
31
    connect_to=46
 
32
  }
 
33
  port=attack
 
34
  {
 
35
    id=6
 
36
    audio_data=0.03000
 
37
  }
 
38
  port=decay
 
39
  {
 
40
    id=7
 
41
    audio_data=0.10000
 
42
  }
 
43
  port=sustain
 
44
  {
 
45
    id=8
 
46
    audio_data=0.60000
 
47
  }
 
48
  port=release
 
49
  {
 
50
    id=9
 
51
    audio_data=0.20000
 
52
  }
 
53
  port=outvalue
 
54
  {
 
55
    id=10
 
56
    connect_to=33
 
57
    connect_to=34
 
58
  }
 
59
  port=done
 
60
  {
 
61
    id=11
 
62
    connect_to=35
 
63
  }
 
64
}
 
65
module=Arts::Synth_WAVE_TRI
 
66
{
 
67
  id=12
 
68
  x=1
 
69
  y=3
 
70
  port=pos
 
71
  {
 
72
    id=13
 
73
    connect_to=2
 
74
  }
 
75
  port=outvalue
 
76
  {
 
77
    id=14
 
78
    connect_to=26
 
79
  }
 
80
}
 
81
module=Arts::Synth_SHELVE_CUTOFF
 
82
{
 
83
  id=15
 
84
  x=6
 
85
  y=6
 
86
  port=invalue
 
87
  {
 
88
    id=16
 
89
    connect_to=28
 
90
  }
 
91
  port=frequency
 
92
  {
 
93
    id=17
 
94
    audio_data=4000.00000
 
95
  }
 
96
  port=outvalue
 
97
  {
 
98
    id=18
 
99
    connect_to=44
 
100
  }
 
101
}
 
102
module=Arts::Synth_WAVE_TRI
 
103
{
 
104
  id=19
 
105
  x=9
 
106
  y=3
 
107
  port=pos
 
108
  {
 
109
    id=20
 
110
    connect_to=24
 
111
  }
 
112
  port=outvalue
 
113
  {
 
114
    id=21
 
115
    connect_to=27
 
116
  }
 
117
}
 
118
module=Arts::Synth_FREQUENCY
 
119
{
 
120
  id=22
 
121
  x=8
 
122
  y=2
 
123
  port=frequency
 
124
  {
 
125
    id=23
 
126
    connect_to=32
 
127
  }
 
128
  port=pos
 
129
  {
 
130
    id=24
 
131
    connect_to=20
 
132
  }
 
133
}
 
134
module=Arts::Synth_ADD
 
135
{
 
136
  id=25
 
137
  x=5
 
138
  y=5
 
139
  port=invalue1
 
140
  {
 
141
    id=26
 
142
    connect_to=14
 
143
  }
 
144
  port=invalue2
 
145
  {
 
146
    id=27
 
147
    connect_to=21
 
148
  }
 
149
  port=outvalue
 
150
  {
 
151
    id=28
 
152
    connect_to=16
 
153
  }
 
154
}
 
155
module=Arts::Synth_MUL
 
156
{
 
157
  id=29
 
158
  x=7
 
159
  y=1
 
160
  port=invalue1
 
161
  {
 
162
    id=30
 
163
    connect_to=36
 
164
  }
 
165
  port=invalue2
 
166
  {
 
167
    id=31
 
168
    audio_data=1.01000
 
169
  }
 
170
  port=outvalue
 
171
  {
 
172
    id=32
 
173
    connect_to=23
 
174
  }
 
175
}
 
176
module=Arts::Synth_MUL
 
177
{
 
178
  id=43
 
179
  x=7
 
180
  y=7
 
181
  port=invalue1
 
182
  {
 
183
    id=44
 
184
    connect_to=18
 
185
  }
 
186
  port=invalue2
 
187
  {
 
188
    id=45
 
189
    audio_data=0.50000
 
190
  }
 
191
  port=outvalue
 
192
  {
 
193
    id=46
 
194
    connect_to=5
 
195
  }
 
196
}
 
197
structureport
 
198
{
 
199
  name=left
 
200
  x=1
 
201
  y=12
 
202
  position=0
 
203
  type
 
204
  {
 
205
    direction=input
 
206
    datatype=audio
 
207
    conntype=stream
 
208
  }
 
209
  data
 
210
  {
 
211
    id=33
 
212
    connect_to=10
 
213
  }
 
214
}
 
215
structureport
 
216
{
 
217
  name=right
 
218
  x=3
 
219
  y=12
 
220
  position=1
 
221
  type
 
222
  {
 
223
    direction=input
 
224
    datatype=audio
 
225
    conntype=stream
 
226
  }
 
227
  data
 
228
  {
 
229
    id=34
 
230
    connect_to=10
 
231
  }
 
232
}
 
233
structureport
 
234
{
 
235
  name=done
 
236
  x=5
 
237
  y=12
 
238
  position=2
 
239
  type
 
240
  {
 
241
    direction=input
 
242
    datatype=audio
 
243
    conntype=stream
 
244
  }
 
245
  data
 
246
  {
 
247
    id=35
 
248
    connect_to=11
 
249
  }
 
250
}
 
251
structureport
 
252
{
 
253
  name=frequency
 
254
  x=1
 
255
  y=0
 
256
  position=0
 
257
  type
 
258
  {
 
259
    direction=output
 
260
    datatype=audio
 
261
    conntype=stream
 
262
  }
 
263
  data
 
264
  {
 
265
    id=36
 
266
    connect_to=1
 
267
    connect_to=30
 
268
  }
 
269
}
 
270
structureport
 
271
{
 
272
  name=velocity
 
273
  x=3
 
274
  y=0
 
275
  position=1
 
276
  type
 
277
  {
 
278
    direction=output
 
279
    datatype=audio
 
280
    conntype=stream
 
281
  }
 
282
  data
 
283
  {
 
284
    id=37
 
285
  }
 
286
}
 
287
structureport
 
288
{
 
289
  name=pressed
 
290
  x=5
 
291
  y=0
 
292
  position=2
 
293
  type
 
294
  {
 
295
    direction=output
 
296
    datatype=audio
 
297
    conntype=stream
 
298
  }
 
299
  data
 
300
  {
 
301
    id=38
 
302
    connect_to=4
 
303
  }
 
304
}