Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (692) Code (80) Doc (247) Help (48) Quark (306) Plugin (11) SCDoc ↗ Forum ↗ Google ↗
  1. Pmulp Help

    ... g stream ends. see also: Pmul , Paddp ( var a, b; a = Pmulp (\freq, Pseq([2, 3, pi],inf), Pbind ( \freq , Pseq([100, 200, 300]))); x = a.asStream; 9.do({ x.next( Event .new).postln; }); ) sound example ( SynthDef ( \sinegrain , { arg out=0, ...

  2. writeAsPlist Help

    ... .writeAsPlist(" testWritePlist.plist" ); // cannot convert these objects [ Ref (pi), Pbind .new].writeAsPlist( "testWritePlist.plist" ); Dictionary [ \a -> "a" , "b" -> \b , 3 -> 3.0 ].writeAsPlist( "testWritePlist.plist" ); IdentityDiction ...

  3. jitlib_basic_concepts_01 Help

    ... source = y.sin * 0.2; // set its source now. y.source = { Saw .ar([300, 301], 4*pi) }; // the source can be of various type, one of them would be a number: y.source = 0.0; // post the source y.source; // end them, free their bus number y.cl ...

  4. SCFont Help

    ... CNumberBox (w, Rect (0, 0, 56, height+2)); n.font = Font (name, 13); n.object = pi; f.nextLine; }); w.front; ) ( var w,f,i=0; w = SCWindow ( "Fonts" , Rect (128, 64, 820, 760)); b = SCScrollView (w, w.view.bounds); b.decorator = f = FlowLay ...

  5. pvcalc Help

    ... in turn and re-running the synth: [mags * {1.5.rand}.dup(mags.size), phases + {pi.rand}.dup(phases.size)]; // Arbitrary filter, arbitrary phase shift //[mags.reverse, phases.reverse]; // Upside-down! //[mags.differentiate, phases.different ...

  6. String Help

    ... resentation of an argument. To print a % character use \\% . postf("this % a %. pi = %, list = %\n", "is", "test", pi.round(1e-4), (1..4)) this is a test. pi = 3.1416, list = [ 1, 2, 3, 4 ] format Returns a formatted string with arguments. ...

  7. SCImageKernel Help

    ... alid very basic verification to tell if all arguments of the shader are set. compile compile the SCImageKernel object (and cache it). Note: when rendered the first time, the kernel object is always compiled first. If you plan to change the ...

  8. SCScope Help

    ... ex, \bufnum , f.bufnum] , \addToTail // make sure it goes after what you are scoping ); // making noise onto the buffer d= SynthDef ( "noise" , { arg bus; var z; z = LFSaw .ar( SinOsc .kr(0.1).range(300,1000),[0,1]*pi) * 0.1; Out .ar(bus, z ...

  9. Functions and Sound Help

    ... t radians are, don't worry, just understand that it's a value between 0 and 2 * pi. (You can look at a trigonometry text if you really want more detail.) So if we made a SinOsc with a phase of (pi * 0.5), or one quarter of the way through i ...

  10. Complex Help

    ... ber) Complex exponentiation with base e . exp( Complex (2, 9)) exp( Complex (0, pi)) == -1 // Euler's formula: true squared Complex self multiplication. squared( Complex (2, 1)) cubed Complex double self multiplication. squared( Complex (2, ...

prev 1 2 3 4 5 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow