Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (424) Code (21) Doc (170) Help (55) Quark (170) Plugin (8) SCDoc ↗ Forum ↗ Google ↗
  1. Signal Help

    ... a real and imaginary signal in place . ( var size = 512, real, imag, cosTable, complex; real = Signal .newClear(size); // some harmonics real.sineFill2([[8], [13, 0.5], [21, 0.25], [55, 0.125, 0.5pi]]); // add a little noise real.overDub( ...

  2. hypotApx Help

    ... + abs(y) - ((sqrt(2) - 1) * min(abs(x), abs(y))) hypotApx is used to implement Complex method magnitudeApx. This should not be used for simulating a doppler shift because it is discontinuous. Use hypot. See also hypot , atan2 .

  3. PhidSlot Help

    ... e, ( PhidSlot( 0, 3, a, inf )*12 ).round(1), \dur, 0.25 ).play; p.stop; // more complex example, showing multichannel expansion and sequences of slots: p = Pbind( \degree, ( PhidSlot( Pseq([[0,1],2,5],inf), 3, a, inf )*12 ).round(1), \dur, ...

  4. FFTTrigger Help

    ... ggers (defaults to 0.5) polar - a flag. If 0.0, the buffer will be prepared for complex data, if > 0.0, polar data is set up. ( s.boot.doWhenBooted{ b = Buffer .alloc(s, 512); }; ) // Reminder: This isn't the intended typical usage! It's OK ...

  5. PhidKey Help

    ... ree, ( PhidKey( \lx, a, inf )*12 ).round(1), \dur, 0.25 ).play; p.stop; // more complex example, showing multichannel expansion and sequences of slots: p = Pbind( \degree, ( PhidKey( Pseq([[\lx,\ly],\rx,\ry],inf), a, inf )*12 ).round(1), \d ...

  6. Point Help

    ... ate values to a multiple of quantum. Conversion asPoint returns the receiver. asComplex returns a complex number with x as the real part and y as the imaginary part. asString return a string representing the receiver. asShortString return a ...

  7. PG_06f_Server_Control Help

    ... fNameOfSecondEffectInChain , (argument list for the second effect) ).play; More complex arrangements are possible through nesting, and parallelizing Pfx or Pfxb patterns using Ppar and its cousins. This example uses Pfxb to isolate a pair o ...

  8. Partial-Application Help

    ... on. It only applies to a single method, list, or dictionary call, not to a more complex nested expression. for example: f = _ + 2; f is now a function of one argument. f.value(7); it is equivalent to having written: f = { |x| x + 2 }; (exce ...

  9. ClientVsServer Help

    ... the advantages of object oriented programming while doing so. Encapsulating the complexities and bookeeping greatly reduces the chance of bugs in your own code. Figure 3. Sclang as a high-level client. Language wrapping allows the user to a ...

  10. Onsets Help

    ... , loop: 1); chain = FFT (b, sig); onsets = Onsets .kr(chain, MouseX .kr(0,1), \rcomplex ); // You'll hear percussive "ticks" whenever an onset is detected pips = WhiteNoise .ar( EnvGen .kr( Env .perc(0.001, 0.1, 0.2), onsets)); Out .ar(0, P ...

prev 1 2 3 4 5 6 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow