mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-08 15:54:57 +01:00
Contributing example LUA scripts
This commit is contained in:
parent
97fe05e4de
commit
dab85fd309
9 changed files with 280 additions and 0 deletions
11
share/scripts/_create_from_template.lua
Normal file
11
share/scripts/_create_from_template.lua
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
ardour {
|
||||
["type"] = "EditorAction",
|
||||
name = "Create Track/Bus From Template",
|
||||
license = "MIT",
|
||||
author = "Vincent Tassy",
|
||||
description = [[Creates a Track/Bus based on template]]
|
||||
}
|
||||
|
||||
function factory () return function ()
|
||||
Session:new_route_from_template (1, ARDOUR.PresentationInfo.max_order, "/home/user/.config/ardour6/route_templates/Drums:Kick.template", "Kick", ARDOUR.PlaylistDisposition.NewPlaylist);
|
||||
end end
|
||||
Loading…
Add table
Add a link
Reference in a new issue