Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (513) Code (102) Doc (171) Help (75) Quark (148) Plugin (17) SCDoc ↗ Forum ↗ Google ↗
  1. MedianSeparation Doc

    ... MedianSeparation expects mono input ( { var harmonic, percussive; var source = PlayBuf.ar(1,d,loop:1); var fft = FFT(a,source,0.5); //can try overlap 0.25 harmonic = PV_Copy(fft, b); percussive = PV_Copy(fft, c); //#harmonic,percussive = M ...

  2. SCLOrkSamples Quark

    ... n be turned off at end of synth currentRoutine = Routine.new({ currentSynth = { PlayBuf.ar( numChannels: channels, bufnum: buffer, rate: BufRateScale.kr(buffer), doneAction: 2 ) }.play; currentButton = button; (buffer.duration).wait; // cle ...

  3. Looping Station by rukano (rukano) Code

    ... oneAction:2) }).add; SynthDef(\buf_player, { |out, buf, rate=1| var snd = PlayBuf.ar(1, buf, rate, loop:0, doneAction:2); OffsetOut.ar(out, snd!2) }).add; };

  4. saybuf_synthdefs Quark

    ... 0.01) // ... and wrap to legal range .wrap(0, BufFrames.ir(buf) - 1); var snd = PlayBuf.ar(1, buf, BufRateScale.ir(buf) * ratesig * vibsig, startPos: startpos, doneAction: 2 ); Out.ar(out, Pan2.ar(snd, pan, amp) ) }).add; ); /*** 3. ringmod ...

  5. InstrGateSpawner Doc

    ... er({ arg sample,start=0,dur,env; var gate; gate = Trig1.kr(1.0,dur / Tempo.kr); PlayBuf.ar( sample.numChannels, sample.bufnumIr, sample.pchRatioKr, 1, start * sample.beatsizeIr, 1 ) * EnvGen.kr(env,gate, doneAction: 2) },[ Sample("a11wlk01. ...

  6. WFSSynthDef Quark

    ... noiseLevel )) * LFPulse.kr(10 * rate); }, 'buf': { |bufP, rate = 1, loop = 0.0| PlayBuf.ar(1, bufP, rate * BufRateScale.kr( bufP ), loop: loop); }, 'disk': { |bufP| DiskIn.ar(1, bufP ); }, 'live': { |input = 1| AudioIn.ar( input ); } )[audi ...

  7. TimeStretch2 Quark

    ... stretch*(1-startPos)); jump = fftSize/stretch/2; pos = [pos, pos + jump]; sig = PlayBuf.ar(1, bufnum, 1, trig1, pos, 1)*SinOsc.ar(1/(2*trigPeriod)).abs*0.5; sig = sig.collect({ |item, i| chain = FFT(LocalBuf(fftSize), item, hop: 1.0, wintyp ...

  8. SampleDescript copy Quark

    ... r]} {buf = activeBuffer[activeBuffer.size.rand]} }; if(buf.size == 1) {{Pan2.ar(PlayBuf.ar(1, buf[0], doneAction: 2, rate: BufRateScale.ir(buf[0]) * rate), pan, level)}.play(outbus: out)} {{Balance2.ar(PlayBuf.ar(1, buf[0], doneAction: 2, r ...

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

    ... 12);f.(0.1672)}).play//s.reich play{t=Impulse.ar(75);Sweep.ar(t,150).fold(0,1)*PlayBuf.ar(1,Buffer.read(s,"s*/*".pathMatch[2]),1,t,Demand.ar(t,0,Dbrown(0,2e5,2e3,inf)))!2} play{f={LocalBuf(512)};r={|k,m|RecordBuf.ar(Pulse.ar(8,m,6e3),k)}; ...

  10. PG_Cookbook01_Basic_Sequencing Help

    ... , start, time = 1, stretch = 1, amp = 1, attack = 0.01, decay = 0.05| var sig = PlayBuf .ar(1, bufnum, rate: stretch.reciprocal, startPos: start, doneAction:2); sig = PitchShift .ar(sig, pitchRatio: stretch) * EnvGen .kr( Env .linen(attack, ...

prev 41 42 43 44 45 46 47 48 49 50 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow