Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... 5; s.waitForBoot{ //--variables var theta= 0; var fps= 60; var arr= Array.fill(l, 0); var cnt= 0; //--window setup var width= l, height= l; var w= Window("waveform", Rect(99, 99, width, height), false); var u= UserV ...

  2. extInteger_1 Quark

    ... curing // outer groups mean related colors, inner groups same color var pairs = Array.newClear(this), n; colorGroups.do {|group,i| n = group.size; group.do {|item, j| item.isNumber.if { pairs[item] = [i, n - j - 1]; }{ item.do {|jtem| pairs ...

  3. miSCellaneous Quark

    ... quirements of the control of EventStreamPlayers with VarGui. Event patterns and array args focusses on passing arrays to synths with patterns. enum is a general enumeration method suited for many combinatorial problems such as listing subse ...

  4. HilbertH Doc

    ... ltiplied by this value. add This value will be added to the output. Returns: An array of channels: [real, imag] NOTE: The kernel used for Hartley Phasing filtering is windowed with the Signal: *kaiserWindow , where alpha is set to 1. . arRo ...

  5. CollidingGUI Quark

    ... ; } ); buttonPanel = CompositeView(win, Rect(940, 40, 80, 500)); soundButtons = Array.fill(8,{|i| [ Button(buttonPanel,Rect(0, i * 63, 60, 60)) .states_([[i]]) .action_({this.openBufferView(i)}) ] }); scopeBar = QScope2(win,Rect(10, 560, 99 ...

  6. UChainIOGUI Quark

    ... endant( unitInitFunc ); views[ \ctrl ].remove; }); views; }); } prScanForBus { |array, bus = 0| var neg; neg = (bus+1).neg; array.reverseDo({ |item| switch( item, neg, { ^false; }, bus, { ^true; } ); }); ^false; } makeUnitView { |scrollView ...

  7. MixerChannel4-order Quark

    ... save to determine if order-of-execution will have to be // adjusted preSends = Array.new; // initialize these arrays postSends = Array.new; patchesPlayed = Array.new; inbus.isNil.if({ // if in/out buses are nil, create them inbus = BusDict ...

  8. Working_with_HID Doc

    ... imilar to this: HID Element Data: devid: 0, elid: 18 element: page: 1 usage: 53 array value: 0, raw value: 128, physical value: 128, value: 0.50196081399918 ⧉ ✔ An element is the name for an element of the HID, it can represent for example ...

  9. cheappiano Quark

    ... own + 1) * 0.04, LFNoise2.ar([2000, 4000].asSpec.map(amp), 0.25)); snd = Mix.ar(Array.fill(3, { arg i; detune = #[-0.04, 0, 0.03].at(i); delay = (1 / (freq + detune).midicps); CombL.ar(hammer, delay, delay, 50 * amp) }) ); snd = HPF.ar(snd, ...

  10. Boids2D Quark

    ... var neighbors, vec, count, nearestNeighbors, velAvg, posAvg, nIdx; neighbors = Array.newClear(numBoids-1); nIdx = 0; // index for neighbors vec = RealVector2D.zero; // for rule 2 count = 1; // for rule 2 // get some averages posSum = posSu ...

prev 271 272 273 274 275 276 277 278 279 280 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow