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
-- 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 |
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
-- W/Tape: i2c recording sequencer | |
-- as shown in https://youtu.be/2RUHr-iX1VE?si=Ny_3t0TNqKlAaWoQ&t=1216 | |
-- requires crow | |
-- patch crow output 1 to an oscillator's v/8 | |
-- patch crow output 2 to an envelope generator | |
-- execute 'auto_rec()' to start recording loops at different speeds | |
-- execute 'auto_play()' to play through each of the loops |
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
-- W/Tape: clocked looping | |
-- as shown in https://youtu.be/2RUHr-iX1VE?si=Ibf7IRycZX5VoLng&t=667 | |
-- requires crow | |
-- patch crow output 1 to an oscillator's v/8 | |
-- patch crow output 2 to an envelope generator | |
-- set THIS & THAT to 'loop' | |
-- tap 'play' to get things rolling | |
-- tap 'record' to arm recording |
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
// Quarks.install("Ease") | |
{SinOsc.kr(3)}.plot(1); | |
{EaseOutInBounce.kr(SinOsc.kr(3))}.plot(1); | |
{Line.kr(0,1,1)}.plot(1) | |
{SinOsc.ar(3)}.plot(1) | |
{EaseInCirc.ar(SinOsc.ar(300))!2}.play |
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
-- cheat codes user script: delay sequencer example | |
-- required container, do not change this: | |
local user_script = {} | |
my_delays = {} -- use unique variables to reduce conflicts with the rest of cheat codes | |
-- this function is called whenever a loaded collection has a 'user_script.lua' file in the collection: | |
function user_script.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
-- required container, do not change this: | |
local user_script = {} | |
-- this function is called whenever a loaded collection | |
-- has a 'user_script.lua' file in the collection: | |
function user_script.init() | |
print("hello from the user script") | |
end | |
-- this function is called whenever the transport starts: |
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
-- cheat codes user script: pad sequencer example | |
-- required container, do not change this: | |
local user_script = {} | |
my_pads = {} -- use unique variables to reduce conflicts with the rest of cheat codes | |
-- this function is called whenever a loaded collection has a 'user_script.lua' file in the collection: | |
function user_script.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
-- USB tape copy | |
-- | |
-- * attach a USB drive | |
-- * choose a TAPE, press K3: | |
-- * copy | |
-- * copy+delete | |
-- * delete | |
-- | |
-- if you see "NO USB DETECTED", | |
-- reconnect and wait a minute |
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
Engine_BloopDrum : CroneEngine { | |
var pg; // pg is a "parallel group", see the alloc ~20 lines down | |
*new { arg context, doneCallback; | |
^super.new(context, doneCallback); | |
} | |
alloc { | |
pg = ParGroup.tail(context.xg); |
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
box = {} -- a table of boxes | |
msg = | |
{ | |
["cc"] = {"cc","val","ch"} | |
, ["note_on"] = {"note","vel","ch"} | |
, ["note_off"] = {"note","vel","ch"} | |
, ["key_pressure"] = {"note","val","ch"} | |
, ["pitchbend"] = {"val","ch",nil} | |
, ["channel_pressure"] = {"val","ch",nil} |
NewerOlder