summaryrefslogtreecommitdiff
path: root/scripts/scope.lua
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2016-07-03 00:05:02 +0200
committerRobin Gareus <robin@gareus.org>2016-07-03 00:05:02 +0200
commitff0e1ac79bfa5a8a64ff968951dc629fd46107a1 (patch)
treeb98e87dacb8012b192ccc6377e70d68adeda207b /scripts/scope.lua
parentc50a0c5dd019028d33819caeb90efcc09481a259 (diff)
update lua-scripts:
* add an inline spectrum display * fix re-init HP/LP and Biquad * add some comments, labels etc
Diffstat (limited to 'scripts/scope.lua')
-rw-r--r--scripts/scope.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/scope.lua b/scripts/scope.lua
index 04e90592cd..efb0e2c3a4 100644
--- a/scripts/scope.lua
+++ b/scripts/scope.lua
@@ -20,7 +20,7 @@ function dsp_params ()
{
{ ["type"] = "input", name = "Timescale", min = .1, max = 5, default = 2, unit="sec", logarithmic = true },
{ ["type"] = "input", name = "Logscale", min = 0, max = 1, default = 0, toggled = true },
- { ["type"] = "input", name = "Height", min = 0, max = 3, default = 1, enum = true, scalepoints =
+ { ["type"] = "input", name = "Height (Aspect)", min = 0, max = 3, default = 1, enum = true, scalepoints =
{
["Min"] = 0,
["16:10"] = 1,
@@ -70,7 +70,7 @@ function dsp_runmap (bufs, in_map, out_map, n_samples, offset)
else
local w0 = bufsiz - write_ptr;
ARDOUR.DSP.copy_vector (shmem:to_float (write_ptr + chn_off), bufs:get_audio (ib):data (offset), w0)
- ARDOUR.DSP.copy_vector (shmem:to_float (chn_off) , bufs:get_audio (ib):data (offset), n_samples - w0)
+ ARDOUR.DSP.copy_vector (shmem:to_float (chn_off) , bufs:get_audio (ib):data (offset + w0), n_samples - w0)
end
if (ob ~= ARDOUR.ChanMapping.Invalid and ib ~= ob) then
ARDOUR.DSP.copy_vector (bufs:get_audio (ob):data (offset), bufs:get_audio (ib):data (offset), n_samples)