Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1139) Code (82) Doc (462) Help (88) Quark (506) Plugin (1) SCDoc ↗ Forum ↗ Google ↗
  1. SayBuf Quark

    ... gn * pos * BufSampleRate.ir(buf)) // add tiny offset so neg rate does not reach doneAction immediately + (rate.sign * 0.01) // ... and wrap to legal range .wrap(0, BufFrames.ir(buf) - 1); Out.ar(out, Pan2.ar( PlayBuf.ar(1, buf, rate, startP ...

  2. IntervalTable Doc

    ... uments: centsList A list of cent values out of which the classification will be done. tolerance Tolerance range in cents (+/- from a value). Inherited class methods Instance Methods Inherited instance methods Examples Use case examples: //I ...

  3. musicBox Quark

    /* This SynthDef is a haunted music box, done with modal synthesis. If you're interested, check out modalmarimba.scd. Essentially, everything in the "Modal Stuff" section is modeling a physical beam that's clamped at one end and hit at the ...

  4. WritingPrimitives Doc

    ... hod which is not usable in all instances. Here is an example of how this can be done: flop { _ArrayMultiChannelExpand ^super.flop // this gets executed if the primitive fails } ⧉ ✔ Note that returning anything besides errNone will result in ...

  5. Fb Quark

    ... this class has no way to know in which order the reading and writing will // be done. }; if (phasors.includesKey(frames)) { phase = phasors[frames]; } { phase = Phasor.ar(0, 1, 0, frames); phasors[frames] = phase; }; buf = LocalBuf(frames, ...

  6. metalPlate Quark

    ... late, for a bit of controllable percussive emphasis. Finally, there's a cheaply done filter with a roughly constant, positive db/oct slope to emphasise higher harmonics a bit more, which helps highlight some of the metallic parts of the Syn ...

  7. SCScrollTopView Help

    ... ounds of the enclosed content exceed the the bounds of this view. Autohiding is done independently for each axis. The default is true. autoScrolls_(bool) autoScrolls Set or return a Boolean value indicating whether this view scrolls automat ...

  8. WritingUGens Doc

    ... ly required in rare cases, typically for resource cleanup that cannot be safely done in a global object destructor. For example, the DiskIO UGens and UI UGens in DiskIO_UGens.cpp resp. UIUGens.cpp use the unload function to safely join thei ...

  9. BinaryOpUGen Doc

    ... an envelope ( { var trig; trig = SinOsc.ar(1) > 0.1; EnvGen.kr(Env.perc, trig, doneAction: Done.none) * SinOsc.ar(440, 0, 0.1) }.play ) // > outputs 0 or 1 ⧉ ✔ See Operators or the implementation of these in AbstractFunction for more detai ...

  10. Poll Doc

    ... ll(Impulse.ar(20), \test2) }.play(s); // if no arguments are given, the poll is done every 0.1 sec. { Line.kr(0, 1, 1).poll }.play(s); // send a '/tr' message back to the client. This can be useful if the server runs on another // computer ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow