Skip to content

Instantly share code, notes, and snippets.

@justmat
justmat / pattern_time-study.lua
Created May 15, 2020 21:04 — forked from dndrks/pattern_time-study.lua
pattern time study
-- pattern_time study
pattern_time = require 'pattern_time' -- use the pattern_time lib in this script
function init()
grid_pattern = pattern_time.new() -- establish a pattern recorder
grid_pattern.process = grid_pattern_execute -- assign the function to be executed when the pattern plays back
grid_redraw()
end
-- rebound: a kinetic sequencer
--
-- key1: shift^
-- key2: add/^remove orb
-- key3: select next orb
-- enc1: change orb note
-- enc2: rotate orb^s
-- enc3: accelerate orb^s
-- written by nf in august 2018