-
... es; if(start==end, {end= 1}); spf.start= start; spf.end= end; }; cursorUpdater= Routine({ var lastFrame= 0; inf.do{ var f= spf.frame; if(f!=lastFrame, { lastFrame= f; waveView.timeCursorPosition= f; }); (1/fps).wait; }; }).play(AppClock); } ...
-
... ln; a.prepareForPlay(sf.path, sf.path, sf.numFrames.rand, len); sf.close; }; r= Routine .run{ 1.wait; inf .do{ a.play(a.loadedKeys.choose.postln, 4, 2.rrand(6), 4, loop:2); 2.rrand(5).wait; }; }; ) r.stop; a.free; //--example that chops up ...
-
... atsPerBar, this.baseBarBeat]); } startAliveThread { if(thread.isNil) { thread = Routine { // var testStream = Pseq([Pn(0, 200), Pn(1, inf)]).asStream; loop { // randomized sync times, to avoid contention at integer valued beats // stealing ...
-
... { this.task.stop; view.background = this.color.copy.alpha_( 0.33 ); this.task = Routine({ var n; n = (this.time / 0.2).asInteger; n.do({ |i| view.background = this.color.copy.alpha_( i.linlin(0,n-1,0.33,0) ); 0.2.wait; }); }).play( AppClock ...
-
... // set initial display value namev.string_(name); updater.isNil.if({ updater = Routine.new({ // routine to update every beat var waitTime; { model.isRunning }.while({ this.updateCounter; if(metro.notNil and: { metro.synth.notNil }) { curre ...
-
... r.dataAction= {|num, data, accel| s.bind{~synth.set(\data, data[~channel])}; }; Routine.run({ inf.do{ fftArray= bus.getnSynchronous(numBins); (1/61).wait; //a tiny bit faster than framerate }; }); win= Window("fft", Rect(10, 100, width, hei ...
-
... via ```MeTA:samples``` * subdirectory ```images``` contains images (no loading routine implemented yet) * subdirectory ```midi``` contains midi-files (no loading routine implemented yet) ## Acknowledgements Alberto de Campo and Hannes Hoel ...
-
... ple example use, plotting some fake data: ( // some fake data e = 0; f = 0; r = Routine{ loop { e = 0.0.rrand(1); f = 0.0.rrand(1).cos; 0.5.wait; } }.play; // look at the data m = SWPlotterMonitor.new( { //data to plot [ [e, f], // view the ...
-
... ar <running; // true o false: Si el sintetizador está activo o pausado var pauseRoutine; // Rutina de pausado del Synth var resumeRoutine; classvar settings; // Métodos de clase ////////////////////////////////////////////////////////////// ...
-
... quit: { arg reply, name=\default; var s = sf.value(name); if(s.serverRunning, { Routine.run { s.quit; s.wait(\done); 0.1.wait; reply.value; } }, reply); }, sendMsg: { arg reply, name=\default ... msg; sf.value(name).sendMsg(*msg); }, /*send ...