mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 07:14:56 +01:00
update lua script to use new remote_id lookup API
This commit is contained in:
parent
a03217c27f
commit
d47fb0ccaf
4 changed files with 4 additions and 4 deletions
|
|
@ -15,7 +15,7 @@ function factory () return function ()
|
|||
|
||||
-------------------------------------------------------------------------------
|
||||
-- load a plugin preset
|
||||
route = Session:route_by_remote_id(2)
|
||||
route = Session:get_remote_nth_route(2)
|
||||
-- to 4th plugin (from top), ardour starts counting at zero
|
||||
plugin = route:nth_plugin(3):to_insert():plugin(0)
|
||||
ps = plugin:preset_by_label("cutbass") -- get preset by name
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue