This file contains 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
---sequin clone tester | |
-- press k2 to attempt to clone a sequin | |
--update line below with location of Sequins.lua | |
Sequins = include "splnkr/lib/Sequins" | |
function init() |
This file contains 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
--- An exploration of Just Friends' Geode | |
-- from maps with trent: https://www.youtube.com/watch?v=fMzM4omsIg8&ab_channel=Trent | |
-- Just Type reference: https://github.com/whimsicalraps/Just-Friends/blob/main/Just-Type.md | |
-- mode sets rhythmic relations: | |
-- cycle: rhythmic undulation to the envelope level | |
-- The rhythm is generated similarly to transient, | |
-- however the variation is applied continuously | |
-- (rather than in single steps of beats). |
This file contains 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 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'), |
This file contains 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
music = require 'mark_eats/musicutil' -- super useful. Thanks Mark! | |
beatclock = require 'beatclock' | |
-- midi code | |
m1 = midi.connect(1) | |
m2 = midi.connect(2) | |
--[[ | |
m1.event = function(data) | |
local d = midi.to_msg(data) |
This file contains 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
music = require 'mark_eats/musicutil' -- super useful. Thanks Mark! | |
beatclock = require 'beatclock' | |
-- midi code | |
m1 = midi.connect(1) | |
m2 = midi.connect(2) | |
--[[ | |
m1.event = function(data) | |
local d = midi.to_msg(data) |