- local two = {
- pos = 0,
- length = 7,
- start = 1,
- data = {5,7,0,0,0,0,0,0,0,0,0,0,0,0,0,0}
- }
-
- function add_pattern_params()
- params:add_separator()
-
- params:add{type = "number", id = "one_length", name = "<one> length]", min=1, max=8,
- default = one.length,
- action=function(x) one.length = x end }
-
- params:add{type = "number", id = "one_start", name = "<one> start]", min=1, max=16,
- default=one.start,
- action=function(x) one.start = x end }
-
- for i=1,16 do
- params:add{type = "number", id= ("one_data_"..i), name = ("<one> data "..i), min=1, max=8,
- default = one.data[i],