Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (72) Code (1) Doc (25) Help (18) Quark (28) SCDoc ↗ Forum ↗ Google ↗
  1. extCollection-normalize2 Quark

    + ArrayedCollection { normalize2 { arg max=1.0; // normalization as done on audio signals var maxItem = this.maxItem.max( this.minItem.neg ); if( max == 1.0 ) { ^this.collect { |el| (el / maxItem) }; } { ^this.collect { |el| (el / maxItem) ...

  2. TimeSpecsExt Quark

    ... the future (this == 0).if({ ^NilTimeSpec.new }, {^BasicTimeSpec(this) }); } } +ArrayedCollection { asTimeSpec { ^BasicTimeSpec(*this) } } +Nil { asTimeSpec { ^NilTimeSpec.new } } +Quant { asTimeSpec { ^BasicTimeSpec(this.quant, this.phase, ...

  3. TimeSpecsExt Quark

    ... the future (this == 0).if({ ^NilTimeSpec.new }, {^BasicTimeSpec(this) }); } } +ArrayedCollection { asTimeSpec { ^BasicTimeSpec(*this) } } +Nil { asTimeSpec { ^NilTimeSpec.new } } +Quant { asTimeSpec { ^BasicTimeSpec(this.quant, this.phase, ...

  4. asStringWithFrac Quark

    ... s.frac* (10**fracSize) ).round(1).asInteger.asStringToBase(10,fracSize)); } } + ArrayedCollection { preExtend { |size, item| var arraySize; case { (arraySize = this.size) > size } { ^this[ arraySize - size .. ]; } { arraySize < size } { ^(i ...

  5. extBufEnvir Quark

    + ArrayedCollection { toBuffer { arg buffer; var numChannels, numFrames, coll; if(this.at(0).isArray) { numChannels = this.size; numFrames = this[0].size; coll = this.lace; } { numChannels = 1; numFrames = this.size; coll = this; }; // buff ...

  6. extArrayedCollection Quark

    ... mbisonic Toolkit (ATK) is a soundfield kernel support library. // // Extension: ArrayedCollection // // The Ambisonic Toolkit (ATK) is intended to bring together a number of tools and // methods for working with Ambisonic surround sound. Th ...

  7. extCollection Quark

    ... replaceAt(";", args.size-2); args= args ++ brak2 ++ "};" ^args.interpret; } } + ArrayedCollection { removeAtAll {arg indexArr; var count = 0, removeItem; indexArr.do{|item| removeItem = item - count; this.removeAt(removeItem); count = count ...

  8. extCollectionGNUPlot Quark

    + ArrayedCollection { gnuplot { GNUPlot.plot( this ) } gnuplotd { |ns=1,label=""| GNUPlot.plotd( this, ns, label ) } gnuhistod { |ns=1,label="",verb=true| GNUPlot.plotdHisto( this, ns, label, verb ) } } + Env { gnuplot { GNUPlot.plotenv( th ...

  9. extCollectionGNUPlot Quark

    + ArrayedCollection { gnuplot { GNUPlot.plot( this ) } gnuplotd { |ns=1,label=""| GNUPlot.plotd( this, ns, label ) } gnuhistod { |ns=1,label="",verb=true| GNUPlot.plotdHisto( this, ns, label, verb ) } } + Env { gnuplot { GNUPlot.plotenv( th ...

  10. extArray-fft Quark

    + ArrayedCollection { fft { arg imag = 0;// shortcut for fft var size, sig; size = this.size.nextPowerOfTwo; sig = Signal.newFrom( this.extend( size, 0 ) ); if( imag.size != size ) { imag = imag.asCollection; imag = imag.extend( size, imag[ ...

1 2 3 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow