Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (3508) Code (266) Doc (1134) Help (293) Quark (1779) Plugin (36) SCDoc ↗ Forum ↗ Google ↗
  1. Writing Primitives Help

    ... this matter ? PyrSlot *receiver = g->sp - 1 ; // an instance of Cocoa PyrSlot *array = g->sp; // an array // ... the body return errNone; } This example does not set the receiver, so the primitive returns the original receiver unchanged (s ...

  2. SCLOrkChatMessage Doc

    ... es that this message was received as an echo from the server. . recipientIds An Array of recipiendIds that the message was intended for. If the first element of the array is 0 then this was a broadcast message sent to all connected clients. ...

  3. Preduce Quark

    ... '-' ], inf ), *b); x = a.asStream; x.nextN(20); ) // set theory examples: // an array of sets k = [[0, 3, 4], [0, 5, 7], [1, 3, 4], [-3, 4, 5]].collect( _ .as( Set )); // combine the array with a scrambled version of itself. // set operatio ...

  4. ModernLife Quark

    ... /dead state of cells and the population count. The first argument is the states array, which is an array of arrays, where each array is the states of rows from top to bottom. Run the code below: a = ModernLife .new(8, 80); a.userFunc_({ |st ...

  5. oscillOrc2 Quark

    ... \audio); Instr([\oscillOrc2,\randKlang ],{arg freq=500,qnty=10,amp; Klang.ar(`[ Array.rand(qnty.asInteger, 600.0, 1000.0), nil, nil ], freq/2000,0,qnty.reciprocal * amp) ; },nil,\audio); Instr([\oscillOrc2,\geomKlang],{arg freq=500,freqOffs ...

  6. DissonanceCurve Quark

    ... w { arg freqs, amps, highInterval = 1902; /*@ desc: Create a new curve based on arrays of data. This would mostly be used for additive synthesis. freqs: An array of signficant frequencies of a timbre amps: An array of amplitudes for the giv ...

  7. Pindex Doc

    ... exing Pindex : Pattern : AbstractFunction : Object pattern that indexes into an array Source: ListPatterns.sc See also: Pswitch Description This allows an ArrayedCollection to be accessed within patterns. Class Methods Pindex. new ( listPat ...

  8. RedKMeans Quark

    ... t; if(centroids.isEmpty, { //only create new centroids after a reset centroids= Array.fill(k, {vectors.choose}); }, { if(k!=centroids.size, { //if k changed then truncate or extend if(k<centroids.size, { centroids= centroids.copyRange(0, k- ...

  9. prayerBell Quark

    ... ch.clip(0, 1) * sing); // resonant filter bank snd = DynKlank.ar( specificationsArrayRef: `[ // Array of filter frequencies [ (first = LFNoise1.kr(0.5).range(2424, 2444)) + Line.kr(20, 0, 0.5), first + LFNoise1.kr(0.5).range(1,3), LFNoise1. ...

  10. MixerGUIDef Quark

    ... Point defining the total height and width of the channel's GUI. viewProtos: An Array, listing the object prototypes that will be used for each view in the channel GUI. The object prototypes may be classes or instances of AdhocClass. viewBo ...

prev 81 82 83 84 85 86 87 88 89 90 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow