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
--- 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 |
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
-- crow exploration #1 | |
function init() | |
metro[1].event = clock | |
metro[1].time = 2 | |
metro[1]:start() | |
metro[2].event = mod_speed | |
metro[2].time = 4 | |
metro[2]:start() |