by whereisbambi · 4y ago · 0 comments
function b2n(boo) return boo and 1 or 0 end
function eu(index,length,beats,offset) return b2n((((index + offset) * beats) % length) < beats) end
function euquence(length,beats,offset) local l = {} for i=0,length do local r = eu(i,length,beats,offset) table.insert(l,r) end return table.concat(l,’ ‘) end
No comments yet.