summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2017-08-17 21:12:29 +0200
committerRobin Gareus <robin@gareus.org>2017-08-17 21:12:29 +0200
commit39ffe6d95e20ff4ec66ea9c8eb10865db33893a0 (patch)
tree45c59d54d3eacf027d4fb2c3026bbaf2d2f2f816 /scripts
parent6042c60b05939366d687d5953b46daeb160c81ef (diff)
Add an example script for prototyping
Diffstat (limited to 'scripts')
-rw-r--r--scripts/_route_template_example.lua11
1 files changed, 11 insertions, 0 deletions
diff --git a/scripts/_route_template_example.lua b/scripts/_route_template_example.lua
new file mode 100644
index 0000000000..7e923b67fc
--- /dev/null
+++ b/scripts/_route_template_example.lua
@@ -0,0 +1,11 @@
+ardour {
+ ["type"] = "TrackSetup",
+ name = "Live Recording Session",
+ description = [[ FOR TESTING AND PROTOTYING ONLY ]]
+}
+
+-- DON'T COUNT ON THIS TO REMAIN AS IS.
+-- This may turn into a factory method, re-usable as ActionScript.
+function session_setup ()
+ Session:new_audio_track (1, 1, nil, 1, "Hello", ARDOUR.PresentationInfo.max_order, ARDOUR.TrackMode.Normal)
+end