diff options
author | Robin Gareus <robin@gareus.org> | 2017-09-27 05:03:10 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2017-09-27 05:03:10 +0200 |
commit | eb928b05e98260d6e2079b104b75267058633a1d (patch) | |
tree | 3f4d2300a70ebfac4bd067477e660eff84f6d670 /scripts/s_fader_automation.lua | |
parent | 53fb2f62353e48a71896da0d4e54ee394e917f86 (diff) |
More s/frame/sample/ -- Lua Scripts
Sadly this breaks existing loaded scripts. C'est la vie.
Diffstat (limited to 'scripts/s_fader_automation.lua')
-rw-r--r-- | scripts/s_fader_automation.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/s_fader_automation.lua b/scripts/s_fader_automation.lua index a9e0afe3f0..3a9cb30eef 100644 --- a/scripts/s_fader_automation.lua +++ b/scripts/s_fader_automation.lua @@ -1,8 +1,8 @@ ardour { ["type"] = "Snippet", name = "Fader Automation" } function factory () return function () - local playhead = Session:transport_frame () - local samplerate = Session:nominal_frame_rate () + local playhead = Session:transport_sample () + local samplerate = Session:nominal_sample_rate () -- get selected tracks rl = Editor:get_selection ().tracks:routelist () |