Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... d a..k with 11 params named a..k ( ~names = "abcdefghijk".collectAs(_.asSymbol, Array); ~names.do { |n| Spec.add(n, [100, 1000, \exp]); Ndef(n, { var freqs = ~names.collect(_.kr); Splay.ar(Ringz.ar(Dust.ar(5 ! freqs.size), freqs, 0.2)); }); ...

  2. BBCutBlock Quark

    ... whichcut,beatdelay, timedelay, msg; //or need to adapt scheduler to send single arrays as single Msgs List[msg] timedmsgs.add([cumul[whichcut]+beatdelay, timedelay, msg]); } //create [delta, bundle] list, will be sorted already cacheMsgs {a ...

  3. ddwPatternLengthEstimation Quark

    ... en }) }) } } // not exact -- works if there are no embedded patterns within the arrays being laced // otherwise the estimate will be too low // should be adequate for my purposes + Place { estimateLength { var listLen; (repeats === inf).if( ...

  4. Spectrogram Quark

    Spectrogram { classvar <server; var window; var <fftbuf, fftDataArray, fftSynth; var inbus, <>rate; var <bufSize, binfreqs; // size of FFT var <frombin, <tobin; var framebuffer, <seconds, image, imgWidth, imgHeight, <>intensity, runtask; va ...

  5. Chucking Quark

    ... that should be inherited by all chuckables should be defined here AbstractChuckArray { classvar collection, // each chuckable is a collection of related objects <>directories, <>defaultSubType = \basic, // set this when loading a piece to ...

  6. XiiEffectGUI Quark

    ... dAct = \addToTail; fxOn = if(setting.notNil, {setting[6]}, { false }); slider = Array.newClear(param[0].size); //bufnum = nil; specs = param[2]; // mono or stereo? channels = ch; stereoChList = XiiACDropDownChannels.getStereoChnList; monoCh ...

  7. FilePlayerGui Quark

    ... = { |sl| var lmval,lval; lval = sliderSpec.map( sl.value ); lmval = fp.lineMap.array.indexInBetween( lval ).floor; if ( ( (sl.value) - sliderSpec.unmap( fp.lineMap.at( lmval ) ) ) < 0.1 ){ fp.goToLine( lmval ); }{ fp.goToLine( (lval/linedi ...

  8. RedLZSS Quark

    ... out.add(this.prBitStrToInt(input.copyRange(i, i+7))); i= i+8; }); }); }); ^out.array; } *binaryStringToBytes {|str| pad= 0; ^str.clump(8).collect{|x| while({x.size<8}, { x= x++0; pad= pad+1; }); this.prBitStrToInt(x); }; } *bytesToBinarySt ...

  9. SCLOrkClockState Quark

    ... Bar.asFloat, baseBarBeat: baseBarBeat.asFloat); ^state; } toMessage { var msg = Array.newClear(14); // Sanitize numbers to floats before serializing. applyAtBeat = applyAtBeat.asFloat; applyAtTime = applyAtTime.asFloat; tempo = tempo.asFloa ...

  10. EaseOverview Quark

    ... ther notation e= EaseInAtan (10) e.value(0.5) //--ramping a= (0..100)/100; //an array with 100 values 0.0-1.0 a.collect{ |t| EaseInQuad .(t)}.plot; a.collect{ |t| EaseOutQuad .(t)}.plot; a.collect{ |t| EaseInOutQuad .(t)}.plot; //--similar ...

prev 111 112 113 114 115 116 117 118 119 120 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow