Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (39) Code (11) Doc (14) Help (3) Quark (11) SCDoc ↗ Forum ↗ Google ↗
  1. Granular Sampling demo [no GUI] by bruno (Bruno Ruviaro) Code

    PlayBuf, granular sampling, Pbind, fork, TGrains ////////////////////// // GRANULAR SAMPLING // Code examples ////////////////////// // Replace path (a string of characters) with a path to a wav or aiff file on your computer b = Buf ...

  2. Chaos Ambient - Unfinished Piece by makary-kleinschmidt (rumush) Code

    ... r(1,12,trig),mul:XLine.ar(0.01,1000,tL)),0.25)!2 })*src3Env*0.1; var src4 = TGrains.ar(2,Dust.ar(320*src1Env),buf1,1,LFNoise1.ar(1)+1*4e5,0.1*LFSaw.ar(4,0,0.5,0.5),0.1,4)*src4Env*0.125; BufWr.ar(src2[0],buf1,LFNoise1.ar(0.2)+1*5e4); ...

  3. Abusing Convolution2 to make pitch by jamshark70 (jamshark70) Code

    ... e the sine grains with an arbitrary impulse response? You could do that with TGrains, but as the pitch goes up, so does the number of overlapping grains and CPU use along with it. But, convolution of a chain of impulses should be the sam ...

  4. Granular Sampling GUI Demo 1 by bruno (Bruno Ruviaro) Code

    ... TIONS // Convert transpSlider values (in semitones) // to rate values for TGrains (1 = no transp): transpToRate = {arg transp; transp.linexp(-24, 24, 0.25, 4)}; // Convert from centerPosSlider values (0-1) // to actual sound f ...

  5. Graphic illustration of granular time-stretching by 0-7r (jamshark70) Code

    ... trig = Impulse.ar(trigFreq) * (phase + grainDur < BufDur.kr(bufnum)), sig = TGrains.ar(2, trig, bufnum, 1, phase + grainHalfDur, grainDur); Out.ar(out, sig); }).add; s.sync; synth = Synth(\grains, [bufnum: buf]); }; )

  6. Melodic, beat driven, evening synthesis. by willschrimshaw (willschrimshaw) Code

    ... rate = Drand([-12, -7, 5, -24, -8, 11, 12, 24].midiratio, inf); snd = Mix(TGrains.ar(2, Impulse.ar(trate), b, rate, LFNoise2.ar(0.1,BufDur.kr(b)), dur, 0, SinOsc.ar(0.1), 2)); Out.ar(out, Pan2.ar(snd, pos, amp)); }).add; S ...

  7. Micro-Rythms and micro-melodies with granular synthesis. by jeromelapuyadelahorgue (jerome.lapuyade.lahorgue) Code

    ... =1,pan=0,freq=440,out,dur; var sig,env,trig; trig=Impulse.ar(freq); //sig=TGrains.ar(2,trig,~sample1,freq,dur:1/freq,amp:1); sig=GrainBuf.ar(2,trig,BufDur.kr(~sample1)/freq,~sample1,freq,pos:0,pan:0); env=Env.adsr.ar(doneAction:2, ...

  8. sctweets by rukano by rukano (rukano) Code

    ... ]).sum!2}// DAF #sc b=Buffer.read(s,"*/*v".pathMatch@0);play{x=SinOsc;ring4(ar(TGrains,2,kr(Impulse,ar(x,[1,3],0,10,[9,20])),b,1,ar(x,1/9),0.01),ar(x,1e3))*9} b=Buffer.read(s,"*/*v".pathMatch[0]);play{TGrains.ar(2,Impulse.kr([9,19]*LFNois ...

  9. Granular Sampling GUI Demo 2 by bruno (Bruno Ruviaro) Code

    ... TIONS // Convert transpSlider values (in semitones) // to rate values for TGrains (1 = no transp): transpToRate = {arg transp; transp.linexp(-24, 24, 0.25, 4)}; // Display file names on random places on window displayFileName ...

  10. SCTweets - 140 Character - swiki repost by zecraum (zecraum) Code

    ... ]).sum!2}// DAF #sc b=Buffer.read(s,"*/*v".pathMatch@0);play{x=SinOsc;ring4(ar(TGrains,2,kr(Impulse,ar(x,[1,3],0,10,[9,20])),b,1,ar(x,1/9),0.01),ar(x,1e3))*9} b=Buffer.read(s,"*/*v".pathMatch[0]);play{TGrains.ar(2,Impulse.kr([9,19]*LFNois ...

1 2 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow