-
... les.do({ arg s; if ( bounds.contains(s.loc) == 1, { selected.add(s); // pass as ref?? s.select; }); }); bounds = Rect(0, 0, 0, 0); //avoid flashings ?? } draw { if ( visible == 1, { bounds.right = MouseX.kr(0, winRect.width, 0); bounds.bott ...
-
... (key); }); } } // for importing methods + Dictionary { asProtoImportable {} } + Ref { asProtoImportable { ^this.value.asProtoImportable } }
-
Klang sine oscillator bank Klang.ar(specificationsArrayRef, freqscale, freqoffset) Klang is a bank of fixed frequency sine oscillators. Klang is more efficient than creating individual oscillators but offers less flexibility. The parameters ...
-
... ng).gui }) },"Method search") }) }); Library.put(\menuItems,\introspection,\findReferencesToClass,{ Sheet.getString("Class name:","",{ arg string; Class.findAllReferences(string.asSymbol).do({ arg ref; ref.postln; }); }); }); Library.put(\m ...
-
Fdef lazy function proxy Inherits from: Object : AbstractFunction : Ref : Maybe Placeholder for functions to calculate with. See also: Maybe . Related: Pdef , Tdef , Pdefn , Ndef Overview: JITLib Fdef(name, func) Fdef(name) if no instance e ...
-
... may be read from easily from Objective-C, Java or any language that uses the CoreFoundation(Cocoa) framework. Objective-C: id rootObject = [ NSKeyedUnarchiver unarchiveObjectWithFile: path ]; The file may be double-clicked to open it in Pr ...
-
... ast.campanology(mode, true, true)[1..size*2-1] } } { //---------------- // code ref: https://scsynth.org/t/do-not-returning-array/6416/14 var size = this.size; var swapConsecutiveIndexes = {|from, to| (from..to).clump(2).collect{|p| p.rever ...
-
... nce methods . removeAt ( what ) Examples ( var controller, model, view; model = Ref(0.5); controller = SimpleController(model); controller.put(\value, { |theChanger, what, moreArgs| view.value_(theChanger.value); }); view = Slider(Window("s ...
-
... ay; ) x.stop; // to distinguish subarrays from arrays to be taken as output use Refs, // as wrapping in another array wouldn't do ( p = Pbind( \midinote, PlaceAll([[60, 61], 70, [80, `[81, 81.5], 82]], inf), \dur, 0.2 ); x = p.play; ) x.sto ...
-
... func.value(block, index).round(1.0).asInteger)%(array.size); //should just copy refs, shouldn't be overly expensive (price of this class use especially for CutBuf3 eventstarts=array[index].eventstarts; eventlengths=array[index].eventlengths ...