Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (3894) Code (643) Doc (1121) Help (424) Quark (1675) Plugin (31) SCDoc ↗ Forum ↗ Google ↗
  1. Pbind Help

    ... 5, 3, 4], inf ) * 200, \dur , 0.1).play; ( // a SynthDef SynthDef ( \test , { | out, freq = 440, amp = 0.1, nharms = 10, pan = 0, gate = 1 | var audio = Blip .ar(freq, nharms, amp); var env = Linen .kr(gate, doneAction: 2); OffsetOut .ar(ou ...

  2. LinRand Help

    ... se skewed towards hi. See also: Rand , ExpRand ( SynthDef ( \help_LinRand , { | out = 0, minmax = 1 | Out .ar(out, FSinOsc .ar( LinRand (200.0, 10000.0, minmax), 0, Line .kr(0.2, 0, 0.01, doneAction:2)) ) }).send(s); ) // towards hi ( Routi ...

  3. Streams-Patterns-Events2 Help

    ... rom the pattern 5.do({ b.next.postln; }); // print 5 values from the stream ) Prout is a Pattern that returns a Routine. The same function argument is supplied as is supplied to Routine. ( var a, b, c; a = Prout .new({ 3.do({ arg i; 3.rand. ...

  4. PV_Div Help

    ... of the LPF UGen. The transfer function is estimated by dividing the FFT of the output, by the FFT of the input, and looking at the magnitudes in the result. ( s.waitForBoot { var fftsize = 16384; b = Buffer .alloc(s, fftsize) } ); ( x = { ...

  5. Pser Help

    ... }); ) Pser used as a sequence of pitches: ( SynthDef ( \help_sinegrain , { arg out=0, freq=440, sustain=0.05; var env; env = EnvGen .kr( Env .perc(0.01, sustain, 0.2), doneAction:2); Out .ar(out, SinOsc .ar(freq, 0, env)) }).add; ) ( a = P ...

  6. Pstutter Help

    ... ; ) Pstutter used as a sequence of pitches ( SynthDef ( \help_sinegrain , { arg out=0, freq=440, sustain=0.05; var env; env = EnvGen .kr( Env .perc(0.01, sustain, 0.2), doneAction:2); Out .ar(out, SinOsc .ar(freq, 0, env)) }).add; ) ( c = P ...

  7. GeneralHIDSpec Help

    ... = GeneralHIDSpec .new( a ); ( // defining the spec. // trick: look at the debug output, by using each input thing on the gamepad and use the first two numbers posted as indexes // example output of debug: [ 3, 2, 0.49803921568627, nil ] // ...

  8. Pshuf Help

    ... }); ) Pshuf used as a sequence of pitches: ( SynthDef ( \help_sinegrain , { arg out=0, freq=440, sustain=0.05; var env; env = EnvGen .kr( Env .perc(0.01, sustain, 0.2), doneAction:2); Out .ar(out, SinOsc .ar(freq, 0, env)) }).add; ) ( a = P ...

  9. Pxrand Help

    ... ); ) Pxrand used as a sequence of pitches: ( SynthDef ( \help_sinegrain , { arg out=0, freq=440, sustain=0.05; var env; env = EnvGen .kr( Env .perc(0.01, sustain, 0.2), doneAction:2); Out .ar(out, SinOsc .ar(freq, 0, env)) }).add; ) ( a = P ...

  10. Pfset Help

    ... tion to evaluate when the pattern is stopped, or when the supplied pattern runs out of values. For example, if you loaded a Buffer in the initializer function, you could free it in the cleanupFunc. ( var a, b; a = Pfset ({ ~legato = 0.3; ~d ...

prev 11 12 13 14 15 16 17 18 19 20 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow