summaryrefslogtreecommitdiffstats
path: root/arts/examples/example_play_wave.arts
diff options
context:
space:
mode:
Diffstat (limited to 'arts/examples/example_play_wave.arts')
-rw-r--r--arts/examples/example_play_wave.arts57
1 files changed, 57 insertions, 0 deletions
diff --git a/arts/examples/example_play_wave.arts b/arts/examples/example_play_wave.arts
new file mode 100644
index 00000000..7a85423d
--- /dev/null
+++ b/arts/examples/example_play_wave.arts
@@ -0,0 +1,57 @@
+name=example_play_wave
+module=Arts::Synth_PLAY_WAV
+{
+ id=6
+ x=1
+ y=1
+ port=speed
+ {
+ id=7
+ audio_data=44100.00000
+ }
+ port=filename
+ {
+ id=8
+ string_data=/home/tranter/test.wav
+ }
+ port=finished
+ {
+ id=9
+ }
+ port=left
+ {
+ id=10
+ connect_to=20
+ }
+ port=right
+ {
+ id=11
+ connect_to=21
+ }
+}
+module=Arts::Synth_AMAN_PLAY
+{
+ id=17
+ x=1
+ y=3
+ port=title
+ {
+ id=18
+ string_data=Wave
+ }
+ port=autoRestoreID
+ {
+ id=19
+ string_data=Wave
+ }
+ port=left
+ {
+ id=20
+ connect_to=10
+ }
+ port=right
+ {
+ id=21
+ connect_to=11
+ }
+}