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

« back to all changes in this revision

Viewing changes to arts/examples/instrument_simple_sin.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_sin
 
2
module=Arts::Synth_FREQUENCY
 
3
{
 
4
  id=4
 
5
  x=1
 
6
  y=2
 
7
  port=frequency
 
8
  {
 
9
    id=5
 
10
    connect_to=29
 
11
  }
 
12
  port=pos
 
13
  {
 
14
    id=6
 
15
    connect_to=8
 
16
  }
 
17
}
 
18
module=Arts::Synth_WAVE_SIN
 
19
{
 
20
  id=7
 
21
  x=2
 
22
  y=3
 
23
  port=pos
 
24
  {
 
25
    id=8
 
26
    connect_to=6
 
27
  }
 
28
  port=outvalue
 
29
  {
 
30
    id=9
 
31
    connect_to=12
 
32
  }
 
33
}
 
34
module=Arts::Synth_ENVELOPE_ADSR
 
35
{
 
36
  id=10
 
37
  x=2
 
38
  y=5
 
39
  port=active
 
40
  {
 
41
    id=11
 
42
    connect_to=31
 
43
  }
 
44
  port=invalue
 
45
  {
 
46
    id=12
 
47
    connect_to=9
 
48
  }
 
49
  port=attack
 
50
  {
 
51
    id=13
 
52
    audio_data=0.03000
 
53
  }
 
54
  port=decay
 
55
  {
 
56
    id=14
 
57
    audio_data=0.10000
 
58
  }
 
59
  port=sustain
 
60
  {
 
61
    id=15
 
62
    audio_data=0.60000
 
63
  }
 
64
  port=release
 
65
  {
 
66
    id=16
 
67
    audio_data=0.20000
 
68
  }
 
69
  port=outvalue
 
70
  {
 
71
    id=17
 
72
    connect_to=23
 
73
    connect_to=24
 
74
    connect_to=26
 
75
    connect_to=27
 
76
  }
 
77
  port=done
 
78
  {
 
79
    id=18
 
80
    connect_to=20
 
81
    connect_to=28
 
82
  }
 
83
}
 
84
structureport
 
85
{
 
86
  name=left
 
87
  x=1
 
88
  y=7
 
89
  position=0
 
90
  type
 
91
  {
 
92
    direction=input
 
93
    datatype=audio
 
94
    conntype=stream
 
95
  }
 
96
  data
 
97
  {
 
98
    id=26
 
99
    connect_to=17
 
100
  }
 
101
}
 
102
structureport
 
103
{
 
104
  name=right
 
105
  x=3
 
106
  y=7
 
107
  position=1
 
108
  type
 
109
  {
 
110
    direction=input
 
111
    datatype=audio
 
112
    conntype=stream
 
113
  }
 
114
  data
 
115
  {
 
116
    id=27
 
117
    connect_to=17
 
118
  }
 
119
}
 
120
structureport
 
121
{
 
122
  name=done
 
123
  x=5
 
124
  y=7
 
125
  position=2
 
126
  type
 
127
  {
 
128
    direction=input
 
129
    datatype=audio
 
130
    conntype=stream
 
131
  }
 
132
  data
 
133
  {
 
134
    id=28
 
135
    connect_to=18
 
136
  }
 
137
}
 
138
structureport
 
139
{
 
140
  name=frequency
 
141
  x=1
 
142
  y=0
 
143
  position=0
 
144
  type
 
145
  {
 
146
    direction=output
 
147
    datatype=audio
 
148
    conntype=stream
 
149
  }
 
150
  data
 
151
  {
 
152
    id=29
 
153
    connect_to=5
 
154
  }
 
155
}
 
156
structureport
 
157
{
 
158
  name=velocity
 
159
  x=3
 
160
  y=0
 
161
  position=1
 
162
  type
 
163
  {
 
164
    direction=output
 
165
    datatype=audio
 
166
    conntype=stream
 
167
  }
 
168
  data
 
169
  {
 
170
    id=30
 
171
  }
 
172
}
 
173
structureport
 
174
{
 
175
  name=pressed
 
176
  x=5
 
177
  y=0
 
178
  position=2
 
179
  type
 
180
  {
 
181
    direction=output
 
182
    datatype=audio
 
183
    conntype=stream
 
184
  }
 
185
  data
 
186
  {
 
187
    id=31
 
188
    connect_to=11
 
189
  }
 
190
}