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