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/example_adsr.arts

138 lines
1.3 KiB

name=example_adsr
module=Arts::Synth_AMAN_PLAY
{
id=0
x=1
y=7
port=title
{
id=1
string_data=Adsr
}
port=autoRestoreID
{
id=2
string_data=Demo2
}
port=left
{
id=3
connect_to=21
}
port=right
{
id=4
connect_to=21
}
}
module=Arts::Synth_WAVE_SIN
{
id=5
x=5
y=3
port=pos
{
id=6
connect_to=10
}
port=outvalue
{
id=7
connect_to=16
}
}
module=Arts::Synth_FREQUENCY
{
id=8
x=5
y=1
port=frequency
{
id=9
audio_data=440.00000
}
port=pos
{
id=10
connect_to=6
}
}
module=Arts::Synth_FREQUENCY
{
id=11
x=1
y=1
port=frequency
{
id=12
audio_data=1.00000
}
port=pos
{
id=13
connect_to=24
}
}
module=Arts::Synth_ENVELOPE_ADSR
{
id=14
x=2
y=5
port=active
{
id=15
connect_to=25
}
port=invalue
{
id=16
connect_to=7
}
port=attack
{
id=17
audio_data=0.10000
}
port=decay
{
id=18
audio_data=0.10000
}
port=sustain
{
id=19
audio_data=0.50000
}
port=release
{
id=20
audio_data=0.10000
}
port=outvalue
{
id=21
connect_to=3
connect_to=4
}
port=done
{
id=22
}
}
module=Arts::Synth_WAVE_SQUARE
{
id=23
x=1
y=3
port=pos
{
id=24
connect_to=13
}
port=outvalue
{
id=25
connect_to=15
}
}