summaryrefslogtreecommitdiffstats
path: root/arts/examples/instrument_tri.arts
diff options
context:
space:
mode:
authortoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
committertoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
commite2de64d6f1beb9e492daf5b886e19933c1fa41dd (patch)
tree9047cf9e6b5c43878d5bf82660adae77ceee097a /arts/examples/instrument_tri.arts
downloadtdemultimedia-e2de64d6f1beb9e492daf5b886e19933c1fa41dd.tar.gz
tdemultimedia-e2de64d6f1beb9e492daf5b886e19933c1fa41dd.zip
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdemultimedia@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'arts/examples/instrument_tri.arts')
-rw-r--r--arts/examples/instrument_tri.arts348
1 files changed, 348 insertions, 0 deletions
diff --git a/arts/examples/instrument_tri.arts b/arts/examples/instrument_tri.arts
new file mode 100644
index 00000000..2d5795a9
--- /dev/null
+++ b/arts/examples/instrument_tri.arts
@@ -0,0 +1,348 @@
+name=instrument_tri
+module=Arts::Synth_FREQUENCY
+{
+ id=0
+ x=1
+ y=2
+ port=frequency
+ {
+ id=1
+ connect_to=44
+ }
+ port=pos
+ {
+ id=2
+ connect_to=13
+ }
+}
+module=Arts::Synth_ENVELOPE_ADSR
+{
+ id=3
+ x=3
+ y=10
+ port=active
+ {
+ id=4
+ connect_to=46
+ }
+ port=invalue
+ {
+ id=5
+ connect_to=54
+ }
+ port=attack
+ {
+ id=6
+ audio_data=0.03000
+ }
+ port=decay
+ {
+ id=7
+ audio_data=0.10000
+ }
+ port=sustain
+ {
+ id=8
+ audio_data=0.60000
+ }
+ port=release
+ {
+ id=9
+ audio_data=0.20000
+ }
+ port=outvalue
+ {
+ id=10
+ connect_to=41
+ connect_to=42
+ }
+ port=done
+ {
+ id=11
+ connect_to=43
+ }
+}
+module=Arts::Synth_WAVE_TRI
+{
+ id=12
+ x=2
+ y=3
+ port=pos
+ {
+ id=13
+ connect_to=2
+ }
+ port=outvalue
+ {
+ id=14
+ connect_to=26
+ }
+}
+module=Arts::Synth_SHELVE_CUTOFF
+{
+ id=15
+ x=6
+ y=7
+ port=invalue
+ {
+ id=16
+ connect_to=28
+ }
+ port=frequency
+ {
+ id=17
+ connect_to=36
+ }
+ port=outvalue
+ {
+ id=18
+ connect_to=53
+ }
+}
+module=Arts::Synth_WAVE_TRI
+{
+ id=19
+ x=9
+ y=4
+ port=pos
+ {
+ id=20
+ connect_to=24
+ }
+ port=outvalue
+ {
+ id=21
+ connect_to=27
+ }
+}
+module=Arts::Synth_FREQUENCY
+{
+ id=22
+ x=8
+ y=3
+ port=frequency
+ {
+ id=23
+ connect_to=32
+ }
+ port=pos
+ {
+ id=24
+ connect_to=20
+ }
+}
+module=Arts::Synth_ADD
+{
+ id=25
+ x=6
+ y=5
+ port=invalue1
+ {
+ id=26
+ connect_to=14
+ }
+ port=invalue2
+ {
+ id=27
+ connect_to=21
+ }
+ port=outvalue
+ {
+ id=28
+ connect_to=16
+ }
+}
+module=Arts::Synth_MUL
+{
+ id=29
+ x=7
+ y=1
+ port=invalue1
+ {
+ id=30
+ connect_to=44
+ }
+ port=invalue2
+ {
+ id=31
+ audio_data=1.01000
+ }
+ port=outvalue
+ {
+ id=32
+ connect_to=23
+ }
+}
+module=Arts::Synth_MUL
+{
+ id=33
+ x=0
+ y=7
+ port=invalue1
+ {
+ id=34
+ connect_to=44
+ }
+ port=invalue2
+ {
+ id=35
+ connect_to=40
+ }
+ port=outvalue
+ {
+ id=36
+ connect_to=17
+ }
+}
+module=Arts::Synth_MUL
+{
+ id=37
+ x=1
+ y=5
+ port=invalue1
+ {
+ id=38
+ audio_data=6.00000
+ }
+ port=invalue2
+ {
+ id=39
+ connect_to=45
+ }
+ port=outvalue
+ {
+ id=40
+ connect_to=35
+ }
+}
+module=Arts::Synth_MUL
+{
+ id=51
+ x=6
+ y=8
+ port=invalue1
+ {
+ id=52
+ audio_data=0.50000
+ }
+ port=invalue2
+ {
+ id=53
+ connect_to=18
+ }
+ port=outvalue
+ {
+ id=54
+ connect_to=5
+ }
+}
+structureport
+{
+ name=left
+ x=2
+ y=12
+ position=0
+ type
+ {
+ direction=input
+ datatype=audio
+ conntype=stream
+ }
+ data
+ {
+ id=41
+ connect_to=10
+ }
+}
+structureport
+{
+ name=right
+ x=4
+ y=12
+ position=1
+ type
+ {
+ direction=input
+ datatype=audio
+ conntype=stream
+ }
+ data
+ {
+ id=42
+ connect_to=10
+ }
+}
+structureport
+{
+ name=done
+ x=6
+ y=12
+ position=2
+ type
+ {
+ direction=input
+ datatype=audio
+ conntype=stream
+ }
+ data
+ {
+ id=43
+ connect_to=11
+ }
+}
+structureport
+{
+ name=frequency
+ x=2
+ y=0
+ position=0
+ type
+ {
+ direction=output
+ datatype=audio
+ conntype=stream
+ }
+ data
+ {
+ id=44
+ connect_to=1
+ connect_to=30
+ connect_to=34
+ }
+}
+structureport
+{
+ name=velocity
+ x=4
+ y=0
+ position=1
+ type
+ {
+ direction=output
+ datatype=audio
+ conntype=stream
+ }
+ data
+ {
+ id=45
+ connect_to=39
+ }
+}
+structureport
+{
+ name=pressed
+ x=6
+ y=0
+ position=2
+ type
+ {
+ direction=output
+ datatype=audio
+ conntype=stream
+ }
+ data
+ {
+ id=46
+ connect_to=4
+ }
+}