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

191 lines
1.9 KiB

name=instrument_simple_sin
module=Arts::Synth_FREQUENCY
{
id=4
x=1
y=2
port=frequency
{
id=5
connect_to=29
}
port=pos
{
id=6
connect_to=8
}
}
module=Arts::Synth_WAVE_SIN
{
id=7
x=2
y=3
port=pos
{
id=8
connect_to=6
}
port=outvalue
{
id=9
connect_to=12
}
}
module=Arts::Synth_ENVELOPE_ADSR
{
id=10
x=2
y=5
port=active
{
id=11
connect_to=31
}
port=invalue
{
id=12
connect_to=9
}
port=attack
{
id=13
audio_data=0.03000
}
port=decay
{
id=14
audio_data=0.10000
}
port=sustain
{
id=15
audio_data=0.60000
}
port=release
{
id=16
audio_data=0.20000
}
port=outvalue
{
id=17
connect_to=23
connect_to=24
connect_to=26
connect_to=27
}
port=done
{
id=18
connect_to=20
connect_to=28
}
}
structureport
{
name=left
x=1
y=7
position=0
type
{
direction=input
datatype=audio
conntype=stream
}
data
{
id=26
connect_to=17
}
}
structureport
{
name=right
x=3
y=7
position=1
type
{
direction=input
datatype=audio
conntype=stream
}
data
{
id=27
connect_to=17
}
}
structureport
{
name=done
x=5
y=7
position=2
type
{
direction=input
datatype=audio
conntype=stream
}
data
{
id=28
connect_to=18
}
}
structureport
{
name=frequency
x=1
y=0
position=0
type
{
direction=output
datatype=audio
conntype=stream
}
data
{
id=29
connect_to=5
}
}
structureport
{
name=velocity
x=3
y=0
position=1
type
{
direction=output
datatype=audio
conntype=stream
}
data
{
id=30
}
}
structureport
{
name=pressed
x=5
y=0
position=2
type
{
direction=output
datatype=audio
conntype=stream
}
data
{
id=31
connect_to=11
}
}