Skip to content

Instantly share code, notes, and snippets.

--
-- PATCHWORK (v2.0)
--
-- Dual sequencer for
-- norns, grid + crow
-- @olivier
-- llllllll.co/t/patchwork/28800
--
-- See full documentation
-- in library post on lines
@dndrks
dndrks / patchwork-midi.lua
Last active July 15, 2020 14:33
patchwork-midi
--
-- PATCHWORK (v1.0.1)
--
-- Dual sequencer for
-- norns, grid + crow
-- @olivier
-- llllllll.co/t/patchwork/28800
--
-- See full documentation
-- in library post on lines
-- physical: clock edition
-- norns study 4
--
-- grid controls arpeggio
-- midi controls root note
-- ENC1 = bpm
-- ENC2 = divisor
-- ENC3 = scale
-- KEY2 = hold
-- KEY3 = restart sequence
@dndrks
dndrks / pattern_time-study.lua
Created March 29, 2020 22:22
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
@dndrks
dndrks / contruct.lua
Last active January 20, 2020 19:48
construct
-- construct
-- ~ ~ ~ ~
-- four linked lfos
-- with variable stages + shapes
--
-- E1: change base time
-- K2: construct new
-- K3: restart current
local scope = {0,0,0,0}
@dndrks
dndrks / d_lc.lua
Last active December 6, 2019 00:30
druid_lc
--less concepts for druid
-- ONLY RUN, DO NOT UPLOAD.
-- UPLOADING WILL FREEZE CROW.
-- RUN IS 100% FINE + FUN.
seed = 36
rule = 30
next_seed = nil
new_seed = seed
low = 1
@dndrks
dndrks / less_concepts_olafur.lua
Last active July 7, 2019 20:23
lc_olafur edition
-- less concepts:
-- cellular automata sequencer
-- v2.0.3b @dan_derks
-- llllllll.co/t/less-concepts/
--
-- hold key 1: switch between
-- less concepts +
-- ~ r e f r a i n
--
-- enc 1: navigate
@dndrks
dndrks / mmf_example.lua
Created May 31, 2019 12:45
example of jah's MMFilter module for R engine
engine.name = 'R'
local R = require 'r/lib/r'
local Option = require 'params/option'
local Formatters = require 'formatters'
local KEY2 = 0
local edit = "cutoff"
function init()
engine.new("LP", "MMFilter")
@dndrks
dndrks / cranes.lua
Last active May 7, 2019 14:43
cranes 2.12
-- cranes
-- dual looper / delay
-- (grid optional)
-- v2.12 @dan_derks
-- https://llllllll.co/t/21207
-- ---------------------
-- to start:
-- press key 2 to rec.
-- sounds are written to
-- two buffers.
@dndrks
dndrks / cranes_rev.lua
Last active October 7, 2018 16:13
cranes_update_10_7_2018
-- cranes
-- one buffer, two voices.
-- ---------------------
-- at start:
-- press key 2 to rec.
-- then:
-- press key 2 to play.
-- ..
-- listen: it's voice 1.
--