Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (130) Code (3) Doc (37) Help (20) Quark (67) Plugin (3) SCDoc ↗ Forum ↗ Google ↗
  1. README Quark

    ... for RedJWindow to fake primitive * 100602 - removed bugfixes for Collection and FloatArray and moved the species {^this.class} fix into the RedVector class itself * 090629 - helpfiles and examples now uses view redirect instead of GUI. bugf ...

  2. Core_z354_analyzer Quark

    ... ergy buildBandEnergy = { |residual, numFrames| var be = Array.fill(numFrames, { FloatArray.fill(25, 0.0) }); if(residual.notNil and: { residual.bandEnergy.notNil }) { numFrames.do { |fr| if(fr < residual.bandEnergy.size) { 25.do { |b| if(b ...

  3. RedVector Quark

    ... of redUniverse toolkit /redFrik //--vector of any dimension RedVector[float] : FloatArray { species {^this.class} mag {^this.sum{|x| x*x}.sqrt} distance {|redVec| ^(this-redVec).mag} manhattan {|redVec| ^(this-redVec).abs.sum} dot {|redVec ...

  4. heatMap Quark

    ... , netsize, w, numchans, heatmaps; sf = SoundFile.new; sf.openRead(path); farr = FloatArray.newClear(sf.numFrames * sf.numChannels); sf.readData(farr); sf.close; numchans = sf.numChannels; numrows = (numchans / rowlen).ceil.asInteger; netsiz ...

  5. PartConvBuffer Quark

    ... n ) { 0-f } { f }; }) ) * (-27.dbamp); if( outPath.isNil ) { ^ir } { ir = ir.as(FloatArray); sf = SoundFile.new; outPath = outPath.getGPath; if(sf.openWrite(outPath), { sf.writeData(ir); sf.close; ^outPath; }, { "%:generateDanStowelIR : Fai ...

  6. Collection-extensions Quark

    ... // wavetable buffer plotter + Buffer { plotWavetable { |name, bounds| this.getToFloatArray(wait: 0.05, action: { |v| defer { var result = FloatArray.new(v.size div: 2); v.pairsDo({ |a, b| result.add(a+b) }); result.plot; } }); } } + Object ...

  7. Collection-extensions Quark

    ... // wavetable buffer plotter + Buffer { plotWavetable { |name, bounds| this.getToFloatArray(wait: 0.05, action: { |v| defer { var result = FloatArray.new(v.size div: 2); v.pairsDo({ |a, b| result.add(a+b) }); result.plot(name, bounds); } }); ...

  8. WFPathBufferView Quark

    ... = SoundFile.openRead( pth ); if( sf.notNil ) { if( sf.numChannels == 9 ) { fa = FloatArray.newClear( sf.numFrames * sf.numChannels ); sf.readData( fa ); wfspath = WFSPath2.fromBufferArray( fa ); wfspath.name = pth.basename.removeExtension; ...

  9. SS_SCMIRAudioFileNormalization Quark

    ... settop = offset+normfeatures-1; //find maxItem, minItem, mean, stddev //array = FloatArray.newClear(SCMIR.soundfile.numFrames*normfeatures); maxval = array[offset]; minval = array[offset]; //mean = 0.0; //find stats for(0,numframes-1,{|i| t ...

  10. WFSPathView Quark

    ... \select: { |bt, rect| // \select //var scaleAmt; Pen.width = 1; Pen.lineDash_( FloatArray[ 1,1 ] ); Pen.addRect( rect.insetBy( rect.width * 0.25, rect.height * 0.25 ) ); Pen.stroke; }, \move: { |bt, rect| // \move Pen.width = 0.8; 4.do({ | ...

prev 1 2 3 4 5 6 7 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow