-
WindowHandleView : UserView { var dragging, dragStart, <>win, isWin; *qtClass { ^'QcCustomPainted' } *new { arg parent, bounds; ^super.new(parent, bounds ?? {this.sizeHint} ).init; } init { this.canFocus = false; this.setDefaultBackground() ...
-
... orgpos<newpos); is=i.sum(\size); orgpos=orgpos+is; if(test,{ i.delete },{ if(fx.class==Function,{ fx.(this,*args); },{ i.perform(fx,*args); }); is=i.sum(\size); newpos=newpos+is; }) } } pitchShiftLoop{|fx=\transpose ... args| var orgpos=0; ...
-
// SensorControl is a class to deal with a set of SensorData streams, to trigger and control something above a certain threshold, and turn off and switch to another action below the threshold. // Created for Schwelle, www.schwelle.org // (c ...
-
... used format String (explained in SETObject ) is then ' _ixy' *new(netaddr, setoClass) netaddr a netaddr, default nil; listening to all. setoClass the Class of the created objects. Must be a subclass of SETObject , defaults to SETObject . s ...
-
... y setup: /* // make a history GUI window History.makeWin; }; // tell the Histoy class to share code via oscgroup: History.forwardFunc = { |code, result| "send code to shared history ...".postln; q.oscRouter.sendMsg(\history, q.myID, code); ...
-
... nks to sophia rohrhuber and andreas bartenstein ProteinBioSynthesis : Pattern { classvar <>tripletDict, <>transcriptionDict; classvar <>aminoacids, <>startcodon= -1, <>stopcodon=0; var <>genome, <>verbose = false; *new { arg genome; ^super. ...
-
... er shift changes. -- this is an UMapDef definition file part of the WFSCollider Class Library default UMapDefs set */ UMapDef( \lag_polar, { | point = #[0.0, 0.0], timeRho = 0.1, timeTheta = 0.1, linear = 0 | var lin, lag; var polar; point ...
-
... yout.isKindOf(PageLayout) }),{ layout = layout.asFlowView; }); this.view = this.class.viewClass.new(layout,Rect(0,0,x,y)); this.view.keyDownAction = {nil}; } *viewClass { ^GUI.staticText } label_ { arg string; view.string_(" " ++ string ++ ...
-
... y[i..i+windowSize] }; ^result } slope { var list, prev = this.last; list = this.class.new(this.size); this.do {|item| list.add( item - prev ); prev = item; }; ^list } } +Object { postL { | length = 10 | var str = this.asString; (str ++ Stri ...
-
TestChannelLayout : SatieUnitTest { var server; setUp { server = Server(this.class.name); } tearDown { server.remove; } test_outputChannels { var satie; var timeout, cond = Condition.new; var answer, results, buffer, recorder; var layout, s ...