-
... urce = { |envir| loop { (0..envir.max).do { |i| envir.dt.wait; "PINK outchan: ".post; q.chantest.pink.play(i.postln); defer { try { q.chantest.butz.do {|but, buti| var butval = (i == buti).binaryValue; but.value_(butval); } } } } } }; q.cha ...
-
... serial-A1001NeZ" f = SCPyduino .new(d); //wait ~three secs f.firmataVersion; // posts the version of Firmata returned from the microcontroller if //connection is ok f.close; //close the SerialPort connection. Accessing Instance and Class Va ...
-
... efresh; ) The library of Pen functions is stored in drawFuncs DrawIcon .names.dopostln; // post all available iconNames ( w = GUI .window.new( "drawFuncs" ).front; k = DrawIcon .drawFuncs.keys.asArray .select({ |item| [ '-' , '!' ].includes ...
-
... s = m.at(2); buffer.numChannels = m.at(3); buffer.sampleRate = m.at(4); " done".postln; // must try here -- if completionFunc fails the queue gets stuck try { completionFunc.value(buffer); } { |error| error.reportError; "Error occurred duri ...
-
JSONlib { var <>postWarnings; var <>useEvent; var <>customEncoder; var <>customDecoder; *new { |postWarnings = true, useEvent=true, customEncoder=nil, customDecoder=nil| ^super.newCopyArgs(postWarnings, useEvent, customEncoder, customDecode ...
-
"startup example - customising Menus.".postln; // choose which server to use, // e.g. for teaching, take internal, so scope works Server.default = s = Server.internal; { try { Server.local.window.close } }.defer(0.5); s.options .numAudioBus ...
-
... ackground)}, //restore background 3, {"TODO disposalMethod==3 restore previous".postln} ); }; if(images.size>1, { //if animated gif Routine({ while({win.isClosed.not}, { //TODO check userinputflag here (images.wrapAt(index).control.duration ...
-
/////////// EXAMPLE PROCESS SETUP //////////// // // post all found processes: // (q.dir.ntmi +/+ "*processes/*.scd").pathMatch.collect { |path| // path.basename.splitext[0].asSymbol; // }.postcs; // [ 'rjkChaos', 'allArm', 'bleepo', 'brush ...
-
... =argamp; start=0; end=start+argsize; this.size=argsize; if(size==0,{"nuller!!!".postln}); pos=pos; amp=1; rms=0.5;//kann man ausrechnen; peaks=ot*2; delta=0.5//kann man ausrechnen; } init{arg argspbl,argpar,argpos,argstart,arglength,argamp, ...
-
... ef(\sines3, {|t_trig= 0| var f= \freq.kr(400!3, 1/25); Timer.kr(t_trig).poll; //post time between updates in seconds LeakDC.ar(Splay.ar(SinOsc.ar(f, 0, 1/3))); }).play(fadeTime: 3); sequencer.accelAction= {|xyz| Ndef(\sines3).set(\freq, xyz ...