From e2de64d6f1beb9e492daf5b886e19933c1fa41dd Mon Sep 17 00:00:00 2001 From: toma Date: Wed, 25 Nov 2009 17:56:58 +0000 Subject: 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 --- arts/examples/instrument_moog_vcf_tune.arts | 341 ++++++++++++++++++++++++++++ 1 file changed, 341 insertions(+) create mode 100644 arts/examples/instrument_moog_vcf_tune.arts (limited to 'arts/examples/instrument_moog_vcf_tune.arts') diff --git a/arts/examples/instrument_moog_vcf_tune.arts b/arts/examples/instrument_moog_vcf_tune.arts new file mode 100644 index 00000000..51d057a7 --- /dev/null +++ b/arts/examples/instrument_moog_vcf_tune.arts @@ -0,0 +1,341 @@ +name=instrument_moog_vcf_tune +module=Arts::Synth_FREQUENCY +{ + id=4 + x=0 + y=5 + port=frequency + { + id=5 + connect_to=48 + } + port=pos + { + id=6 + connect_to=23 + } +} +module=Arts::Synth_ENVELOPE_ADSR +{ + id=7 + x=5 + y=13 + port=active + { + id=8 + connect_to=50 + } + port=invalue + { + id=9 + connect_to=43 + } + 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.20000 + } + port=outvalue + { + id=14 + connect_to=20 + connect_to=21 + connect_to=51 + connect_to=52 + } + port=done + { + id=15 + connect_to=17 + connect_to=53 + } +} +module=Arts::Synth_WAVE_TRI +{ + id=22 + x=1 + y=6 + port=pos + { + id=23 + connect_to=6 + } + port=outvalue + { + id=24 + connect_to=32 + } +} +module=Arts::Synth_WAVE_TRI +{ + id=25 + x=5 + y=7 + port=pos + { + id=26 + connect_to=30 + } + port=outvalue + { + id=27 + connect_to=33 + } +} +module=Arts::Synth_FREQUENCY +{ + id=28 + x=4 + y=6 + port=frequency + { + id=29 + connect_to=38 + } + port=pos + { + id=30 + connect_to=26 + } +} +module=Arts::Synth_ADD +{ + id=31 + x=3 + y=9 + port=invalue1 + { + id=32 + connect_to=24 + } + port=invalue2 + { + id=33 + connect_to=27 + } + port=outvalue + { + id=34 + connect_to=42 + } +} +module=Arts::Synth_MUL +{ + id=35 + x=3 + y=5 + port=invalue1 + { + id=36 + connect_to=48 + } + port=invalue2 + { + id=37 + connect_to=47 + } + port=outvalue + { + id=38 + connect_to=29 + } +} +module=Arts::Synth_MOOG_VCF +{ + id=39 + x=7 + y=11 + port=frequency + { + id=40 + } + port=resonance + { + id=41 + } + port=invalue + { + id=42 + connect_to=34 + } + port=outvalue + { + id=43 + connect_to=9 + } +} +structureport +{ + name=cutoff + x=9 + y=10 + position=1 + type + { + direction=output + datatype=audio + conntype=stream + } + data + { + id=45 + } +} +structureport +{ + name=resonance + x=10 + y=10 + position=2 + type + { + direction=output + datatype=audio + conntype=stream + } + data + { + id=46 + } +} +structureport +{ + name=detune + x=5 + y=4 + position=3 + type + { + direction=output + datatype=audio + conntype=stream + } + data + { + id=47 + connect_to=37 + } +} +structureport +{ + name=frequency + x=1 + y=0 + position=4 + type + { + direction=output + datatype=audio + conntype=stream + } + data + { + id=48 + connect_to=5 + connect_to=36 + } +} +structureport +{ + name=velocity + x=3 + y=0 + position=5 + type + { + direction=output + datatype=audio + conntype=stream + } + data + { + id=49 + } +} +structureport +{ + name=pressed + x=5 + y=0 + position=6 + type + { + direction=output + datatype=audio + conntype=stream + } + data + { + id=50 + connect_to=8 + } +} +structureport +{ + name=left + x=1 + y=15 + position=0 + type + { + direction=input + datatype=audio + conntype=stream + } + data + { + id=51 + connect_to=14 + } +} +structureport +{ + name=right + x=3 + y=15 + position=1 + type + { + direction=input + datatype=audio + conntype=stream + } + data + { + id=52 + connect_to=14 + } +} +structureport +{ + name=done + x=5 + y=15 + position=2 + type + { + direction=input + datatype=audio + conntype=stream + } + data + { + id=53 + connect_to=15 + } +} -- cgit v1.2.1