Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... for. This ugen is used where sample accurate output is needed. *ar(bus, channelsArray) - write a signal to an audio bus. *kr(bus, channelsArray) - write a signal to a control bus. bus - the index, or array of indexes, of busses to write to. ...

  2. Object Help

    ... t of a different class. [1, 2, 3].as( Set ); Pwhite (0.0, 1.0, 10).as( Set ); asArray Returns an Array with the receiver, unless it is an Array already. [1, 2, 3].asArray; 5.asArray; asCompileString Returns a String that can be interpreted ...

  3. Assignment Help

    ... form by the compiler. The two syntaxes are equivalent. Series Assignment to an ArrayedCollection or List There is a special syntax for doing assignments to a range of values in an ArrayedCollection or List. a = (0,10..200); a[5..10] = 1; / ...

  4. DetectIndex Help

    ... , add) bufnum - index of the buffer in - the input signal. ( var max = 300; t = Array .series(max, 0, 1).curdle(0.06).scramble.flat; b = Buffer (s, t.size, 1); // alloc and set the values s.listSendMsg( b.allocMsg( b.setnMsg(0, t) ) ); { va ...

  5. Set Help

    ... set of all parts a.isSubsetOf(b); // false: no set is ever part of itself. b.asArray.reduce( \union ) == a; // true parts may not contain other elements that original b.asArray.reduce( \difference ).isEmpty; // true. // you can use Set to ...

  6. PdegreeToKey Help

    ... streams the scales accordingly keypattern integer index into the scale scale an array stepsPerOctave the number of steps per octave in the scale. The default is 12. ( Pbind ( \note , PdegreeToKey ( Pseq ([1, 2, 3, 2, 5, 4, 3, 4, 2, 1], 2), ...

  7. Pproto Help

    ... vent for an event stream superclass: Pattern *new(makeFunction, patternOrPatternArray, cleanupFunction) Pproto uses the makeFunction to allocate resources (buffers, buses, groups) and create a protoEvent that makes those resources available ...

  8. OutputProxy Help

    ... hiteNoise .ar, 0.0); left.source.postln; ) The source method is also defined in Array, so that the source can be obtained this way as well: ( var out; // Pan2 uses an OutputProxy for each of its two outputs. out = Pan2 .ar( WhiteNoise .ar, ...

  9. UsingMIDI Help

    ... you could have a separate set of response functions for each channel. ~noteOn = Array .fill(16, IdentityDictionary .new); MIDIIn .noteOn = { |port, chan, num, vel| ~noteOn[chan].do( _ .value(port, chan, num, vel)) }; // this function will r ...

  10. Function Help

    ... b; (a * b).postln }.value(3, 10); // different way of expressing the same valueArray(... args) Evaluates the FunctionDef referred to by the Function. If the last argument is an Array or List, then it is unpacked and appended to the other a ...

prev 11 12 13 14 15 16 17 18 19 20 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow