Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (5475) Code (807) Doc (1945) Help (663) Quark (2016) Plugin (44) SCDoc ↗ Forum ↗ Google ↗
  1. PV_JensenAndersen Help

    ... ouseX .kr(0.1,1.0)); SinOsc .ar([440, 445], 0, Decay .ar(0.1 * detect, 0.1)); }.play; ) // using test sound: // mouse y is difficulty, mouse x is threshold ( { var source1, detect, difficulty, rate; rate = LFNoise1 .kr(0.3).exprange(1, 5); ...

  2. SoundFile Help

    ... the pattern. (The associated files are closed. These objects can be used to cue playback buffers) SoundFile .collect( "sounds/*" ).do { |f| f.path.postln }; *use(path, function) Reads the data of a SoundFile, evaluates the function (passing ...

  3. modulo Help

    ... 5%3 //should post 2 19.1%6.4 //also works on floats { FSinOsc .ar(100, 4) % 1 }.play // results in a sawtooth wave

  4. PG_Cookbook02_Manipulating_Patterns Help

    ... [0.7, 0.3], inf ), melodies), \dur , Pwrand (#[0.25, 0.5], #[0.4, 0.6], inf ) ).play; ) p.stop; Reading an array forward or backward arbitrarily Here's an interesting one. We have an array of possible output values, and we want the pattern ...

  5. DynKlang Help

    ... fset added to all frequencies at initialization time. // frequency modulation ( play { DynKlang .ar(`[ [800, 1000, 1200] + SinOsc .kr([2, 3, 4.2], 0, [13, 24, 12]), [0.3, 0.3, 0.3], [pi,pi,pi] ] ) * 0.1 }; ) // building new synths every 2 s ...

  6. PingPong Help

    ... like a ping-pong ball. PingPong is actually a compound built upon RecordBuf and PlayBuf . bufnum - first index of a multi channel buffer . inputArray - an array of audio inputs, the same size as your buffer. delaytime - delay time in second ...

  7. Pan2 Help

    ... elp-Pan2" , { Out .ar(0, Pan2 .ar( PinkNoise .ar(0.4), FSinOsc .kr(2), 0.3)) }).play;

  8. LinXFade2 Help

    ... gnal pan - cross fade position from -1 to +1 level - a control rate level input play({ LinXFade2 .ar( FSinOsc .ar(800, 0, 0.2), PinkNoise .ar(0.2), FSinOsc .kr(1)) });

  9. GrayNoise Help

    ... SynthDef ( "help-GrayNoise" , { arg out=0; Out .ar(out, GrayNoise .ar(0.1) ) }).play; )

  10. Ppatlace Help

    ... th ( \help_sinegrain , [ \freq , x.next.midicps, \dur , 0.2]); 0.17.wait; }) }).play; ) // a more complicated example: ( c = Ppatlace ([ Pxrand ([ Pseq (#[0, -2, -3, -5, -7], 1), Pwhite (-12, 4, 3), Pshuf (#[0, -2, -3, -5, -7], 1) ], inf ), ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow