-
Pull the norns repository
-
Make symbolic links from norns sc folders -> SuperCollider Extensions folder:
ln -s ~/Developer/monome/norns/sc/core ~/Library/Application\ Support/SuperCollider/Extensions/monome-norns-core
ln -s ~/Developer/monome/norns/sc/engines ~/Library/Application\ Support/SuperCollider/Extensions/monome-norns-engines
ln -s ~/Developer/monome/norns/sc/ugens ~/Library/Application\ Support/SuperCollider/Extensions/monome-norns-ugens
-
Make symlinks to Norns community repos e.g.
ln -s ~/Developer/monome/we/ ~/Library/Application\ Support/SuperCollider/Extensions/monome-we
-
Make symlinks for custom engine development
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function setup() { | |
createCanvas(400, 400); | |
background(220); | |
noStroke(); | |
fill(80); | |
} | |
function draw() { | |
drawSpiral(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// p5 adaptation of: https://massmoca.org/event/walldrawing160/ | |
let angle = 0; | |
let x = 50; | |
let y = 50; | |
let step = 0; // you were missing this variable so the sketch didn't run | |
function setup() { | |
createCanvas(800, 800); | |
angleMode(DEGREES) | |
frameRate(10); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function setup() { | |
createCanvas(400, 400); | |
} | |
function draw() { | |
background(255); | |
drawButton(width / 2, height / 2, 200, 100); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function setup() { | |
createCanvas(400, 400); | |
} | |
function draw() { | |
// draw the frame | |
background("#E6E0E2"); | |
stroke("#887987"); | |
noFill(); | |
rectMode(CENTER); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function setup() { | |
createCanvas(600, 600); | |
background(0); | |
} | |
function draw() { | |
background(0); | |
strokeWeight(9); // this sets a thick stroke width |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Basic norns deploy scripts. Still requires hitting "play" in Maiden. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
norns.script.load("agents/random_walkers.lua") | |
# script load: /home/we/dust/agents/random_walkers.lua | |
# cleanup | |
# script clear | |
### SCRIPT ERROR: load fail | |
/home/we/dust/agents/random_walkers.lua:36: module 'agents/lib/world' not found: | |
no field package.preload['agents/lib/world'] | |
no file '/home/we/norns/lua/agents/lib/world.lua' | |
no file '/home/we/norns/lua/core/agents/lib/world.lua' | |
no file '/home/we/norns/lua/core/params/agents/lib/world.lua' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- 102bpm | |
setcps (102/60/4) | |
let the_scale = "hexMajor6" | |
d1 $ cat [ n (scale the_scale "0 4 8 13?"), n (scale the_scale "<[0,4,7,11]>") ] # s "supersquare" # attack "1.2" # sustain "4" # release "3" # cutoff (range 300 500 $ slow 11 $ sine) # pitch1 (slow 9 $ range 0.95 1.05 $ sine) # gain 0.6 | |
d1 silence | |
d2 $ euclid 5 16 $ every 3 (rev) $ every 7 (euclid 5 22 ) $ n (scale the_scale "<[-3 2]*2>") # s "supercomparator" # cutoff (range 320 1100 $ rand) # attack "0.24" # sustain "2" # release "0.7" # voice (slow 17 $ range 0.4 0.9 $ sine) # gain 0.9 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- dX is the number of the sound channel used (up to 6) | |
-- sound sets a sound playing, you can include multiple sounds | |
-- and they all play within the time of one cycle | |
-- a sine LFO is slowly changing the cutoff over 7 cycles | |
-- from 200hz to 400hz | |
-- playing every 1/4 note in this case | |
d1 $ sound "bd*4" # cutoff (range 200 400 $ slow 7 $ sine) | |
-- claps on the off beats | |
d2 $ sound "~ cp ~ cp" # cutoff (range 400 1000 $ slow (range 1 3 $ rand) $ sine) |