Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... index, key; if( path[0] == replaceChar ) { index = path.indexOf( $/ ) ?? { path.size}; key = path[1..index-1].asSymbol; path = path[index+1..]; if( this.at( key ).isNil) { "%:getPath - % not found" .format( this, key ) .warn; ^path.standard ...

  2. TraerRungeKuttaIntegrator Quark

    ... 4Forces= List(); k4Velocities= List(); } allocateParticles { while({s.particles.size>originalPositions.size}, { originalPositions.add(TraerVector3D.new); originalVelocities.add(TraerVector3D.new); k1Forces.add(TraerVector3D.new); k1Velociti ...

  3. README Quark

    ... eError` will be thrown if `str` is not a string. ### Class Method: Buffer.alloc(size[, fill[, encoding]]) <!-- YAML added: v5.10.0 --> * `size` {Number} * `fill` {Value} Default: `undefined` * `encoding` {String} Default: `utf8` Allocates a ...

  4. plusObjectCheckArgs Quark

    ... arg + Object { *checkArgs{ |class, method, args, types| [args, types, (0..(args.size-1))].flopWith{ |aarg, type,i| if( ( (type.size > 0) and: { type.collect{|x| aarg.isKindOf(x) }.reduce('||').not }) || ( (type.size == 0) && aarg.isKindOf(t ...

  5. SCKnob Help

    ... ounds) bounds_ (rect) calcConsts (rect) draw Examples // examples ( var window, size = 32; // try different sizes - from 15 to 200 or more! window = Window .new( "Knob" , Rect (640,630,270,70)).front; k = Knob .new(window, Rect (20, 10, siz ...

  6. NamedList Quark

    ... s, sortFunc| if (names.isNil or: { sortFunc.notNil }) { names = SortedList(dict.size, sortFunc); dict.keysDo(names.add(_)); } { }; ^this.newUsing( names.collect(dict[_]), names ); } // make names and dict init { |argnames| if (argnames.isNi ...

  7. DXEnvFan Quark

    ... n from 3.9 onwards, if you have the choice. NOTE: Depending on the multichannel sizes it might be necessary to increase server resources, i.e. the number of interconnect buffers (e.g. s.options.numWireBufs = 256; s.reboot). See Ex.8 from DX ...

  8. TestSatieBuffers Quark

    ... should contain a Buffer stored under its name" ); } test_name_not_symbol { var size = satie.audioSamples.size; satie.loadSample("foobar", a11wlk01); this.assertEquals( satie.audioSamples.size, size, "loadSample should not allow non-Symbol ...

  9. LSPlant Quark

    ... nt { var <>initHeading, <>pointStack, winBounds, <>angle, <>initPosition, <>drawSize, <>headingStack, offspring; var win, view, drawRoutine, <>speed, colorFunc; var willDraw, penDown; *new {|argStartPoint, argInitHeading, argAngle, argWinBo ...

  10. SWWatcherNode Quark

    ... es[id]; } } SWCombineNode{ var <network; var <>id; var <data; *new{ |id,network,size| ^super.new.init(id,network,size); } init{ |ky,netw,size| id = ky; network = netw; data = Array.fill( size, 0 ); } set{ |index,newdata| data.putEach( (inde ...

prev 31 32 33 34 35 36 37 38 39 40 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow