-
... 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 ...
-
... | 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; // ...
-
... 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 ...
-
... 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 ...
-
... _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' ...
-
... 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 ...
-
... 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 ...
-
GameLoopGUI{ classvar <instance; var <gameloop, <x, <y, <entManager, <repManager; var dimensions, gridSize, cellSize, <mainView, mainBounds, w = 175, h = 335; var leftRotationRoutine, rightRotationRoutine, fwdRotationRoutine, backRotationRo ...
-
... 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 ) } ...
-
... 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 ...