-
... ) * (10 * amp) ) }).store ); ) // start a process ( q.rout = Routine { var dt; loop { dt = exprand(0.01, 1.2); Synth ( \help_PlayBuf , [ \bufnum , q.b[ \apollo ], \rate , 0.06 * [1, 2, 3, -1, -2, -3].choose + 1, \offset , 1.0.rand, \sustai ...
-
... sound = BufRd.ar( numChannels: sampleNumChannels, bufnum: bufnum, phase: phase, loop: 0, interpolation: 4 // cubic interpolation ); sound = DirtPan.ar(sound, ~dirt.numChannels, pan); OffsetOut.ar(out, sound) }, [\ir, \ir, \ir, \ir, \ir, \ir ...
-
... (voices.size>0, { ^voices[0].frame; }, { ^0; }); } play {|path, out, amp, rate, loop, attack, curve, startFrame| var file= SoundFile.openRead(path.standardizePath); if(file.notNil, { if(channels.includes(file.numChannels), { //"%: %Ch, %Hz" ...
-
... ode = \clip, clipSoftness = 0| { var val = 0, newVal; UMIDIDict.start( false ); loop { newVal = UMIDIDict.getEvent( *filter.next[[0,1,2,3]] ) ? val; 2.do({ if( newVal.isKindOf( IdentityDictionary ) ) { newVal = newVal.values.asArray.first; ...
-
... Action: 2) * Blip.ar(\freq.kr, 20) ) }).add; s.sync; //-- PLAY ( Tdef(\xthat, { loop { (instrument: \thatblip, note: rrand(-3, 10), octave: [5, 6], amp: 0.01).play; 0.02.wait; } }).play ); //-- STOP Tdef(\xthat).stop; //-- FREE Tdef(\xthat) ...
-
... }) } findWindow { arg layout; var windowClass; windowClass = Window.implClass; loop { if(layout.class === windowClass,{ ^layout }); if(layout.respondsTo('findWindow'),{ // SCTopView and children ^layout.findWindow }); if(layout.respondsTo( ...
-
... }) } findWindow { arg layout; var windowClass; windowClass = Window.implClass; loop { if(layout.class === windowClass, { ^layout }); if(layout.respondsTo('findWindow'), { // SCTopView and children ^layout.findWindow }); if(layout.respondsT ...
-
... e.endSecond; views[ \endSecond ].clipHi = inSndFile.fileDuration ? inf; views[ \loop ].value = inSndFile.loop.binaryValue; views[ \rateRatio ].value = inSndFile.rate; views[ \rateSemitones ].value = inSndFile.rate.ratiomidi.round( 1e-6); { ...
-
... \buffer, rate, trigger, startPos.linlin(0,1,0, \buffer.numFrames), 0)*mul;}], ['loop', {arg rate=1 -> [0.1,10], trigger=1 -> [0,1, {|val| val.round(1)}], startPos=0 -> [0,1], mul=1 -> [0,2]; PlayBuf.ar(\buffer.numChannels, \buffer, rate, tr ...
-
... (128, 64, width, height)).front; point= Red3DPoint(RedVector3D[0, 0, 0.5]); //--loop w.draw{ theta= theta+speed; point.rotation= RedVector3D[theta, theta*2, theta*3]; point.update; //--render point.render(1, 300); //1= exaggerate, 2= standa ...