diff options
Diffstat (limited to 'arts/examples/mixer_element_simple.arts')
-rw-r--r-- | arts/examples/mixer_element_simple.arts | 235 |
1 files changed, 235 insertions, 0 deletions
diff --git a/arts/examples/mixer_element_simple.arts b/arts/examples/mixer_element_simple.arts new file mode 100644 index 00000000..01246090 --- /dev/null +++ b/arts/examples/mixer_element_simple.arts @@ -0,0 +1,235 @@ +name=mixer_element_simple +module=Arts::Widget +{ + id=0 + x=6 + y=1 + port=widgetID + { + id=1 + } + port=parent + { + id=2 + } + port=x + { + id=3 + any_data=value:000000056c6f6e67000000000400000000 + } + port=y + { + id=4 + any_data=value:000000056c6f6e67000000000400000000 + } + port=width + { + id=5 + any_data=value:000000056c6f6e6700000000040000000a + } + port=height + { + id=6 + any_data=value:000000056c6f6e6700000000040000000a + } + port=visible + { + id=7 + any_data=value:00000008626f6f6c65616e000000000101 + } +} +module=Arts::Poti +{ + id=8 + x=0 + y=3 + port=widgetID + { + id=9 + } + port=parent + { + id=10 + } + port=x + { + id=11 + any_data=value:000000056c6f6e67000000000400000064 + } + port=y + { + id=12 + any_data=value:000000056c6f6e67000000000400000000 + } + port=width + { + id=13 + any_data=value:000000056c6f6e67000000000400000032 + } + port=height + { + id=14 + any_data=value:000000056c6f6e67000000000400000032 + } + port=visible + { + id=15 + any_data=value:00000008626f6f6c65616e000000000101 + } + port=text + { + id=16 + string_data=VOLUME + } + port=color + { + id=17 + string_data=red + } + port=min + { + id=18 + audio_data=0.00000 + } + port=max + { + id=19 + audio_data=1.00000 + } + port=value + { + id=20 + audio_data=0.50000 + } +} +module=Arts::Synth_BUS_DOWNLINK +{ + id=21 + x=8 + y=4 + port=busname + { + id=22 + } + port=left + { + id=23 + connect_to=30 + } + port=right + { + id=24 + connect_to=34 + } +} +module=Arts::Synth_BUS_UPLINK +{ + id=25 + x=1 + y=10 + port=busname + { + id=26 + } + port=left + { + id=27 + connect_to=32 + } + port=right + { + id=28 + connect_to=36 + } +} +module=Arts::Synth_MUL +{ + id=29 + x=0 + y=7 + port=invalue1 + { + id=30 + connect_to=23 + } + port=invalue2 + { + id=31 + } + port=outvalue + { + id=32 + connect_to=27 + } +} +module=Arts::Synth_MUL +{ + id=33 + x=3 + y=7 + port=invalue1 + { + id=34 + connect_to=24 + } + port=invalue2 + { + id=35 + } + port=outvalue + { + id=36 + connect_to=28 + } +} +structureport +{ + name=output + x=13 + y=10 + position=2 + type + { + direction=input + datatype=string + conntype=property + } + data + { + id=37 + } +} +structureport +{ + name=input + x=13 + y=0 + position=1 + type + { + direction=output + datatype=string + conntype=property + } + data + { + id=38 + } +} +structureport +{ + name=parent + x=7 + y=0 + position=0 + type + { + direction=output + datatype=audio + conntype=stream + } + data + { + id=39 + } +} |