Skip to content

Instantly share code, notes, and snippets.

View tlubke's full-sized avatar

tlubke tlubke

View GitHub Profile
@tlubke
tlubke / ekombi.lua
Last active March 16, 2019 20:24
a Polyrhythmic sequencer/sampler
-- Ekombi
-- @tyler
-- polyrhythmic sampler
--
--
-- 4, two-track channels
-- ------------------------------------------
-- trackA: sets the length
-- of the tuplet
--
@tlubke
tlubke / roda.lua
Last active March 24, 2019 04:30
roda (2.0)
-- roda
-- @tyler
-- a microrhythmic sampler
--
-- inspired by the microrhythms
-- of Samba de Roda.
--
-- load samples via parameters
--
-- DISPLAY
@tlubke
tlubke / record.lua
Created April 19, 2020 00:57
Norns screen capture
local Screencap = {}
-- requires apng assmebler built from source
-- available here: http://apngasm.sourceforge.net
function Screencap.record(fps, duration, output_path)
local timer = 0
local delay_s = 1/fps
local frame_count = 0
local tempDir = "frames"
@tlubke
tlubke / monome-osc-to-midi
Created May 30, 2022 21:09
OSCII-bot script for monome grid as MIDI controller
@input monome OSC "*:8000"
@output loop MIDI "LoopBe Internal MIDI"
@init
// Map grid (16x8) keys to MIDI notes in memory.
mem_set_values(gmem[] + 0, 76, 76+1, 76+2, 76+3, 76+4, 76+5, 76+6, 76+7, 76+8, 76+9, 76+10, 76+11, 76+12, 76+13, 76+14, 76+15);
mem_set_values(gmem[] + 16, 69, 69+1, 69+2, 69+3, 69+4, 69+5, 69+6, 69+7, 69+8, 69+9, 69+10, 69+11, 69+12, 69+13, 69+14, 69+15);
mem_set_values(gmem[] + 32, 62, 62+1, 62+2, 62+3, 62+4, 62+5, 62+6, 62+7, 62+8, 62+9, 62+10, 62+11, 62+12, 62+13, 62+14, 62+15);
mem_set_values(gmem[] + 48, 55, 55+1, 55+2, 55+3, 55+4, 55+5, 55+6, 55+7, 55+8, 55+9, 55+10, 55+11, 55+12, 55+13, 55+14, 55+15);