summaryrefslogtreecommitdiffstats
path: root/arts/examples/example_fm.arts
diff options
context:
space:
mode:
Diffstat (limited to 'arts/examples/example_fm.arts')
-rw-r--r--arts/examples/example_fm.arts102
1 files changed, 102 insertions, 0 deletions
diff --git a/arts/examples/example_fm.arts b/arts/examples/example_fm.arts
new file mode 100644
index 00000000..242519c0
--- /dev/null
+++ b/arts/examples/example_fm.arts
@@ -0,0 +1,102 @@
+name=example_fm
+module=Arts::Synth_AMAN_PLAY
+{
+ id=36
+ x=1
+ y=9
+ port=title
+ {
+ id=37
+ string_data=Demo1
+ }
+ port=autoRestoreID
+ {
+ id=38
+ string_data=Demo2
+ }
+ port=left
+ {
+ id=39
+ connect_to=43
+ }
+ port=right
+ {
+ id=40
+ connect_to=43
+ }
+}
+module=Arts::Synth_WAVE_SIN
+{
+ id=41
+ x=2
+ y=7
+ port=pos
+ {
+ id=42
+ connect_to=54
+ }
+ port=outvalue
+ {
+ id=43
+ connect_to=39
+ connect_to=40
+ }
+}
+module=Arts::Synth_WAVE_SIN
+{
+ id=44
+ x=1
+ y=3
+ port=pos
+ {
+ id=45
+ connect_to=49
+ }
+ port=outvalue
+ {
+ id=46
+ connect_to=52
+ }
+}
+module=Arts::Synth_FREQUENCY
+{
+ id=47
+ x=1
+ y=1
+ port=frequency
+ {
+ id=48
+ audio_data=5.00000
+ }
+ port=pos
+ {
+ id=49
+ connect_to=45
+ }
+}
+module=Arts::Synth_FM_SOURCE
+{
+ id=50
+ x=1
+ y=5
+ port=frequency
+ {
+ id=51
+ audio_data=440.00000
+ }
+ port=modulator
+ {
+ id=52
+ connect_to=46
+ }
+ port=modlevel
+ {
+ id=53
+ audio_data=0.90000
+ }
+ port=pos
+ {
+ id=54
+ connect_to=42
+ }
+}