summaryrefslogtreecommitdiffstats
path: root/arts/examples/example_pulse.arts
diff options
context:
space:
mode:
Diffstat (limited to 'arts/examples/example_pulse.arts')
-rw-r--r--arts/examples/example_pulse.arts66
1 files changed, 66 insertions, 0 deletions
diff --git a/arts/examples/example_pulse.arts b/arts/examples/example_pulse.arts
new file mode 100644
index 00000000..7da74675
--- /dev/null
+++ b/arts/examples/example_pulse.arts
@@ -0,0 +1,66 @@
+name=example_pulse
+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
+ connect_to=23
+ }
+}
+module=Arts::Synth_AMAN_PLAY
+{
+ id=12
+ x=1
+ y=5
+ port=title
+ {
+ id=13
+ string_data=Pulse
+ }
+ port=autoRestoreID
+ {
+ id=14
+ string_data=Pulse
+ }
+ port=left
+ {
+ id=15
+ connect_to=24
+ }
+ port=right
+ {
+ id=16
+ connect_to=24
+ }
+}
+module=Arts::Synth_WAVE_PULSE
+{
+ id=21
+ x=2
+ y=3
+ port=dutycycle
+ {
+ id=22
+ audio_data=0.20000
+ }
+ port=pos
+ {
+ id=23
+ connect_to=2
+ }
+ port=outvalue
+ {
+ id=24
+ connect_to=15
+ connect_to=16
+ }
+}