-
... tartoffset (samples or seconds) - end: end of the region (samples or seconds) - loop: loop mode on or off (can be changed during playback, crossfade time does not apply here) - rate: playback rate (semitones or ratio) rateScale: a scale val ...
-
... evt = BufSndFile("@resources/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; // ...
-
... evt = BufSndFile("@resources/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; // ...
-
... (path.finished, {^arrive.value }, {^seek.value } ); } } Path{ var <wayPoints, <>loop, curWayPoint = 0; *new { arg wayPoints, loop = false; ^super.newCopyArgs(wayPoints, loop).init } init{ //PathsManager.add(this) } setNextWayPoint{ if (wayP ...
-
... there is a shortcut to create a Prout: p(func) // example ( var a; a = Prout ({ loop { 1.yield; 2.yield; 7.yield; 10.do { 1.0.rand.yield } }}); a.asStream.nextN(100).plot; ) // sound example ( SynthDef ( \help_sinegrain , { arg out=0, freq= ...
-
... values. TaskProxy. default a default source, if none is given. the default is a loop that does nothing with a 1.0 beat wait time. TaskProxy. defaultQuant TaskProxy. defaultQuant = value set the default quantization value for the class. (def ...
-
... d // every thread, also a Routine, has a random generator seed: ( r = Routine({ loop({#[1,2,3,4,5].choose.yield }) }); r.randSeed = 1923; ) // using the routine to fill an array Array.fill(7, r); // setting the random generator seed back to ...
-
... evt = BufSndFile("@resources/sounds/a11wlk01-44_1.aiff", rate: (i-6).midiratio, loop: [true,false].wrapAt(i) ).makeUChain( \wfsSource ) .releaseSelf_(true).startTime_(i/2).track_(i).fadeOut_(1).fadeIn_(1); if( evt.duration == inf ) { evt.du ...
-
... ed. // record controller values, from gamepads and such. adc, haho, 2005-2008 CtLoop : EventLoop { classvar <>minTime = 0.001, <>verbose=false; var <key, <>ctlMap, <list, <task, <isRecording=false, then, <>tempo=1, <>start=0, <>length=1, <> ...
-
variable length looping engine q = (); q.maxRecLength = 10; //in seconds q.numChans = 2; q.maxRecLengthSamples = q.maxRecLength * s.sampleRate; q.recLengthSamples = 0; q.recBuf = Buffer.alloc(s, q.maxRecLengthSamples, 2); q.play ...