Submit
Browse
Anonymous
Login
RSS
SuperCollider Code
Fork Code: seeking an Array!
name
code content
(// * //watch the postWindow a=["m","x","f","k","d","p"]; x=Array; y=x.newClear(6); ~mxfkdp=Task({ inf.do({y.put(x.series(6,0,1).choose,a.scramble).postln; 0.03.wait;})}).play; m=fork({inf.do({ "array num:".postcln; if(y[x.series(6,0,1).choose.postcln]==a, {"lo encontraste!/found it!".postcln; 1.do({GVerb.ar( EnvGen.ar(Env.perc(0.01,8),1,doneAction:2)* Blip.ar(XLine.kr(440,1600,8)),50,10,0.02)}.play); ~mxfkdp.stop; m.stop;}, {"buscando.../seeking...".postcln;}); 0.03.wait})}); ); //.SCtweetLong
code description
this code throws a scrambled array of arrays seeking among them for the original array, It only sounds when it founds it. (may take a while) the idea started trying a SCtweet, but became with this funny code!
use markdown for formating
category tags
comma separated, i.g. "wild, siren" (do not enter default SC class names, please)
ancestor(s)
comma separated identificators, i.g. "1-C,1-1,1-4M,1-x"
Private?
the code will be accessible by direct url and not visible in public activity
signup to submit public code without captcha
comment of change