summaryrefslogtreecommitdiffstats
path: root/arts/examples/example_xfade.arts
diff options
context:
space:
mode:
Diffstat (limited to 'arts/examples/example_xfade.arts')
-rw-r--r--arts/examples/example_xfade.arts120
1 files changed, 120 insertions, 0 deletions
diff --git a/arts/examples/example_xfade.arts b/arts/examples/example_xfade.arts
new file mode 100644
index 00000000..60ed2022
--- /dev/null
+++ b/arts/examples/example_xfade.arts
@@ -0,0 +1,120 @@
+name=example_xfade
+module=Arts::Synth_AMAN_PLAY
+{
+ id=10
+ x=1
+ y=7
+ port=title
+ {
+ id=11
+ string_data=Crossfade
+ }
+ port=autoRestoreID
+ {
+ id=12
+ string_data=Crossfade
+ }
+ port=left
+ {
+ id=13
+ connect_to=48
+ }
+ port=right
+ {
+ id=14
+ connect_to=48
+ }
+}
+module=Arts::Synth_WAVE_SIN
+{
+ id=15
+ x=1
+ y=3
+ port=pos
+ {
+ id=16
+ connect_to=20
+ }
+ port=outvalue
+ {
+ id=17
+ connect_to=33
+ connect_to=45
+ }
+}
+module=Arts::Synth_FREQUENCY
+{
+ id=18
+ x=1
+ y=1
+ port=frequency
+ {
+ id=19
+ audio_data=440.00000
+ }
+ port=pos
+ {
+ id=20
+ connect_to=16
+ }
+}
+module=Arts::Synth_WAVE_SIN
+{
+ id=25
+ x=5
+ y=3
+ port=pos
+ {
+ id=26
+ connect_to=30
+ }
+ port=outvalue
+ {
+ id=27
+ connect_to=37
+ connect_to=46
+ }
+}
+module=Arts::Synth_FREQUENCY
+{
+ id=28
+ x=5
+ y=1
+ port=frequency
+ {
+ id=29
+ audio_data=880.00000
+ }
+ port=pos
+ {
+ id=30
+ connect_to=26
+ }
+}
+module=Arts::Synth_XFADE
+{
+ id=44
+ x=3
+ y=5
+ port=invalue1
+ {
+ id=45
+ connect_to=17
+ }
+ port=invalue2
+ {
+ id=46
+ connect_to=27
+ }
+ port=percentage
+ {
+ id=47
+ audio_data=0.00000
+ }
+ port=outvalue
+ {
+ id=48
+ connect_to=13
+ connect_to=14
+ }
+}