summaryrefslogtreecommitdiffstats
path: root/arts/examples/example_tri.arts
diff options
context:
space:
mode:
Diffstat (limited to 'arts/examples/example_tri.arts')
-rw-r--r--arts/examples/example_tri.arts61
1 files changed, 61 insertions, 0 deletions
diff --git a/arts/examples/example_tri.arts b/arts/examples/example_tri.arts
new file mode 100644
index 00000000..7c9e5673
--- /dev/null
+++ b/arts/examples/example_tri.arts
@@ -0,0 +1,61 @@
+name=example_tri
+module=Arts::Synth_FREQUENCY
+{
+ id=0
+ x=1
+ y=1
+ port=frequency
+ {
+ id=1
+ audio_data=440.00000
+ }
+ port=pos
+ {
+ id=2
+ connect_to=10
+ connect_to=16
+ }
+}
+module=Arts::Synth_AMAN_PLAY
+{
+ id=3
+ x=1
+ y=5
+ port=title
+ {
+ id=4
+ string_data=Tri
+ }
+ port=autoRestoreID
+ {
+ id=5
+ string_data=Tri
+ }
+ port=left
+ {
+ id=6
+ connect_to=17
+ }
+ port=right
+ {
+ id=7
+ connect_to=17
+ }
+}
+module=Arts::Synth_WAVE_TRI
+{
+ id=15
+ x=2
+ y=3
+ port=pos
+ {
+ id=16
+ connect_to=2
+ }
+ port=outvalue
+ {
+ id=17
+ connect_to=6
+ connect_to=7
+ }
+}