More s/frame/sample/ -- Lua Scripts

Sadly this breaks existing loaded scripts. C'est la vie.
This commit is contained in:
Robin Gareus
2017-09-27 05:03:10 +02:00
parent 53fb2f6235
commit eb928b05e9
15 changed files with 24 additions and 24 deletions

View File

@@ -2,8 +2,8 @@ ardour { ["type"] = "Snippet", name = "Plugin automation" }
function factory () return function ()
-- query playhead position and session sample-rate
local playhead = Session:transport_frame ()
local samplerate = Session:nominal_frame_rate ()
local playhead = Session:transport_sample ()
local samplerate = Session:nominal_sample_rate ()
-- get Track/Bus with RID 3
local r = Session:get_remote_nth_route(3)