diff options
Diffstat (limited to 'arts/examples/instrument_hihat.arts')
-rw-r--r-- | arts/examples/instrument_hihat.arts | 235 |
1 files changed, 235 insertions, 0 deletions
diff --git a/arts/examples/instrument_hihat.arts b/arts/examples/instrument_hihat.arts new file mode 100644 index 00000000..68205093 --- /dev/null +++ b/arts/examples/instrument_hihat.arts @@ -0,0 +1,235 @@ +name=instrument_hihat +module=Arts::Synth_ENVELOPE_ADSR +{ + id=0 + x=2 + y=5 + port=active + { + id=1 + connect_to=31 + } + port=invalue + { + id=2 + connect_to=12 + } + port=attack + { + id=3 + audio_data=0.00010 + } + port=decay + { + id=4 + audio_data=0.04000 + } + port=sustain + { + id=5 + audio_data=0.00010 + } + port=release + { + id=6 + audio_data=0.00100 + } + port=outvalue + { + id=7 + connect_to=18 + connect_to=22 + } + port=done + { + id=8 + connect_to=34 + } +} +module=Arts::Synth_MUL +{ + id=9 + x=2 + y=3 + port=invalue1 + { + id=10 + connect_to=14 + } + port=invalue2 + { + id=11 + connect_to=30 + } + port=outvalue + { + id=12 + connect_to=2 + } +} +module=Arts::Synth_NOISE +{ + id=13 + x=1 + y=2 + port=outvalue + { + id=14 + connect_to=10 + } +} +module=Arts::Synth_MUL +{ + id=20 + x=1 + y=7 + port=invalue1 + { + id=21 + audio_data=2.00000 + } + port=invalue2 + { + id=22 + connect_to=7 + } + port=outvalue + { + id=23 + connect_to=27 + } +} +module=Arts::Synth_RC +{ + id=24 + x=1 + y=10 + port=b + { + id=25 + audio_data=2.00000 + } + port=f + { + id=26 + audio_data=4.00000 + } + port=invalue + { + id=27 + connect_to=23 + } + port=outvalue + { + id=28 + connect_to=32 + connect_to=33 + } +} +structureport +{ + name=frequency + x=1 + y=0 + position=1 + type + { + direction=output + datatype=audio + conntype=stream + } + data + { + id=29 + } +} +structureport +{ + name=velocity + x=3 + y=0 + position=2 + type + { + direction=output + datatype=audio + conntype=stream + } + data + { + id=30 + connect_to=11 + } +} +structureport +{ + name=pressed + x=5 + y=0 + position=3 + type + { + direction=output + datatype=audio + conntype=stream + } + data + { + id=31 + connect_to=1 + } +} +structureport +{ + name=left + x=2 + y=13 + position=0 + type + { + direction=input + datatype=audio + conntype=stream + } + data + { + id=32 + connect_to=28 + } +} +structureport +{ + name=right + x=3 + y=13 + position=1 + type + { + direction=input + datatype=audio + conntype=stream + } + data + { + id=33 + connect_to=28 + } +} +structureport +{ + name=done + x=5 + y=8 + position=2 + type + { + direction=input + datatype=audio + conntype=stream + } + data + { + id=34 + connect_to=8 + } +} |