Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (3519) Code (203) Doc (848) Help (193) Quark (2225) Plugin (50) SCDoc ↗ Forum ↗ Google ↗
  1. RedLZW Doc

    ... 3, 3, 3, 3, 3, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3]; b= RedLZW.compress(a); b.size/a.size; //compressed to 60% c= RedLZW.decompress(b); a==c a= "TOBEORNOTTOBEORTOBEORNOT".ascii; b= RedLZW.compress(a); b.size/a.size; //compressed to 66% c= ...

  2. HilbertPDNIm Doc

    ... FFT analysis here! fftResponse = fft( kernel.as(Signal), Signal.newClear(kernel.size), Signal.fftCosTable(kernel.size) ); // find (& trim magnitude) fftMag = fftResponse.magnitude; fftMag = fftMag.copyFromStart((kernel.size/2).asInteger); f ...

  3. HilbertPDNRe Doc

    ... FFT analysis here! fftResponse = fft( kernel.as(Signal), Signal.newClear(kernel.size), Signal.fftCosTable(kernel.size) ); // find (& trim magnitude) fftMag = fftResponse.magnitude; fftMag = fftMag.copyFromStart((kernel.size/2).asInteger); f ...

  4. asStringWithFrac Quark

    + Integer { asStringWithFrac { |fracSize = 3| ^(this.asString ++ ".".extend( fracSize+1, $0 )); } } + Float { asStringWithFrac { |fracSize = 3| var val; val = this.round( 10 ** (fracSize.neg) ); ^(val.asInteger.asString ++ "." ++ ( val.abs. ...

  5. plusContiguousBlockAllocator-uReserve Quark

    + ContiguousBlockAllocator { uReserve { |address, size = 1, warn = true| var block = array[address - addrOffset] ?? { this.prFindNext(address) }; var new; if(block.notNil and: { block.used and: { address + size > block.start } }) { if(warn) ...

  6. cycle Quark

    ... orjmoins(f)) }} } } symGroup { var in, al; var tolist = { |ar| [Array.series(ar.size, 1),ar].flop }; var boucle = { |tl, res| var tmp; if (res.isNil) {res=[tl[0]]; boucle.(tl,res)} {tmp=tl.detect{|it| res.last.last == it.first}}; if ((tmp.i ...

  7. extJITLibGuis Quark

    ... | // which options to support? numItems = numItems ?? { max(8, this.controlKeys.size) }; ^NdefGui(this, numItems, nil, bounds, options: preset); } } + ProxySpace { gui { | numItems, bounds, preset| numItems = numItems ?? { max(12, this.envi ...

  8. Vector Quark

    ... s in R^N RealVector[slot] : AbstractVector { species {^this.class} *canonB { |i,size| ^this.newFrom(size.collect { |j| (i == j).binaryValue }) } *rand { |size = 2, lo = 0.0, hi = 1.0| ^this.newFrom(size.collect { rrand(lo, hi) }) } *rand2D ...

  9. EnttecDMXUSBPro Quark

    ... alse, false ); } /* init{ // DMX.device = this; } */ createSendHeader{ arg data_size = 512; // header consists of: 0x7E, label (in this case 6), datasize low byte, datasize high byte; // ser.write(chr(data_size & 0xFF)) // ser.write(chr((da ...

  10. Size Doc

    Size: Filter: Description Class methods Inherited class methods Undocumented class methods new Instance methods Inherited instance methods Undocumented instance methods == asPoint asRect asSize hash height printOn storeArgs width Help templ ...

prev 1 2 3 4 5 6 7 8 9 10 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow