diff options
author | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
---|---|---|
committer | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
commit | e2de64d6f1beb9e492daf5b886e19933c1fa41dd (patch) | |
tree | 9047cf9e6b5c43878d5bf82660adae77ceee097a /arts/examples/instrument_full_square.arts | |
download | tdemultimedia-e2de64d6f1beb9e492daf5b886e19933c1fa41dd.tar.gz tdemultimedia-e2de64d6f1beb9e492daf5b886e19933c1fa41dd.zip |
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
Diffstat (limited to 'arts/examples/instrument_full_square.arts')
-rw-r--r-- | arts/examples/instrument_full_square.arts | 422 |
1 files changed, 422 insertions, 0 deletions
diff --git a/arts/examples/instrument_full_square.arts b/arts/examples/instrument_full_square.arts new file mode 100644 index 00000000..2e562000 --- /dev/null +++ b/arts/examples/instrument_full_square.arts @@ -0,0 +1,422 @@ +name=instrument_full_square +module=Arts::Synth_FREQUENCY +{ + id=0 + x=1 + y=2 + port=frequency + { + id=1 + connect_to=59 + } + port=pos + { + id=2 + connect_to=13 + } +} +module=Arts::Synth_ENVELOPE_ADSR +{ + id=3 + x=0 + y=9 + port=active + { + id=4 + connect_to=61 + } + port=invalue + { + id=5 + connect_to=58 + } + 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=62 + connect_to=63 + } + port=done + { + id=11 + connect_to=64 + } +} +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 + } +} +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=15 + 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=2000.00000 + } + port=outvalue + { + id=42 + connect_to=25 + } +} +module=Arts::Synth_SHELVE_CUTOFF +{ + id=43 + x=12 + y=9 + port=invalue + { + id=44 + connect_to=54 + } + port=frequency + { + id=45 + audio_data=8000.00000 + } + port=outvalue + { + id=46 + connect_to=57 + } +} +module=Arts::Synth_MUL +{ + id=47 + x=16 + 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=16 + 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_MUL +{ + id=55 + x=8 + y=9 + port=invalue1 + { + id=56 + audio_data=0.20000 + } + port=invalue2 + { + id=57 + connect_to=46 + } + port=outvalue + { + id=58 + connect_to=5 + } +} +structureport +{ + name=frequency + x=2 + y=0 + position=1 + type + { + direction=output + datatype=audio + conntype=stream + } + data + { + id=59 + connect_to=1 + } +} +structureport +{ + name=velocity + x=4 + y=0 + position=2 + type + { + direction=output + datatype=audio + conntype=stream + } + data + { + id=60 + } +} +structureport +{ + name=pressed + x=1 + y=8 + position=3 + type + { + direction=output + datatype=audio + conntype=stream + } + data + { + id=61 + connect_to=4 + } +} +structureport +{ + name=left + x=2 + y=11 + position=0 + type + { + direction=input + datatype=audio + conntype=stream + } + data + { + id=62 + connect_to=10 + } +} +structureport +{ + name=right + x=4 + y=11 + position=1 + type + { + direction=input + datatype=audio + conntype=stream + } + data + { + id=63 + connect_to=10 + } +} +structureport +{ + name=done + x=6 + y=11 + position=2 + type + { + direction=input + datatype=audio + conntype=stream + } + data + { + id=64 + connect_to=11 + } +} |