Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... rrand(0.0, 0.5)).set; Pen .addArc((400.exprand(2))@(100.rand), rrand(10, 100), 2pi.rand, pi); Pen .perform([ \stroke , \fill ].choose); } } }; w = SCWindow .new( "DrawFunc Examples" ).front; w.view.background_( Color .white); 3.do{ |i| v = ...

  2. Loudness Help

    ... btain phons (relative dB), then a phon to sone transform. The final output is typically in the range of 0 to 64 sones, though higher values can occur with specific synthesised stimuli //assumes hop of half fftsize, fine b = Buffer .alloc(s, ...

  3. proxyspace_examples Help

    ... , 1), [1200, 1600], 0.1) + SinOsc .ar(60 * [1,1.1],0,0.2) }; ~out = { Pan2 .ar( PinkNoise .ar(0.1), LFClipNoise .kr(2)) }; setting the node controls ~out = { arg rate = 2; Pan2 .ar( PinkNoise .ar(0.1), LFClipNoise .kr(rate)) }; ~out.set( \r ...

  4. SCImageFilter Help

    ... computer // to its knees using addFilter and not applyFilter // kinda fast swapping test a = SCImage .new( "/Library/Desktop Pictures/Plants/Peony.jpg" ).scalesWhenResized_( true ).setSize(500, 400); a.plot; // look at me first - i am beau ...

  5. Semaphore Help

    ... the values to floats k = Routine { 0.5.wait; inf .do { |i| useAndModify.value([pi, 0.5pi, 2pi], "thread 2>" ); rrand(1, 5).wait; } }; u.play; k.play; );

  6. Literals Help

    ... 9 98.6 1.0 -0.5 Exponential notation is also supported. 1.2e4 1e-4 The constant pi can be appended to a number to create floating point constant: 2pi 0.5pi -0.25pi Numbers can also be written in radices other than base 10 up to base 36. The ...

  7. Harmonics Help

    ... , 1, 0).postln , true , true , true ); b.sine2(a.ramp(1.0, 1.0), a.sine(2.2, 0.5pi, 0.4, 0.2).postln , true , true , true ); b.sine2(a.ramp(1.0, 1.0), a.sine(pi, 0.25pi, 0.5, 0).postln , true , true , true ); y.free; pulse(wavelength, iphas ...

  8. File Help

    ... tire file as a String. readAllStringRTF Reads the entire file as a String, stripping RTF formatting. seek(offset, origin) moves the read/write pointer to a given location in the file, where offset is location given in bytes, and origin is t ...

  9. LocalBuf Help

    ... ckWall (chain, SinOsc .kr(rate * XLine .kr(1, 15 * [1, 1.6], sustain), Rand (0, pi)) ); Out .ar(out, IFFT (chain) * XLine .kr(1, 0.001, sustain, doneAction: 2)) // inverse FFT }).add; ) ( Pbind ( \instrument , \fftgrain , \rate , Pwhite (). ...

  10. TGrains Help

    ... channel (mono) buffer. Each grain has a Hann envelope (sin^2(x) for x from 0 to pi) and is panned between two channels of multiple outputs. TGrains.ar(numChannels, trigger, bufnum, rate, centerPos, dur, pan, amp, interp) numChannels - numbe ...

prev 1 2 3 4 5 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow