mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-08 07:45:00 +01:00
First round of Lua script API updates
This commit is contained in:
parent
395bf4a650
commit
30a92894fc
8 changed files with 34 additions and 31 deletions
|
|
@ -39,7 +39,7 @@ function factory (params) return function ()
|
|||
playlist:to_stateful ():clear_changes ()
|
||||
|
||||
-- bounce the region with processing
|
||||
local region = track:bounce_range (r:position (), r:position() + r:length (), ARDOUR.InterThreadInfo (), track:main_outs (), false, "");
|
||||
local region = track:bounce_range (r:position ():samples(), (r:position() + r:length ()):samples(), ARDOUR.InterThreadInfo (), track:main_outs (), false, "");
|
||||
|
||||
-- remove old region..
|
||||
playlist:remove_region (r);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue