From 39ffe6d95e20ff4ec66ea9c8eb10865db33893a0 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Thu, 17 Aug 2017 21:12:29 +0200 Subject: [PATCH] Add an example script for prototyping --- scripts/_route_template_example.lua | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 scripts/_route_template_example.lua 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