Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (5266) Code (160) Doc (3338) Help (578) Quark (1166) Plugin (24) SCDoc ↗ Forum ↗ Google ↗
  1. Environment Doc

    ... ions within an Environment, so it returns the return value of the function. For example ( a = Environment.make({ ~a = 100; ~b = 200; ~c = 300; }); a.postln; ) ⧉ ✔ creates an environment, while a.use({ ~a + ~b + ~c }).postln; ⧉ ✔ evaluates t ...

  2. Launchpad by olafhochherz (olafhochherz) Code

    ... cause i never programmed a GUI before, they might be a little bit esoteric. use examples will follow ... Launchpad{ classvar <>midiout; classvar <>pads;//2DARRAY classvar nonr,nofr,cor;//MIDI RESPONDER FUNCTIONS *initClass{ if(La ...

  3. SWBusNode Quark

    ... that the scale factor of the SWDataNode is not represented on the bus itself. - Example - // define the network x = SWDataNetwork .new; // get data input from incoming serial data // (from an XBee network) q = XBeeSMS .new( "/dev/ttyUSB0" , ...

  4. UMap Quark

    ... _(0.3); } guiColor { ^guiColor ? (this.class.defaultGUIColor) } } UMap : U { /* example: x = UChain([ 'sine', [ 'freq', UMap() ] ], 'output'); x.prepareAndStart; x.stop; */ classvar <>allUnits; classvar <>currentBus = 0, <>maxBus = 499; cla ...

  5. Young Mr. Markov by paparde (Paparde) Code

    ... ----------------------------------------------------------[STEP 2] // |Examples A B C D E ~min = 3; //MINOR notes (A, D, E) |~min 0 0 8 2 2 ~maj = 8; //MAJOR notes (C, F, G) |~maj 0 0 4 8 2 ~dim = 1; //DIMINISHED note ...

  6. SequenceableCollection Doc

    ... the bounds of the collection (too low or too high), SuperCollider returns nil . Example: a = [100, 200, 300]; a.at(0); // Returns 100 (the first item) a[0] // Same as above (syntactic sugar; shortcut) a[2]; // Returns 300 (the third item) a ...

  7. FRP Doc

    ... le ENdef . The recommended way to use FRP in FPLib is with ENdef as seen in the example below. The do and fire methods should be used only for quick testing, not for actual instruments or guis. ( //Setup GUI a = Slider(); b = Slider(); w = ...

  8. Tendency Quark

    ... may be treated as a 'mean'). If supplied, the defDist is overridden. ( // basic Example. g = Tendency.new( Env([1.0, 0.5, 1.0], [0.5, 0.5]), Env([0.9, 0.0, 0.9], [0.8, 0.2], [-10, 5])); n = 500; // get 500 samples o = n.collect({arg i; i = ...

  9. NodeProxy Help

    ... y jitlib_efficienc y jitlib_fading jitlib_asCompileString NodeProxy_roles First Example s.boot; a = NodeProxy .new.play; // play to hardware output. a.fadeTime = 2; // fadeTime specifies crossfade // set the source a.source = { SinOsc .ar([ ...

  10. granular AM synthesis by 56228375 (56228375) Code

    My first composition that goes beyond tweaking documentation examples. It uses a kind of granular synthesis where each grain is a short AM synthesized fragment. No filters or other effects are used. With some OSC based "score" visualization ...

prev 511 512 513 514 515 516 517 518 519 520 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow