diff options
Diffstat (limited to 'arts/examples/instrument_slide1.arts')
-rw-r--r-- | arts/examples/instrument_slide1.arts | 467 |
1 files changed, 467 insertions, 0 deletions
diff --git a/arts/examples/instrument_slide1.arts b/arts/examples/instrument_slide1.arts new file mode 100644 index 00000000..f540e3fa --- /dev/null +++ b/arts/examples/instrument_slide1.arts @@ -0,0 +1,467 @@ +name=instrument_slide1 +module=Arts::Synth_FREQUENCY +{ + id=4 + x=4 + y=3 + port=frequency + { + id=5 + connect_to=81 + } + port=pos + { + id=6 + connect_to=32 + } +} +module=Arts::Synth_ENVELOPE_ADSR +{ + id=9 + x=12 + y=3 + port=active + { + id=10 + connect_to=83 + } + port=invalue + { + id=11 + connect_to=29 + } + port=attack + { + id=12 + audio_data=0.00200 + } + port=decay + { + id=13 + audio_data=0.05000 + } + port=sustain + { + id=14 + audio_data=0.70000 + } + port=release + { + id=15 + audio_data=0.05000 + } + port=outvalue + { + id=16 + connect_to=43 + connect_to=70 + } + port=done + { + id=17 + connect_to=8 + connect_to=80 + } +} +module=Arts::Synth_ENVELOPE_ADSR +{ + id=22 + x=12 + y=1 + port=active + { + id=23 + connect_to=83 + } + port=invalue + { + id=24 + connect_to=82 + } + port=attack + { + id=25 + audio_data=0.00200 + } + port=decay + { + id=26 + audio_data=2.00000 + } + port=sustain + { + id=27 + audio_data=0.00010 + } + port=release + { + id=28 + audio_data=0.10000 + } + port=outvalue + { + id=29 + connect_to=11 + } + 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=76 + } + 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=72 + } + port=outvalue + { + id=41 + connect_to=20 + connect_to=21 + connect_to=78 + connect_to=79 + } +} +module=Arts::Synth_MUL +{ + id=42 + x=11 + y=5 + port=invalue1 + { + id=43 + connect_to=16 + } + port=invalue2 + { + id=44 + audio_data=2000.00000 + } + port=outvalue + { + id=45 + connect_to=75 + } +} +module=Arts::Synth_MUL +{ + id=46 + x=1 + y=3 + port=invalue1 + { + id=47 + connect_to=81 + } + port=invalue2 + { + id=48 + audio_data=2.01000 + } + port=outvalue + { + id=49 + connect_to=51 + connect_to=74 + } +} +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=82 + } + 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_MUL +{ + id=69 + x=11 + y=7 + port=invalue1 + { + id=70 + connect_to=16 + } + port=invalue2 + { + id=71 + audio_data=2.00000 + } + port=outvalue + { + id=72 + connect_to=40 + } +} +module=Arts::Synth_ADD +{ + id=73 + x=7 + y=9 + port=invalue1 + { + id=74 + connect_to=49 + } + port=invalue2 + { + id=75 + connect_to=45 + } + port=outvalue + { + id=76 + connect_to=36 + } +} +structureport +{ + name=left + x=1 + y=14 + position=0 + type + { + direction=input + datatype=audio + conntype=stream + } + data + { + id=78 + connect_to=41 + } +} +structureport +{ + name=right + x=3 + y=14 + position=1 + type + { + direction=input + datatype=audio + conntype=stream + } + data + { + id=79 + connect_to=41 + } +} +structureport +{ + name=done + x=5 + y=14 + position=2 + type + { + direction=input + datatype=audio + conntype=stream + } + data + { + id=80 + connect_to=17 + } +} +structureport +{ + name=frequency + x=0 + y=0 + position=0 + type + { + direction=output + datatype=audio + conntype=stream + } + data + { + id=81 + connect_to=47 + connect_to=5 + } +} +structureport +{ + name=velocity + x=2 + y=0 + position=1 + type + { + direction=output + datatype=audio + conntype=stream + } + data + { + id=82 + connect_to=62 + connect_to=24 + } +} +structureport +{ + name=pressed + x=4 + y=0 + position=2 + type + { + direction=output + datatype=audio + conntype=stream + } + data + { + id=83 + connect_to=23 + connect_to=10 + } +} |