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

« back to all changes in this revision

Viewing changes to arts/examples/instrument_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_tri
 
2
module=Arts::Synth_FREQUENCY
 
3
{
 
4
  id=0
 
5
  x=1
 
6
  y=2
 
7
  port=frequency
 
8
  {
 
9
    id=1
 
10
    connect_to=44
 
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=3
 
22
  y=10
 
23
  port=active
 
24
  {
 
25
    id=4
 
26
    connect_to=46
 
27
  }
 
28
  port=invalue
 
29
  {
 
30
    id=5
 
31
    connect_to=54
 
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=41
 
57
    connect_to=42
 
58
  }
 
59
  port=done
 
60
  {
 
61
    id=11
 
62
    connect_to=43
 
63
  }
 
64
}
 
65
module=Arts::Synth_WAVE_TRI
 
66
{
 
67
  id=12
 
68
  x=2
 
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=7
 
86
  port=invalue
 
87
  {
 
88
    id=16
 
89
    connect_to=28
 
90
  }
 
91
  port=frequency
 
92
  {
 
93
    id=17
 
94
    connect_to=36
 
95
  }
 
96
  port=outvalue
 
97
  {
 
98
    id=18
 
99
    connect_to=53
 
100
  }
 
101
}
 
102
module=Arts::Synth_WAVE_TRI
 
103
{
 
104
  id=19
 
105
  x=9
 
106
  y=4
 
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=3
 
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=6
 
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=44
 
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=33
 
179
  x=0
 
180
  y=7
 
181
  port=invalue1
 
182
  {
 
183
    id=34
 
184
    connect_to=44
 
185
  }
 
186
  port=invalue2
 
187
  {
 
188
    id=35
 
189
    connect_to=40
 
190
  }
 
191
  port=outvalue
 
192
  {
 
193
    id=36
 
194
    connect_to=17
 
195
  }
 
196
}
 
197
module=Arts::Synth_MUL
 
198
{
 
199
  id=37
 
200
  x=1
 
201
  y=5
 
202
  port=invalue1
 
203
  {
 
204
    id=38
 
205
    audio_data=6.00000
 
206
  }
 
207
  port=invalue2
 
208
  {
 
209
    id=39
 
210
    connect_to=45
 
211
  }
 
212
  port=outvalue
 
213
  {
 
214
    id=40
 
215
    connect_to=35
 
216
  }
 
217
}
 
218
module=Arts::Synth_MUL
 
219
{
 
220
  id=51
 
221
  x=6
 
222
  y=8
 
223
  port=invalue1
 
224
  {
 
225
    id=52
 
226
    audio_data=0.50000
 
227
  }
 
228
  port=invalue2
 
229
  {
 
230
    id=53
 
231
    connect_to=18
 
232
  }
 
233
  port=outvalue
 
234
  {
 
235
    id=54
 
236
    connect_to=5
 
237
  }
 
238
}
 
239
structureport
 
240
{
 
241
  name=left
 
242
  x=2
 
243
  y=12
 
244
  position=0
 
245
  type
 
246
  {
 
247
    direction=input
 
248
    datatype=audio
 
249
    conntype=stream
 
250
  }
 
251
  data
 
252
  {
 
253
    id=41
 
254
    connect_to=10
 
255
  }
 
256
}
 
257
structureport
 
258
{
 
259
  name=right
 
260
  x=4
 
261
  y=12
 
262
  position=1
 
263
  type
 
264
  {
 
265
    direction=input
 
266
    datatype=audio
 
267
    conntype=stream
 
268
  }
 
269
  data
 
270
  {
 
271
    id=42
 
272
    connect_to=10
 
273
  }
 
274
}
 
275
structureport
 
276
{
 
277
  name=done
 
278
  x=6
 
279
  y=12
 
280
  position=2
 
281
  type
 
282
  {
 
283
    direction=input
 
284
    datatype=audio
 
285
    conntype=stream
 
286
  }
 
287
  data
 
288
  {
 
289
    id=43
 
290
    connect_to=11
 
291
  }
 
292
}
 
293
structureport
 
294
{
 
295
  name=frequency
 
296
  x=2
 
297
  y=0
 
298
  position=0
 
299
  type
 
300
  {
 
301
    direction=output
 
302
    datatype=audio
 
303
    conntype=stream
 
304
  }
 
305
  data
 
306
  {
 
307
    id=44
 
308
    connect_to=1
 
309
    connect_to=30
 
310
    connect_to=34
 
311
  }
 
312
}
 
313
structureport
 
314
{
 
315
  name=velocity
 
316
  x=4
 
317
  y=0
 
318
  position=1
 
319
  type
 
320
  {
 
321
    direction=output
 
322
    datatype=audio
 
323
    conntype=stream
 
324
  }
 
325
  data
 
326
  {
 
327
    id=45
 
328
    connect_to=39
 
329
  }
 
330
}
 
331
structureport
 
332
{
 
333
  name=pressed
 
334
  x=6
 
335
  y=0
 
336
  position=2
 
337
  type
 
338
  {
 
339
    direction=output
 
340
    datatype=audio
 
341
    conntype=stream
 
342
  }
 
343
  data
 
344
  {
 
345
    id=46
 
346
    connect_to=4
 
347
  }
 
348
}