ardour/scripts/_route_template_example.lua

12 lines
370 B
Lua
Raw Normal View History

2017-08-17 15:12:29 -04:00
ardour {
["type"] = "TrackSetup",
2017-08-17 17:17:12 -04:00
name = "Route Test",
2017-08-17 15:12:29 -04:00
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