summaryrefslogtreecommitdiffstats
path: root/arts/examples/example_sine.arts
diff options
context:
space:
mode:
Diffstat (limited to 'arts/examples/example_sine.arts')
-rw-r--r--arts/examples/example_sine.arts58
1 files changed, 58 insertions, 0 deletions
diff --git a/arts/examples/example_sine.arts b/arts/examples/example_sine.arts
new file mode 100644
index 00000000..5810a23a
--- /dev/null
+++ b/arts/examples/example_sine.arts
@@ -0,0 +1,58 @@
+name=example_sine
+module=Arts::Synth_FREQUENCY
+{
+ id=0
+ x=1
+ y=1
+ port=frequency
+ {
+ id=1
+ audio_data=440.00000
+ }
+ port=pos
+ {
+ id=2
+ connect_to=7
+ }
+}
+module=Arts::Synth_WAVE_SIN
+{
+ id=6
+ x=2
+ y=3
+ port=pos
+ {
+ id=7
+ connect_to=2
+ }
+ port=outvalue
+ {
+ id=8
+ connect_to=15
+ }
+}
+module=Arts::Synth_AMAN_PLAY
+{
+ id=12
+ x=1
+ y=5
+ port=title
+ {
+ id=13
+ string_data=Sine
+ }
+ port=autoRestoreID
+ {
+ id=14
+ string_data=Sine
+ }
+ port=left
+ {
+ id=15
+ connect_to=8
+ }
+ port=right
+ {
+ id=16
+ }
+}