Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1094) Code (315) Doc (268) Help (77) Quark (422) Plugin (12) SCDoc ↗ Forum ↗ Google ↗
  1. Groups Help

    ... rand2 returns a random number from -1 to 1, used here for a random pan source = Pan2 .ar( Decay2 .ar( Impulse .ar( Rand (0.3, 1), 0, 0.125), 0.3, 1, SinOsc .ar( SinOsc .kr(0.2, 0, 110, freq))), Rand (-1.0, 1.0)); Out .ar(outBus, source * di ...

  2. jitlib_efficiency Help

    ... ~s2 = { SinOsc .ar(740, 0, 0.1) }; ~s3 = { Pulse .ar(140, 0.2, 0.1) }; ~out = { Pan2 .ar(~mix.ar(1), MouseX .kr(-1,1)) }; ~mix.read(~s1); ~mix.read(~s2); ~mix.read(~s3); //resetting the source stops reading ~mix = \default ; //now you can a ...

  3. recursive_phrasing Help

    ... var window; window = Env .sine(sustain, amp * AmpCompA .kr(freq)); Out .ar(out, Pan2 .ar( SinOsc .ar(freq), pan ) * EnvGen .ar(window, doneAction:2) ) } ).store; SynthDef ( \noiseGrain , { arg out = 0, freq=800, sustain=0.001, amp=0.5, pan ...

  4. ProxyMixer Help

    ... scroller appears ( // test too many 10.do { |i| p[( "test" ++ i).asSymbol] = { Pan2 .ar( Ringz .ar( Impulse .ar(exprand(0.5, 4)), exprand(300, 3000), 0.02), 1.0.rand2, 0.2) }; }; ) 10.do { |i| p[( "test" ++ i).asSymbol].playN(vol: linrand( ...

  5. Tour_of_UGens Help

    ... .options.numOutputBusChannels = 8; s.options.numInputBusChannels = 8; s.boot; ) Pan2 - equal power stereo pan a mono source arguments: in, pan position, level pan controls typically range from -1 to +1 { Pan2 .ar( BrownNoise .ar, MouseX .kr ...

  6. Pdefn Help

    ... and(0.01, 1); u = SinOsc .ar(d * 300, u, rrand(0.1,1.2) * d, 1) }; Out .ar(out, Pan2 .ar( SinOsc .ar(u + 1 * freq, 0, amp * env), pan)); }).store; s.boot; ) ( Pdefn ( \deg , Pseq ([0, 3, 2], inf )); Pset ( \instrument , \Pdefhelp , Ppar ([ ...

  7. MFCC Help

    ... (b, in); array= MFCC .kr(fft); array.size.postln; Out .kr(0,array); Out .ar(0, Pan2 .ar(in)); }.play ) c= Bus .new( 'control' , 0, 13); //poll coefficients c.getn(13,{ arg val; {val.plot;}.defer}); //Continuous graphical display of MFCC va ...

  8. Pdef Help

    ... and(0.01, 1); u = SinOsc .ar(d * 300, u, rrand(0.1,1.2) * d, 1) }; Out .ar(out, Pan2 .ar( SinOsc .ar(u + 1 * freq, 0, amp * env), pan)); }).store; ) s.boot; Pdef ( \metronom , Pbind ( \instrument , \Pdefhelp , \dur , 1, \degree , 16, \legat ...

  9. PG_Cookbook07_Rhythmic_Variations Help

    ... c(0.01, decay), doneAction: 2); sig = BPF .ar(sig, freq, rq, env); Out .ar(out, Pan2 .ar(sig, pan)) }).add; ~commonFuncs = ( // save starting time, to recognize the last bar of a 4-bar cycle init: { if(~startTime.isNil) { ~startTime = thisT ...

  10. jitlib_basic_concepts_02 Help

    ... ) * 0.5, ({ exprand(200, 4000) } ! 2), 0.05) } // here is another proxy: ~y = { Pan2 .ar( Dust .ar(20), 0) }; ~y.bus; // it has two channels, just as the ~x., but it plays on another (private) bus. // note that ~y is not audible directly, / ...

prev 1 2 3 4 5 6 7 8 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow