Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... 789+/"; *encode {|str| var out= List.new; str.clump(3).do{|x| var bin; switch(x.size, 3, { bin= x[0].ascii.leftShift(16)+x[1].ascii.leftShift(8)+x[2].ascii; 4.do{|y| out.add(map[63.leftShift(3-y*6).bitAnd(bin).rightShift(3-y*6)])}; }, 2, { ...

  2. extFunctionDef Quark

    ... argVals; argNames = this.argNames; argVals = this.prototypeFrame.keep(argNames.size); ^().putPairs([argNames, argVals].flop.flatten) } }

  3. 3a_userDir_POOL Quark

    ... . /2_process/: */ (NTMI.dir.userPOOL +/+ "/2_process/*.scd").pathMatch.printAll.size; // You can set these by hand in your startup file, // before you run NTMI, e.g. load just these ndefs: NTMI.process.namesToLoad = [ 'bleepo', 'filterFB', ...

  4. 180-distance_lines Quark

    ... .0.rand; RedObject(world, loc, vel, 0, mass, mass*10); //world,loc,vel,acc,mass,size }.dup(n); //--loop w.draw{ Pen.fillColor= Color.grey(0, cnt.fold(0, 500)/10000); Pen.fillRect(Rect(0, 0, width, height)); world.objects.do{|o| world.object ...

  5. LocalOut Help

    ... ray - an Array of channels or single output to write out. You cannot change the size of this once a SynthDef has been built. LocalOut writes to buses that are local to the enclosing synth. The buses should have been defined by a LocalIn uge ...

  6. PartConvBuffer Quark

    ... /www.gnu.org/licenses/>. */ PartConvBuffer : AbstractRichBuffer { classvar <>fftSize = 2048; // changing this requires all data files to be rewritten classvar <>verbose = true; var <path; *new{ |path, numFrames| ^super.new(numFrames).path_( ...

  7. midi_cc Quark

    ... romRange = unit.get( \fromRange ); if( endPoint.isNil or: { unit.get( \device ).size == 0 or: { endPoint.device.find( unit.get( \device ) ).notNil; } }) { if( endPoint.isNil or: { unit.get( \port ).size == 0 or: { endPoint.name.find( unit.g ...

  8. Writing_Unit_Generators Help

    ... nction in the InterfaceTable and passing it the name of the unit generator, the size of its C data struct, and pointers to functions for constructing and destructing it. The macro DefineSimpleUnit makes this more brief. #define DefineSimple ...

  9. VoicerGUI Quark

    ... owview for player processes which can be assigned to buttons // presently not resizeable (until I learn more about flowviews) classvar height = 500, width1 = 300, width2 = 140; // width1 is for controlView; width2 for processView // allow p ...

  10. 231-3Dpoints Doc

    ... ct(world, loc, vel, acc, speeds[i]*100, 50); }.dup(n); //world,loc,vel,acc,mass,size points= {|i| Red3DPoint(RedVector3D[i+1/n-0.5, 0, 0])}.dup(n); //--loop w.draw{ Pen.fillColor= Color.white; world.objects.do{|o, i| thetas[i]= thetas[i]+sp ...

prev 191 192 193 194 195 196 197 198 199 200 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow