mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-11 00:56:33 +01:00
Add an example script for prototyping
This commit is contained in:
parent
6042c60b05
commit
39ffe6d95e
1 changed files with 11 additions and 0 deletions
11
scripts/_route_template_example.lua
Normal file
11
scripts/_route_template_example.lua
Normal file
|
|
@ -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
|
||||||
Loading…
Add table
Add a link
Reference in a new issue