Skip to content

Instantly share code, notes, and snippets.

@moonblind
moonblind / memory-loss.lua
Created September 30, 2023 13:29
memory loss, for crow
--- memory loss
-- each crow can remember songs
-- but some forget more than others
--
-- in 1: v/8 sequence
-- in 2: clock
-- outs 1-4: shift register of memories
s = sequins
@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
@catfact
catfact / Engine_TestNoise.sc
Last active February 1, 2025 20:43
norns engine switching test
// CroneEngine_TestNoise
// variante of TestSine, for switching
// Inherit methods from CroneEngine
Engine_TestNoise : CroneEngine {
var <synth;
*new { arg context, doneCallback;
^super.new(context, doneCallback);
}
@audionerd
audionerd / supersaw-shooter.scd
Last active May 5, 2025 17:33
SuperSaw (Roland JP-8000 and JP-8080) in SuperCollider
// via https://web.archive.org/web/20191104212834/https://www.nada.kth.se/utbildning/grukth/exjobb/rapportlistor/2010/rapporter10/szabo_adam_10131.pdf
(
{ | freq = 523.3572, mix=0.75, detune = 0.75 |
var detuneCurve = { |x|
(10028.7312891634*x.pow(11)) -
(50818.8652045924*x.pow(10)) +
(111363.4808729368*x.pow(9)) -
(138150.6761080548*x.pow(8)) +
(106649.6679158292*x.pow(7)) -