summaryrefslogtreecommitdiffstats
path: root/arts/examples/instrument_flexible_slide.arts
diff options
context:
space:
mode:
Diffstat (limited to 'arts/examples/instrument_flexible_slide.arts')
-rw-r--r--arts/examples/instrument_flexible_slide.arts537
1 files changed, 537 insertions, 0 deletions
diff --git a/arts/examples/instrument_flexible_slide.arts b/arts/examples/instrument_flexible_slide.arts
new file mode 100644
index 00000000..b1ff28d6
--- /dev/null
+++ b/arts/examples/instrument_flexible_slide.arts
@@ -0,0 +1,537 @@
+name=instrument_flexible_slide
+module=Arts::Synth_FREQUENCY
+{
+ id=4
+ x=4
+ y=3
+ port=frequency
+ {
+ id=5
+ connect_to=79
+ }
+ port=pos
+ {
+ id=6
+ connect_to=32
+ }
+}
+module=Arts::Synth_ENVELOPE_ADSR
+{
+ id=9
+ x=13
+ y=4
+ port=active
+ {
+ id=10
+ connect_to=81
+ }
+ port=invalue
+ {
+ id=11
+ connect_to=29
+ }
+ port=attack
+ {
+ id=12
+ connect_to=78
+ }
+ port=decay
+ {
+ id=13
+ connect_to=76
+ }
+ port=sustain
+ {
+ id=14
+ audio_data=0.70000
+ }
+ port=release
+ {
+ id=15
+ audio_data=0.05000
+ }
+ port=outvalue
+ {
+ id=16
+ connect_to=40
+ }
+ port=done
+ {
+ id=17
+ connect_to=8
+ connect_to=84
+ }
+}
+module=Arts::Synth_ENVELOPE_ADSR
+{
+ id=22
+ x=12
+ y=2
+ port=active
+ {
+ id=23
+ connect_to=81
+ }
+ port=invalue
+ {
+ id=24
+ connect_to=80
+ }
+ port=attack
+ {
+ id=25
+ connect_to=78
+ }
+ port=decay
+ {
+ id=26
+ connect_to=75
+ }
+ port=sustain
+ {
+ id=27
+ audio_data=0.00010
+ }
+ port=release
+ {
+ id=28
+ audio_data=0.10000
+ }
+ port=outvalue
+ {
+ id=29
+ connect_to=11
+ connect_to=43
+ }
+ port=done
+ {
+ id=30
+ }
+}
+module=Arts::Synth_WAVE_TRI
+{
+ id=31
+ x=5
+ y=4
+ port=pos
+ {
+ id=32
+ connect_to=6
+ }
+ port=outvalue
+ {
+ id=33
+ connect_to=58
+ }
+}
+module=Arts::Synth_SHELVE_CUTOFF
+{
+ id=34
+ x=5
+ y=11
+ port=invalue
+ {
+ id=35
+ connect_to=60
+ }
+ port=frequency
+ {
+ id=36
+ connect_to=72
+ }
+ port=outvalue
+ {
+ id=37
+ connect_to=39
+ }
+}
+module=Arts::Synth_MUL
+{
+ id=38
+ x=6
+ y=12
+ port=invalue1
+ {
+ id=39
+ connect_to=37
+ }
+ port=invalue2
+ {
+ id=40
+ connect_to=16
+ }
+ port=outvalue
+ {
+ id=41
+ connect_to=20
+ connect_to=21
+ connect_to=82
+ connect_to=83
+ }
+}
+module=Arts::Synth_MUL
+{
+ id=42
+ x=11
+ y=6
+ port=invalue1
+ {
+ id=43
+ connect_to=29
+ }
+ port=invalue2
+ {
+ id=44
+ connect_to=74
+ }
+ port=outvalue
+ {
+ id=45
+ connect_to=71
+ }
+}
+module=Arts::Synth_MUL
+{
+ id=46
+ x=1
+ y=3
+ port=invalue1
+ {
+ id=47
+ connect_to=79
+ }
+ port=invalue2
+ {
+ id=48
+ connect_to=73
+ }
+ port=outvalue
+ {
+ id=49
+ connect_to=51
+ connect_to=70
+ }
+}
+module=Arts::Synth_FREQUENCY
+{
+ id=50
+ x=2
+ y=5
+ port=frequency
+ {
+ id=51
+ connect_to=49
+ }
+ port=pos
+ {
+ id=52
+ connect_to=54
+ }
+}
+module=Arts::Synth_WAVE_TRI
+{
+ id=53
+ x=3
+ y=6
+ port=pos
+ {
+ id=54
+ connect_to=52
+ }
+ port=outvalue
+ {
+ id=55
+ connect_to=57
+ }
+}
+module=Arts::Synth_XFADE
+{
+ id=56
+ x=4
+ y=7
+ port=invalue1
+ {
+ id=57
+ connect_to=55
+ }
+ port=invalue2
+ {
+ id=58
+ connect_to=33
+ }
+ port=percentage
+ {
+ id=59
+ connect_to=68
+ }
+ port=outvalue
+ {
+ id=60
+ connect_to=35
+ }
+}
+module=Arts::Synth_MUL
+{
+ id=61
+ x=7
+ y=3
+ port=invalue1
+ {
+ id=62
+ connect_to=80
+ }
+ port=invalue2
+ {
+ id=63
+ audio_data=2.00000
+ }
+ port=outvalue
+ {
+ id=64
+ connect_to=66
+ }
+}
+module=Arts::Synth_ADD
+{
+ id=65
+ x=8
+ y=4
+ port=invalue1
+ {
+ id=66
+ connect_to=64
+ }
+ port=invalue2
+ {
+ id=67
+ audio_data=-1.00000
+ }
+ port=outvalue
+ {
+ id=68
+ connect_to=59
+ }
+}
+module=Arts::Synth_ADD
+{
+ id=69
+ x=7
+ y=9
+ port=invalue1
+ {
+ id=70
+ connect_to=49
+ }
+ port=invalue2
+ {
+ id=71
+ connect_to=45
+ }
+ port=outvalue
+ {
+ id=72
+ connect_to=36
+ }
+}
+structureport
+{
+ name=detune
+ x=1
+ y=0
+ position=0
+ type
+ {
+ direction=output
+ datatype=audio
+ conntype=stream
+ }
+ data
+ {
+ id=73
+ connect_to=48
+ }
+}
+structureport
+{
+ name=cutoff
+ x=13
+ y=5
+ position=1
+ type
+ {
+ direction=output
+ datatype=audio
+ conntype=stream
+ }
+ data
+ {
+ id=74
+ connect_to=44
+ }
+}
+structureport
+{
+ name=decay
+ x=16
+ y=0
+ position=2
+ type
+ {
+ direction=output
+ datatype=audio
+ conntype=stream
+ }
+ data
+ {
+ id=75
+ connect_to=26
+ }
+}
+structureport
+{
+ name=decay2
+ x=19
+ y=0
+ position=3
+ type
+ {
+ direction=output
+ datatype=audio
+ conntype=stream
+ }
+ data
+ {
+ id=76
+ connect_to=13
+ }
+}
+structureport
+{
+ name=attack
+ x=17
+ y=0
+ position=5
+ type
+ {
+ direction=output
+ datatype=audio
+ conntype=stream
+ }
+ data
+ {
+ id=78
+ connect_to=12
+ connect_to=25
+ }
+}
+structureport
+{
+ name=frequency
+ x=3
+ y=0
+ position=6
+ type
+ {
+ direction=output
+ datatype=audio
+ conntype=stream
+ }
+ data
+ {
+ id=79
+ connect_to=5
+ connect_to=47
+ }
+}
+structureport
+{
+ name=velocity
+ x=5
+ y=0
+ position=7
+ type
+ {
+ direction=output
+ datatype=audio
+ conntype=stream
+ }
+ data
+ {
+ id=80
+ connect_to=62
+ connect_to=24
+ }
+}
+structureport
+{
+ name=pressed
+ x=7
+ y=0
+ position=8
+ type
+ {
+ direction=output
+ datatype=audio
+ conntype=stream
+ }
+ data
+ {
+ id=81
+ connect_to=23
+ connect_to=10
+ }
+}
+structureport
+{
+ name=left
+ x=1
+ y=14
+ position=0
+ type
+ {
+ direction=input
+ datatype=audio
+ conntype=stream
+ }
+ data
+ {
+ id=82
+ connect_to=41
+ }
+}
+structureport
+{
+ name=right
+ x=3
+ y=14
+ position=1
+ type
+ {
+ direction=input
+ datatype=audio
+ conntype=stream
+ }
+ data
+ {
+ id=83
+ connect_to=41
+ }
+}
+structureport
+{
+ name=done
+ x=5
+ y=14
+ position=2
+ type
+ {
+ direction=input
+ datatype=audio
+ conntype=stream
+ }
+ data
+ {
+ id=84
+ connect_to=17
+ }
+}