summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
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