Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1702) Code (152) Doc (537) Help (191) Quark (806) Plugin (16) SCDoc ↗ Forum ↗ Google ↗
  1. SCMAudioHelper Quark

    ... assen (2022Q2) b = Buffer.readChannel(s, SCMAudioHelper.fullpathAudiofile("amen-loop.wav").postln, channels: 1); b.plot; b.play; */ SCMAudioHelper { classvar <audioDirectory; *initClass { audioDirectory = PathName.new(this.filenameSymbol.as ...

  2. test UScoreEditor rendering Quark

    ... | var evt; evt = BufSndFile("sounds/a11wlk01-44_1.aiff", rate: (i-6).midiratio, loop: [true,false].wrapAt(i) ).makeUChain .releaseSelf_(true).startTime_(i/2).track_(i).fadeOut_(1).fadeIn_(1); if( evt.duration == inf ) { evt.duration = 8; // ...

  3. sampleEfx Quark

    ... bufnumKr, Latch.kr(pchRatio,trig), trig, offset, // latched by the trig 1.0) // looping * EnvGen.kr( windowEnv, trig, timeScale: timeScale ) }).madd(amp); },[ \sample, \unipolar, \pchRatio, [0.02,1.0], \qnty, // static \unipolar, EnvSpec( E ...

  4. Ppostln Quark

    ... attern] } embedInStream { arg inval; var outval; var stream = pattern.asStream; loop { prefix !? _.post; outval = stream.next(inval).postln; inval = outval.yield; }; } } + Pattern { ppostln { ^Ppostln( this ) } poll { |prefix| ^Ppostln( thi ...

  5. WFSSynthDef Quark

    ... _y, i_z; plane: i_a, i_d; linear/cubic: bufXYZ, bufT, i_x, i_y, i_z; buf: bufP, loop; live: input; */ posFunc = ( 'static': { |i_x, i_y, i_z| WFSPoint( i_x, i_y, i_z ); }, 'staticOut': { |i_x, i_y, i_z| WFSPoint( i_x, i_y, i_z ); }, 'plane' ...

  6. ShannonMindReadingMachine-test Quark

    ... e_(false); b = MindReadingMachine.new.verbose_(false); c = 0; d = 0; ) ( fork { loop { y = a.next(x ? [0, 1].choose); if(x == y) { c = c + 1 }; x = b.next(y); x.postln; if(x == y) { d = d + 1 }; y.postln; 0.2.wait; x = y; } } ) // sonified ...

  7. RedAbstractSampler Quark

    ... rface change: preload is not prepareForPlay. // 081220 made into a quark, added loop feature // 081221 now 8ch soudfiles maximum, added freeKey // 081225 added amp_ // 081228 added isPlaying, playingKeys, RedDiskInPlayer with helpfile // 09 ...

  8. GameLoopGUI Quark

    GameLoopGUI{ classvar <instance; var <gameloop, <x, <y, <entManager, <repManager; var dimensions, gridSize, cellSize, <mainView, mainBounds, w = 175, h = 335; var leftRotationRoutine, rightRotationRoutine, fwdRotationRoutine, backRotationRo ...

  9. extSimpleNumber-xlistrand Quark

    ... ions is exceeded // better not set maxRecursons to inf as it may cause infinite loop var res; res = this.rand; if( listToExclude.asCollection.includes( res ) && { maxRecursions > 0 } ) { ^this.xlistrand( listToExclude, maxRecursions - 1 ) } ...

  10. PsymNilSafe Quark

    ... n the Dictinonary return nil, then Psym's embedInStream can produce an infinite loop, as it never yields. PnNilSafe can't be wrapped around Psym, but the check with logical time can be built into Psym itself. The wrapping into PsymNilSafe c ...

prev 11 12 13 14 15 16 17 18 19 20 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow