summaryrefslogtreecommitdiffstats
path: root/arts/examples/example_square.arts
diff options
context:
space:
mode:
Diffstat (limited to 'arts/examples/example_square.arts')
-rw-r--r--arts/examples/example_square.arts61
1 files changed, 61 insertions, 0 deletions
diff --git a/arts/examples/example_square.arts b/arts/examples/example_square.arts
new file mode 100644
index 00000000..1e0e1d5a
--- /dev/null
+++ b/arts/examples/example_square.arts
@@ -0,0 +1,61 @@
+name=example_square
+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=Square
+ }
+ port=autoRestoreID
+ {
+ id=5
+ string_data=Square
+ }
+ port=left
+ {
+ id=6
+ connect_to=17
+ }
+ port=right
+ {
+ id=7
+ connect_to=17
+ }
+}
+module=Arts::Synth_WAVE_SQUARE
+{
+ id=15
+ x=2
+ y=3
+ port=pos
+ {
+ id=16
+ connect_to=2
+ }
+ port=outvalue
+ {
+ id=17
+ connect_to=6
+ connect_to=7
+ }
+}