Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... PV_BrickWall . Class Methods . ar Arguments: in The input signal to transform. size The size of the FFT used for Weaver Half-Band filtering. mul Output will be multiplied by this value. add This value will be added to the output. Returns: ...

  2. ExtraWindows Quark

    ... (2*x/a) - (2/a) + 1).cosPi); }, { 1; })); } } ); } *prWindowFactory { arg type, size, pad = 0, a = 3, sym = true; var win; if (size == 1, { ^this.newClear(1).fill(1); }); win = this.newClear(size-pad-(sym.asInteger)) .fill(1) .waveFill(this ...

  3. FreqSpectrum Quark

    ... magnitude, phase; var mag, pha; mag = (magnitude == nil).if({ Array.fill(phase.size, { 1.0 }) }, { magnitude }); pha = (phase == nil).if({ Array.zeroFill(magnitude.size) }, { phase }); ^super.newCopyArgs(mag, pha) } *newComplex { arg compl ...

  4. GMGridView Quark

    ... = false; var thisDrawDotGrid = false; var gridColor; var gridWidth = 2; var caseSize; var thisGridSize; var nearestPoint; var pointDetectionRadius = 20; var drawNearestPoint = false; var isNearPoint = false; var pointRadius = 10; var dotRad ...

  5. UScoreEditorGUI_TopBar Quark

    ... Buttons }); } resetUndoRedoButtons{ views[\redo] .enabled_(this.scoreEditor.redoSize != 0) .stringColor_( Color.gray( [0.5,0][ UScoreEditor.enableUndo.binaryValue ] ) ); views[\undo] .enabled_(this.scoreEditor.undoSize != 0) .stringColor_( ...

  6. PeriodNode Quark

    ... nitClass { StartUp.add{ SynthDef("periodmerge".debug(\pn),{arg bufnum,start,end,size,mult,pan; var env=EnvGen.ar(Env.new([1,1,0], [size/BufSampleRate.ir(bufnum),0],[0,0]).debug(\env), doneAction: 2); var sam=PlayBuf.ar(1,bufnum,((end-start) ...

  7. WFSFocusDetector Quark

    WFSFocusDetector { var <>cornerPoints; var <>vectors; var <>size; var <>bypass = false; *new { |cornerPoints| ^super.newCopyArgs( cornerPoints ).init; } *basicNew { |cornerPoints, vectors, size| ^super.newCopyArgs( cornerPoints, vectors, si ...

  8. extWavetable Quark

    ... Boost library Special Functions, wrapped for (quadrature) waveshaping // NOTE: size must be N/2+1 for N power of two; N is eventual size of wavetable // first kind *chebyTFill { |size, amplitudes, normalize = true| ^Signal.chebyTFill(size, ...

  9. Smacof Quark

    ... { ^super.new.init } calc {|data, nDims = 2| coords = Array.newClear(nDims)!data.size; // make a harmonic metric into an inharmonic metric inharm = data.collect{|row| row.collect{|elem| if (elem == 0) {0} {elem.reciprocal} } }; // format met ...

  10. HilbertPDN 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 ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow