-
... fo //getting input label data inputArray = inputs.flop[0].collect{|item| item.asString.replace("space").toLower.asSymbol; }; mixTrackNames.do{|item| if(inputArray.includes(item), { thisInputLabel = inputs.flop[1][inputArray.indexOf(item)]; ...
-
DiffString { var <>insertFunc, <>removeFunc, <>swapFunc, <>keepFunc; var <>beginFunc, <>returnFunc, <>testFunc = true; var <>verbose = false; classvar <>tempFilePath = "~/Desktop/"; // state: var <prevTokens, <>tokenizer; *new { |insertFunc ...
-
... read recent lines, when they were written and by whom; one can search for text strings and by author names; and one can quickly grab lines of code for rewriting. Apart from documenting just in time programming sessions, all of this can be ...
-
... List { |... args| ^super.new.init( args.flat ); } // [\shift, \ctrl] etc. -- no Strings *fromNumber { |number| // as provided by mouseActions and keyActions ^this.fromList( *number.asBinaryString(24).indicesOfEqual( $1 ) ); } asNumber { var ...
-
... StaticText(w, Rect(j*(d/21)+5, 10, 30,10 )) .font_(Font("Helvetica", 8)) .string_(i.asString) } ; Array.series(14, 200, 50).do{|i,j| StaticText(w, Rect(d, j*(e/14)+20, 30, 10 )) .font_(Font("Helvetica", 8)) .string_(i.asS ...
-
... rse code. Morse looks dot-dash patterns (in MorseDict) for a given character or string and converts them to times for playback. Based on the Morse class by Hairi Vogel. http://en.wikipedia.org/wiki/Morse_Code , based on ITU recommendation I ...
-
... .4".postln; } *document { postDoc = Document.new("Radicles: " ++ Date.getDate.asString); } *libraries {var libsFolder; this.new; libsFolder = PathName(libPath).folders; libsFolder = libsFolder.reject({|item| item.folderName == ".git" }); ^( ...
-
... stcs p.midi.inspect // halo checking Halo.at(p.proxyspace[\osc])[\spec] // huh. string problem? d = Document.allDocuments.detect { |doc| doc.title.beginsWith("JITModPatch:") }; d.string d.string(0, 1 << 24); d.selectRange(0, 1 << 24); d.str ...
-
... doneAction, gate, mul, add, timeScale ) Array:fft ( imag ), Array:ifft ( imag ) String:spth / String.spath Synth_ID Synth:sched shortcut methods Synth:sched ( time, defName, args: [ arg1, value1, ... argN, valueN ], target, addAction ) Same ...
-
... { ^this.asArray + [ (24: 0, 25: 32, 29.97: 64, 30: 96)[fps] ? 0, 0,0,0,0]; } toString { ^"%:%:%:%".format( *([hours, minutes, seconds] .collect({ |item| item.asInteger.asSizedString( 2 ) }) ++ [ frames.asInteger.asSizedString( (fps-1).asIn ...