Skip to content

Instantly share code, notes, and snippets.

@jaseknighter
jaseknighter / crow_osc.lua
Last active January 9, 2022 18:05
experimenting with oscillating crow v3 outputs
function seq()
return loop{
--complex
to(1.5,dyn{freq=1/(440*5)},'under'),
to(-3.5,dyn{freq=1/(440*5)},'over'),
to(2.5,dyn{freq=1/(440*5)},'sine'),
to(-3.5,dyn{freq=1/(440*5)},'now'),
to(-1.0,dyn{freq=1/(440*5)},'exp'),
@jlmitch5
jlmitch5 / mm_nye.lua
Created January 1, 2021 05:49
midcentury modular new years eve livestream crow script
--- midcentury modular nye livestream
-- in1: clock
-- out1: blades 1 v/oct
-- out2: blades 2 v/oct
-- out3: ripples v/oct
function init()
input[1]{ mode = 'change'
, direction = 'rising'
}
//////// sunset 2020
(Ndef(\reverb, {|wet=0.85, dry=0.15, size=10|
var input = \in.ar([0, 0]);
var primes = (2..13).nthPrime;
var reverb = Mix.ar(primes.collect({|i|
var delay = SinOsc.ar(0.02.rrand(0.1), 0, 0.02.rand, i/100);
AllpassL.ar(input, 1/2, delay, size, 1/primes.size)
}));
(wet*(reverb + input)) + (dry*input);
});
@nattog
nattog / drummer.lua
Last active May 4, 2022 16:22
Drummer :: sequencer for Monome Crow + Druid
-- drummer
-- 4 track pattern sequencer
-- pattern notation looks like this 'x---x---x---x---'
-- update sequence track with set(track, pattern)
--
-- queue a new sequence
-- progress(seq table, period - by default 16)
--
-- control transport
-- start() stop() reset()
@ypxk
ypxk / lofi-oB4.lua
Last active January 11, 2022 01:14
-- lofi OB4
-- holds the input in softcut in case you need it
-- enc 2 = scrub buffer
-- key 2 = rewind??
-- key 3 = jump to real time
-- arc 1 = scrub buffer
-- arc 2 = not interactive, graphics only
rate = 1 --longer values increase buffer but cost fidelity
--- timeline sequencer
-- aka 'function tracker'
-- out1: pitch
-- out2: volume
-- out3: filter cf
scale = {0,6,11,-12,-1,4,0,0,7,6,4,1}
scaleIX = 1
function next_note()
@lctrt
lctrt / sketch.lua
Created May 8, 2020 14:20
MS18S Sequencer - forked for JF usage
--- m185 ~ 2-voice sequencer inspired by RYK M-185
-- forked from https://github.com/jlmitch5/m18s
-- in 1: clock
-- output on channel 1 and 2 from JF
function shouldGateFire (stage, numStages, gateMode)
if stage <= numStages then
if gateMode == "all" or (gateMode == "single" and stage == 1) or
(gateMode == "every2" and (stage + 1) % 2 == 0) or
(gateMode == "every3" and (stage + 2) % 3 == 0) or
@jlmitch5
jlmitch5 / this_afternoon.lua
Last active May 3, 2020 20:05
this_afternoon for monome crow: a somewhat-linked dual arpeggiator for warps and mangrove
--- this_afternoon is a somewhat-linked dual arpeggiator for warps and mangrove
-- warps is a self-patched complex oscillator (channel 1 is on-board osc, aux out to in 2)
-- output 1 goes to warps algorithm attenuated to taste
-- output 2 goes to warps pitch (channel 1)
-- output 3 goes to mangrove formant attenuated to taste
-- output 4 goes to mangrove pitch
-- mix and put into three sisters all
-- control 3 sisters cut off with some of the output 1/3 control signals
-- use additional 3 sisters outs for feeding back into the oscillators
-- delay and reverb for maximum vibes
@zunaito
zunaito / hoje.lua
Last active April 28, 2020 12:56
seq for 3sis using asl functions + freq modulation
--- HOJE by @glia based on TONIGHT by @jlmitch5
-- output 1 > 3sis CENTRE inlet
-- output 2 > FREQ inlet
-- output 3 > HIGH inlet
-- (optional) connect LOW outlet to FM inlet + output ALL
seq = { 0, 4, 5, 7, 9, 2, 4, 7, 0 }
step = 2
switch = 1
function init()
-- start stuff
input[2].mode( 'change' )
--output[1]( macroseq(0.3) )
--output[2]( lfo(0.4) )
--output[3]( lfo(2) )
output[3].scale{ 0,3,7,10 }
output[3]( zoom() )