Skip to content

Instantly share code, notes, and snippets.

View yotamorimoto's full-sized avatar
🖖

yota morimoto yotamorimoto

🖖
View GitHub Profile
// install
Quarks.install("https://github.com/yotamorimoto/sc_ca.git");
Quarks.install("https://github.com/yotamorimoto/sc_sample.git");
// recompile class library
// before proceeding
// look
Pca1({2.rand}!512, 50).plot;
(
// how many
n = 9;
// grid of nxn
~grid = 0!n!n;
// our process
~process = {1.0.rand2};
Server.supernova;
s.reboot;
// use your own sound instead:
b = Buffer.read(s,"/Users/yota/Desktop/tail.wav");
b = Buffer.read(s,"/Users/yota/Music/am_cpb/maison/mk_nuit1-.wav");
~pos = Bus.control;
(
SynthDef(\play, { |rate=1, pos=0, dur=1, pan=0|
var sig, env;
sig = PlayBuf.ar(2, b, rate, 1, ~pos.kr*SampleRate.ir);