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
// gcc test.c -lmonome | |
// 2nd arg is # of LEDs so you don't need to recompile so often | |
#include <stdlib.h> | |
#include <monome.h> | |
#include <stdio.h> | |
#include <signal.h> | |
#include <unistd.h> | |
#include <time.h> |
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
s = require 'sequins' | |
m = midi.connect(1) | |
function init() | |
params:add_number("filter","filter",0,127,64) | |
params:set_action("filter", function(x) jp("vcf_f",x) end) | |
end |
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
-- clock test | |
-- | |
-- adjust mul/div | |
-- with e2/e3 | |
-- | |
-- change clock settings | |
-- from parameters menu | |
-- | |
engine.name = 'PolyPerc' |
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
we@norns:~/dust/mark_eats $ diff ~/dust-old/scripts/mark_eats/loom.lua loom.lua | |
28,29c28,29 | |
< local MusicUtil = require "mark_eats/musicutil" | |
< local UI = require "mark_eats/ui" | |
--- | |
> local MusicUtil = require "musicutil" | |
> local UI = require "ui" | |
31c31 | |
< local MollyThePoly = require "mark_eats/mollythepoly" | |
--- |
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
-- Loom | |
-- | |
-- Pattern weaver for grids. | |
-- | |
-- Hold a grid key and press | |
-- another on the same row/col | |
-- to add a trigger or note. | |
-- Three keys clear a row/col. | |
-- | |
-- ENC1/KEY2 : Change page |
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
-- Earth + Passersby | |
-- | |
-- MIDI controlled West Coast | |
-- style mono synth. | |
-- | |
-- ENC1/KEY2 : Change page | |
-- KEY3 : Change tab | |
-- ENC2/3 : Adjust parameters | |
-- | |
-- Responds to MIDI and grid |
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
-- extracted straight from my script | |
function polygon(cx, cy, radius, angle, sides) | |
local x[sides+1] = {} | |
local y[sides+1] = {} | |
x[1] = cx | |
y[1] = cy | |
for i = 1, sides+1 do | |
x[i+1] = x[1] + (r * math.cos(angle + (i+i-1)*math.pi / sides )) | |
y[i+1] = y[1] + (r * math.sin(angle + (i+i-1)*math.pi / sides )) |
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
brew tap osx-cross/avr | |
brew install avr-libc | |
brew install avrdude --with-usb |