You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tdemultimedia/arts/examples/instrument_hihat.arts

236 lines
2.3 KiB

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
}
}