-
a simple helper function to write \dur patterns in a XoX style i.e. Pseq(~xox.("xxooxoxo") * 8/120, inf) ( ~xox = {|str| str.collectAs({|l| switch(l.toLower,$x, {1}, $o, {Rest(1)})}, Array)}; ) ( SynthDef(\acid, { arg out, freq = 10 ...
-
useful for expanding or reducing arrays by 2^x. I would like to know if there is a more concise way to write this! Any suggestions? (duplicate post, sorry! forgot to log in!) ( b = {|x,y| var arr = List[]; case {y % x ...
-
... ich emulates a tb303 it is not written by me but i found it on the sc-users mailing list. //it is missing some features as accent and portamento which are actually important for the 303 sound ... //the tb303 has the portamento at the end ...
-
... x.free; x = { var note = Duty.kr( 6/3.2, 0, Dseq([45, 45, 48, 41], inf)); var snd = Saw.ar(note.midicps * SinOsc.kr(7.421).range(0.998, 1.001)) * -12.dbamp!2; var trigs = TDuty.kr( Dseq([1, 2, 3]/3.2, inf), 0, 1); ...
-
This code sets up a remapping system where input channels are mapped to output channels based on a predefined configuration. The remapping is done using a SynthDef that reads input signals, applies the remapping, and outputs the remapped si ...
-
... // ( // weiweiwei ++ no comment // SynthDef("allpassDelay", { | out=0 | var input ; input = In.ar(0, 2); 8.do({ input = AllpassC.ar(input, 0.04, { Rand(0.001,0.04) }.dup, Rand(0.5, 3.0) )}); ReplaceOut.ar(out, input); } ) ...
-
Based on the examples and references from http://new-supercollider-mailing-lists-forums-use-these.2681727.n2.nabble.com/one-liner-C-code-in-SC-td6854421.html#a6903794 Ndef(\oneLine).play ( Ndef(\oneLine,{ var t, x, y, z, exp = 11, len ...
-
... @ "http://uiae.de/?p=110" // based on: http://www.hellocatfood.com/create-jpgs-in-pure-data/ // test with jpeg data here: http://www.ffd8.org/header_remix/?showall=yup ( // make 10 glitched versions of a JPEG 10.do{ |i| // change h ...
-
... ay.fill(3,{|i| VarSaw.ar(n.midicps*(i+1.0001),mul:0.05/(i+1))}).sum; var sig2=Ringz.ar(WhiteNoise.ar(0.0003),TRand.ar(n.midicps,(n+1).midicps,Impulse.ar(10))); var env=EnvGen.kr(Env.linen(d,1,r),gate:1,doneAction:2); Out.ar(out,Pan2.ar(( ...
-
... to randomly generate a new array of filter parameters. processes standard audio in and plays through standard audio out //larger sparse arrays; some may lead to silence //feedback warning! ( a=[10]++(Array.fill(10,{var bsize, asize; bs ...