-
... |value| "%/%".format( value.asInteger, denom.asInteger ) }; interpretFunc = { |string| if( string.includes( $/ ) ) { string = string.split( $/ ); denom = 2**(({ string[1].interpret }.try ? denom).log2.round(1).clip(0,10)); string = string[ ...
-
... avis-url] [![Test Coverage][coveralls-image]][coveralls-url] Utility to parse a string bytes (ex: `1TB`) to bytes (`1099511627776`) and vice-versa. ## Installation This is a [Node.js](https://nodejs.org/en/) module available through the [np ...
-
... val=0; func.value(spec.map(val) ) }; }); ^specFunc; } mapSpec {var func, spec, stringSpec, funcString, newString, stripFunc; if( this.collect({|item| item.isFunction }).includes(true), { func = this.select({|item| item.isFunction })[0]; sp ...
-
... key ); } *asKey { |something| switch( something.class, Symbol, { ^something }, String, { ^something.asSymbol }, Integer, { ^dict.at( something ) }, { ^nil } ); } *asID { |something| switch( something.class, Symbol, { ^dict.at( something ) ...
-
... ---------------------- // *new { arg owner, target, data; // types DOMDocument, String, String ^super.new.init(owner, DOMNode.node_PROCESSING_INSTRUCTION, target, data); } // end new // --- getTarget() : String ----------------------------- ...
-
... chordnames; var scale, scales, scalenames; var chordmenu, scalemenu, play; var fString, fundamental=60; var setting, point, k, scaleOrChord, scaleChordString; var playMode, fundNoteString; var noteArray, noteRecFlag; var playmodeSC = "chord ...
-
... corator = cw.decorator; addrIP = GUI.staticText.new( cw, Rect( 0, 0, 100, 16 )).string_( client.addr.ip.asString ).font_( font ).align_( \right ); addrPort = GUI.staticText.new( cw, Rect( 0, 0, 40, 16 )).string_( client.addr.port.asString ) ...
-
... w= Window .new.front; // store various kinds of objects in the drag source // a string source a= DragSource (w, Rect (10,10,150,20)).align_( \center ); a.object= "I am a string source" ; // a Float source b= DragSource (w, Rect (10,40,150,2 ...
-
... (pv.rotateOscWidth.curvelin(0, 2pi, 0, 1, 4.3)) ; oscWidthLabel = StaticText() .string_("π").fixedWidth_("deg".bounds.width * 1.2); cycAllChk = CheckBox() .action_({ |cb| var val = cb.value; pv.allCyc_(val); }) .value_([pv.cycRotate, pv.cyc ...
-
... me); AppClock.sched(0, { reconnectButton.visible = false; connectionStatusLabel.string = "connecting.."; connectionStatusLabel.visible = true; }); }, { this.enqueueChatMessage(SCLOrkChatMessage.new( chatClient.userId, [ chatClient.userId ], ...