Ya-L
March 16, 2023, 7:34pm
42
Thanks @sixolet for your help
For those who are interested, need to modify lepidoptery.lua
line 188 :
params:add_control(n("memory", i), "memory", controlspec.new(0.05, 2, 'exp', 0, 1, 's'))
modify number 2
and line 294
(edit error lines numbers)
1 Like
Klinik
March 18, 2023, 8:10pm
43
ok thanks! so no need to modify the .sc code, just the .lua?
lines 142 an 248 in my lepidoptery.lua are not the corresponding to the text you posted, just found the same in line 188, but no clue about that other line
Ya-L
March 18, 2023, 9:19pm
44
Both lua and sc (see the last sixolet post for sc)
actually on github lines 188 and 294
adjust_filters(i)
end)
end)(i)
end
-- Column params
params:add_separator('shapes', 'Shapes')
for i = 1, 16, 1 do
params:add_group('column ' .. i, 'column ' .. i, 5)
params:add_control('length_' .. i, 'length', controlspec.new(
0.2,
2,
'exp',
0,
util.linexp(0, 15, 0.25, 2, 16 - i),
's'
))
params:set_action('length_' .. i, function()
for row = 1, 8 do
local idx = (row - 1) * 16 + i
params:set(n('memory', idx), params:get('length_' .. i))
end