-
... ; ^tripletDict.findKeyForValue(index); } size { ^genome.size } transcribe { arg string; var codons, size; codons = List.new; size = string.size; (size div: 3).do({ arg i; var triplet, value, j; i = i * 3; j = (i+2).clip(i, size); triplet = ...
-
... p, "w" );\ file.write(format( "-------------%-------------\ " , Date .getDate.asString) )\ \;\ \ \ ////////////////////////// GUI /////////////////////////////// \ \ w = SCWindow ( "ensemble" + myName, Rect ( SCWindow .screenBounds.width - ...
-
... ; allViews = (); updateActions = () .put(TextView.implClass, { |val, view| view.string = val.asCompileString }) .put(PopUpMenu.implClass, { |val, view| view.value = view.items.indexOfEqual(this.stringForPopUp(val)) ? 0 }) .put(EZSlider, { | ...
-
q.warnWin = { |q, string="?!?", title="?!?"| var w = Window("Warning: %".format(title)).front.alwaysOnTop_(true); var tv = StaticText(w, w.view.bounds); tv.background_(Color(1, 0.75)); tv.align_(\center); w.alpha_(0.9); tv.string_(string).f ...
-
... it as you wish. Usage: b = SpeechBuffer("I am Super... Collider", 3); // string, voice b.play; play{ PlayBuf.ar(1, b, BufRateScale.kr(b) * 0.5, loop:1)!2 } And you have to clean up your rendering directory with: SpeechBuf ...
-
NTMI.q.warnWin = { |q, string="?!?", title="?!?"| var w = Window("Warning: %".format(title)).front.alwaysOnTop_(true); var tv = StaticText(w, w.view.bounds); tv.background_(Color(1, 0.75)); tv.align_(\center); w.alpha_(0.9); tv.string_(stri ...
-
MorseDict: Filter: Description Class methods keys postKeys strings codes signs wordSigns at fromAscii letters letter Inherited class methods Instance methods Inherited instance methods Classes (extension) | HistoricalCommunication MorseDict ...
-
... matted text currently. You only have acces to the text-content of the view as a String . By default, SCTextView will recieve drags containing any Object , and insert them into the text asString . If you drag a file from the finder onto an S ...
-
... ews { |inPath| var dirname, basename; if( inPath.notNil ) { basename = inPath.asString.basename; dirname = inPath.asString.dirname; }; { views[ \basename ].string = basename ? ""; views[ \dirname ].string = dirname ? ""; }.defer; } value_ { ...
-
... mpanying Motif class? No, complicates easy creation of arrays //can add convert string to array format function to this class as class method! MotifCutProc : BBCutProc { var motiflist,indexfunc,phraselength; var motifpos,motifindex,currmoti ...