update lua scripts

* add proper amplifier (smooth gain change) + text-example
* remove commented no-inplace from High/Low pass
* amend 913609be inline spectrogam re-init
This commit is contained in:
Robin Gareus 2016-07-04 00:03:46 +02:00
parent b68d537ded
commit 3267b4892c
3 changed files with 123 additions and 8 deletions

View file

@ -215,6 +215,7 @@ function render_inline (ctx, w, max_h)
-- re-create image surface
if not img or img:get_width() ~= w or img:get_height () ~= h then
img = Cairo.ImageSurface (Cairo.Format.ARGB32, w, h)
line = 0
end
local ictx = img:context ()