summaryrefslogtreecommitdiffstats
path: root/arts/examples/instrument_nokind.arts
diff options
context:
space:
mode:
Diffstat (limited to 'arts/examples/instrument_nokind.arts')
-rw-r--r--arts/examples/instrument_nokind.arts503
1 files changed, 503 insertions, 0 deletions
diff --git a/arts/examples/instrument_nokind.arts b/arts/examples/instrument_nokind.arts
new file mode 100644
index 00000000..d0c78585
--- /dev/null
+++ b/arts/examples/instrument_nokind.arts
@@ -0,0 +1,503 @@
+name=instrument_nokind
+module=Arts::Synth_FREQUENCY
+{
+ id=0
+ x=1
+ y=2
+ port=frequency
+ {
+ id=1
+ connect_to=77
+ }
+ port=pos
+ {
+ id=2
+ connect_to=13
+ connect_to=64
+ }
+}
+module=Arts::Synth_ENVELOPE_ADSR
+{
+ id=3
+ x=3
+ y=9
+ port=active
+ {
+ id=4
+ connect_to=79
+ }
+ port=invalue
+ {
+ id=5
+ connect_to=73
+ }
+ 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.30000
+ }
+ port=outvalue
+ {
+ id=10
+ connect_to=74
+ connect_to=75
+ }
+ port=done
+ {
+ id=11
+ connect_to=76
+ }
+}
+module=Arts::Synth_WAVE_SQUARE
+{
+ id=12
+ x=1
+ y=4
+ port=pos
+ {
+ id=13
+ connect_to=2
+ }
+ port=outvalue
+ {
+ id=14
+ connect_to=16
+ connect_to=21
+ connect_to=28
+ connect_to=52
+ connect_to=56
+ }
+}
+module=Arts::Synth_ADD
+{
+ id=15
+ x=6
+ y=6
+ port=invalue1
+ {
+ id=16
+ connect_to=14
+ }
+ port=invalue2
+ {
+ id=17
+ connect_to=38
+ }
+ port=outvalue
+ {
+ id=18
+ connect_to=24
+ }
+}
+module=Arts::Synth_ADD
+{
+ id=19
+ x=14
+ y=6
+ port=invalue1
+ {
+ id=20
+ connect_to=26
+ }
+ port=invalue2
+ {
+ id=21
+ connect_to=14
+ }
+ port=outvalue
+ {
+ id=22
+ connect_to=48
+ }
+}
+module=Arts::Synth_ADD
+{
+ id=23
+ x=10
+ y=6
+ port=invalue1
+ {
+ id=24
+ connect_to=18
+ }
+ port=invalue2
+ {
+ id=25
+ connect_to=42
+ }
+ port=outvalue
+ {
+ id=26
+ connect_to=20
+ }
+}
+module=Arts::Synth_MUL
+{
+ id=27
+ x=6
+ y=2
+ port=invalue1
+ {
+ id=28
+ connect_to=14
+ }
+ port=invalue2
+ {
+ id=29
+ audio_data=2.00000
+ }
+ port=outvalue
+ {
+ id=30
+ connect_to=32
+ connect_to=36
+ }
+}
+module=Arts::Synth_MUL
+{
+ id=31
+ x=10
+ y=2
+ port=invalue1
+ {
+ id=32
+ connect_to=30
+ }
+ port=invalue2
+ {
+ id=33
+ audio_data=16.00000
+ }
+ port=outvalue
+ {
+ id=34
+ connect_to=40
+ }
+}
+module=Arts::Synth_SHELVE_CUTOFF
+{
+ id=35
+ x=6
+ y=4
+ port=invalue
+ {
+ id=36
+ connect_to=30
+ }
+ port=frequency
+ {
+ id=37
+ audio_data=6000.00000
+ }
+ port=outvalue
+ {
+ id=38
+ connect_to=17
+ }
+}
+module=Arts::Synth_SHELVE_CUTOFF
+{
+ id=39
+ x=10
+ y=4
+ port=invalue
+ {
+ id=40
+ connect_to=34
+ }
+ port=frequency
+ {
+ id=41
+ audio_data=7000.00000
+ }
+ port=outvalue
+ {
+ id=42
+ connect_to=25
+ }
+}
+module=Arts::Synth_SHELVE_CUTOFF
+{
+ id=43
+ x=15
+ y=11
+ port=invalue
+ {
+ id=44
+ connect_to=54
+ }
+ port=frequency
+ {
+ id=45
+ audio_data=8000.00000
+ }
+ port=outvalue
+ {
+ id=46
+ connect_to=60
+ }
+}
+module=Arts::Synth_MUL
+{
+ id=47
+ x=15
+ y=7
+ port=invalue1
+ {
+ id=48
+ connect_to=22
+ }
+ port=invalue2
+ {
+ id=49
+ audio_data=0.10000
+ }
+ port=outvalue
+ {
+ id=50
+ connect_to=53
+ }
+}
+module=Arts::Synth_ADD
+{
+ id=51
+ x=15
+ y=9
+ port=invalue1
+ {
+ id=52
+ connect_to=14
+ }
+ port=invalue2
+ {
+ id=53
+ connect_to=50
+ }
+ port=outvalue
+ {
+ id=54
+ connect_to=44
+ }
+}
+module=Arts::Synth_ADD
+{
+ id=55
+ x=11
+ y=13
+ port=invalue1
+ {
+ id=56
+ connect_to=14
+ }
+ port=invalue2
+ {
+ id=57
+ connect_to=62
+ }
+ port=outvalue
+ {
+ id=58
+ connect_to=68
+ }
+}
+module=Arts::Synth_MUL
+{
+ id=59
+ x=15
+ y=13
+ port=invalue1
+ {
+ id=60
+ connect_to=46
+ }
+ port=invalue2
+ {
+ id=61
+ audio_data=0.50000
+ }
+ port=outvalue
+ {
+ id=62
+ connect_to=57
+ }
+}
+module=Arts::Synth_WAVE_TRI
+{
+ id=63
+ x=1
+ y=7
+ port=pos
+ {
+ id=64
+ connect_to=2
+ }
+ port=outvalue
+ {
+ id=65
+ connect_to=67
+ }
+}
+module=Arts::Synth_ADD
+{
+ id=66
+ x=11
+ y=11
+ port=invalue1
+ {
+ id=67
+ connect_to=65
+ }
+ port=invalue2
+ {
+ id=68
+ connect_to=58
+ }
+ port=outvalue
+ {
+ id=69
+ connect_to=71
+ }
+}
+module=Arts::Synth_MUL
+{
+ id=70
+ x=11
+ y=9
+ port=invalue1
+ {
+ id=71
+ connect_to=69
+ }
+ port=invalue2
+ {
+ id=72
+ audio_data=0.25000
+ }
+ port=outvalue
+ {
+ id=73
+ connect_to=5
+ }
+}
+structureport
+{
+ name=left
+ x=1
+ y=13
+ position=0
+ type
+ {
+ direction=input
+ datatype=audio
+ conntype=stream
+ }
+ data
+ {
+ id=74
+ connect_to=10
+ }
+}
+structureport
+{
+ name=right
+ x=3
+ y=13
+ position=1
+ type
+ {
+ direction=input
+ datatype=audio
+ conntype=stream
+ }
+ data
+ {
+ id=75
+ connect_to=10
+ }
+}
+structureport
+{
+ name=done
+ x=5
+ y=13
+ position=2
+ type
+ {
+ direction=input
+ datatype=audio
+ conntype=stream
+ }
+ data
+ {
+ id=76
+ connect_to=11
+ }
+}
+structureport
+{
+ name=frequency
+ x=2
+ y=0
+ position=0
+ type
+ {
+ direction=output
+ datatype=audio
+ conntype=stream
+ }
+ data
+ {
+ id=77
+ connect_to=1
+ }
+}
+structureport
+{
+ name=velocity
+ x=4
+ y=0
+ position=1
+ type
+ {
+ direction=output
+ datatype=audio
+ conntype=stream
+ }
+ data
+ {
+ id=78
+ }
+}
+structureport
+{
+ name=pressed
+ x=6
+ y=0
+ position=2
+ type
+ {
+ direction=output
+ datatype=audio
+ conntype=stream
+ }
+ data
+ {
+ id=79
+ connect_to=4
+ }
+}