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_slide.arts

465 lines
4.5 KiB

name=instrument_slide
module=Arts::Synth_FREQUENCY
{
id=0
x=4
y=3
port=frequency
{
id=1
connect_to=67
}
port=pos
{
id=2
connect_to=22
}
}
module=Arts::Synth_ENVELOPE_ADSR
{
id=3
x=12
y=3
port=active
{
id=4
connect_to=69
}
port=invalue
{
id=5
connect_to=19
}
port=attack
{
id=6
audio_data=0.00200
}
port=decay
{
id=7
audio_data=0.05000
}
port=sustain
{
id=8
audio_data=0.70000
}
port=release
{
id=9
audio_data=0.05000
}
port=outvalue
{
id=10
connect_to=33
connect_to=60
}
port=done
{
id=11
connect_to=70
}
}
module=Arts::Synth_ENVELOPE_ADSR
{
id=12
x=12
y=1
port=active
{
id=13
connect_to=69
}
port=invalue
{
id=14
connect_to=68
}
port=attack
{
id=15
audio_data=0.00200
}
port=decay
{
id=16
audio_data=2.00000
}
port=sustain
{
id=17
audio_data=0.00010
}
port=release
{
id=18
audio_data=0.10000
}
port=outvalue
{
id=19
connect_to=5
}
port=done
{
id=20
}
}
module=Arts::Synth_WAVE_TRI
{
id=21
x=5
y=4
port=pos
{
id=22
connect_to=2
}
port=outvalue
{
id=23
connect_to=48
}
}
module=Arts::Synth_SHELVE_CUTOFF
{
id=24
x=5
y=11
port=invalue
{
id=25
connect_to=50
}
port=frequency
{
id=26
connect_to=66
}
port=outvalue
{
id=27
connect_to=29
}
}
module=Arts::Synth_MUL
{
id=28
x=6
y=12
port=invalue1
{
id=29
connect_to=27
}
port=invalue2
{
id=30
connect_to=62
}
port=outvalue
{
id=31
connect_to=71
connect_to=72
}
}
module=Arts::Synth_MUL
{
id=32
x=11
y=5
port=invalue1
{
id=33
connect_to=10
}
port=invalue2
{
id=34
audio_data=2000.00000
}
port=outvalue
{
id=35
connect_to=65
}
}
module=Arts::Synth_MUL
{
id=36
x=1
y=3
port=invalue1
{
id=37
connect_to=67
}
port=invalue2
{
id=38
audio_data=2.01000
}
port=outvalue
{
id=39
connect_to=41
connect_to=64
}
}
module=Arts::Synth_FREQUENCY
{
id=40
x=2
y=5
port=frequency
{
id=41
connect_to=39
}
port=pos
{
id=42
connect_to=44
}
}
module=Arts::Synth_WAVE_TRI
{
id=43
x=3
y=6
port=pos
{
id=44
connect_to=42
}
port=outvalue
{
id=45
connect_to=47
}
}
module=Arts::Synth_XFADE
{
id=46
x=4
y=7
port=invalue1
{
id=47
connect_to=45
}
port=invalue2
{
id=48
connect_to=23
}
port=percentage
{
id=49
connect_to=58
}
port=outvalue
{
id=50
connect_to=25
}
}
module=Arts::Synth_MUL
{
id=51
x=7
y=3
port=invalue1
{
id=52
connect_to=68
}
port=invalue2
{
id=53
audio_data=2.00000
}
port=outvalue
{
id=54
connect_to=56
}
}
module=Arts::Synth_ADD
{
id=55
x=8
y=4
port=invalue1
{
id=56
connect_to=54
}
port=invalue2
{
id=57
audio_data=-1.00000
}
port=outvalue
{
id=58
connect_to=49
}
}
module=Arts::Synth_MUL
{
id=59
x=11
y=7
port=invalue1
{
id=60
connect_to=10
}
port=invalue2
{
id=61
audio_data=2.00000
}
port=outvalue
{
id=62
connect_to=30
}
}
module=Arts::Synth_ADD
{
id=63
x=7
y=9
port=invalue1
{
id=64
connect_to=39
}
port=invalue2
{
id=65
connect_to=35
}
port=outvalue
{
id=66
connect_to=26
}
}
structureport
{
name=frequency
x=5
y=0
position=1
type
{
direction=output
datatype=audio
conntype=stream
}
data
{
id=67
connect_to=1
connect_to=37
}
}
structureport
{
name=velocity
x=6
y=0
position=2
type
{
direction=output
datatype=audio
conntype=stream
}
data
{
id=68
connect_to=14
connect_to=52
}
}
structureport
{
name=pressed
x=7
y=0
position=3
type
{
direction=output
datatype=audio
conntype=stream
}
data
{
id=69
connect_to=4
connect_to=13
}
}
structureport
{
name=done
x=15
y=14
position=0
type
{
direction=input
datatype=audio
conntype=stream
}
data
{
id=70
connect_to=11
}
}
structureport
{
name=left
x=6
y=14
position=1
type
{
direction=input
datatype=audio
conntype=stream
}
data
{
id=71
connect_to=31
}
}
structureport
{
name=right
x=8
y=14
position=2
type
{
direction=input
datatype=audio
conntype=stream
}
data
{
id=72
connect_to=31
}
}