Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (337) Code (37) Doc (64) Help (26) Quark (207) Plugin (3) SCDoc ↗ Forum ↗ Google ↗
  1. AudioMulchClock Quark

    ... pPriority; time.notNil and:{time.floor<=tick}}, { this.doSched(time-tick, queue.pop, avgs/tick.clip(1,10)); //note: avg.sum won't be correct before the first 10 ticks.. probably not a big deal in most cases. }); running= true; } doSched {|o ...

  2. EZSmoothRanger Quark

    ... idth; layout=argLayout; bounds.isNil.if{bounds = 350@20}; // if no parent, then pop up window # view,bounds = this.prMakeView( parentView,bounds); labelSize=labelWidth@labelHeight; numSize = numberWidth@labelHeight; // calcualate bounds # l ...

  3. openbci_gui_fftplot Quark

    ... passFilters, smoothFilters; var fft= DataFFT(board, 256); var fps= 60; var usr, pop1, pop2, pop3, pop4, btn1, btn2, pw, po; var horizontalScale, verticalScale, maxFreq, maxAmp; var f0= Font("Helvetiva", 16); var f1= Font("Helvetiva", 14); v ...

  4. SensorData Quark

    ... Factor2)*newval ); data = data.addFirst(newval); if ( data.size > ltlen, { data.pop( data.size - ltlen ); }); crossIDon = crossIDon + 1; crossIDoff = crossIDoff + 1; lastPeak[1] = lastPeak[1] + 1; if ( peaks.size > 0, { peaks.removeAllSuchT ...

  5. 2_inphluxgui Quark

    ... ds = g.bounds; var size = 170; var size2 = size * 2; var w, presl, insc, infModePop, infZoomSl, font, fontbig, infComp; font = Font(g.fontName, 13); fontbig = Font(g.fontName, 16); q.inph.ioWin = w = Window("inphlux", Rect.aboutPoint( (bnds ...

  6. 8_xflux Quark

    ... is missing and should be 1.".postln; zoom = 1; } { // all is well: zoom = vals.pop; #inIndices, diffs = vals.clump(vals.size.div(2)); }; // "xflux from % - % diffs:\n".postf(name, diffs.size); // "inIndices: % \n diffs: %\nzoom: %\n".postf ...

  7. Psieve Quark

    ... Queue min = indicesQueue.topPriority.round.asInteger; minIndices = indicesQueue.pop; // if more than one min is found, indices are collected in Dictionary while { indicesQueue.topPriority == min }{ minIndices.isInteger.if { minIndicesDict.c ...

  8. PatternBoxLauncherView Quark

    ... oxLauncherItemViewsStates].size; amountToMany do: { patternBoxLauncherItemViews.pop().dispose(); }; }); // Reuse existing patternBoxViews or add a new PatternBox. state[\patternBoxLauncherItemViewsStates] do: { |state, position| if (pattern ...

  9. SlicedSndFile Quark

    ... ; splitID = id.asString.split($_)[1..]; bufid = splitID.last.interpret; splitID.pop; name = splitID.join( $_ ).asSymbol; ^this.new( globalData[ id ], name, bufid ); } bufid_ { |newBufID| bufid = newBufID ?? { this.class.makeBufID; }; this.c ...

  10. MoscaRenderer Quark

    ... ); lowestElevation = 0; highestElevation = 0; speaker_array.collect({ |val| val.pop; }); azimuths = speaker_array.flat; vbap_setup = VBAPSpeakerArray(dimention, azimuths); }, 3, { dimention = 3; radiusses = Array.newFrom(speaker_array).coll ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow