-
... ler ) .mouseDownAction_({ this.makeMenu }); views[ \filePath ].setProperty(\wordWrap, false); views[ \browse ] = SmoothButton( view, viewHeight @ viewHeight ) .radius_( 0 ) .border_(0) .resize_( 3 ) .label_( 'folder' ) .action_({ this.brows ...
-
/* todo Influx: * implement clip, fold, wrap, compression for outvals (as in Nudge) * write a method for making skewed diagonals * flexify weights * allow using weights presets: * make basic named ones once when called, then lookup * distin ...
-
... o additive // use EventShortcuts EventShortcuts .on ( PLbindefPar ( \y , 12, // wrapped indexing: collection is used for all 12 streams \i , [ \saw_grain , \sin_grain , \noise_grain ], \d , (1..12)/100, \m , { rrand(60, 90) } ! 12, \a , 0.0 ...
-
... new(this, imag) } /* zeros */ *zeroFill { arg size; ^Signal.newClear(size) } /* wrapping */ wrapExtend { arg size; ^this.as(Array).wrapExtend(size).as(Signal) } /* sine */ /* cosine */ *cosineFill { arg size, amplitudes, phases; ^Signal.new ...
-
... n Patterns due to more allocation. The GenStream class defined in Stream.sc can wrap a Gen as a Stream. */ Gen : AbstractFunction { var <>current; *new { arg current; ^super.newCopyArgs(current) } genCurrent { ^current } genNext { ^this.nex ...
-
... sPerformAction = false; var <>outOfBoundsAction; var <>clipMode = \clip; // or \wrap, \fold (or any unary or binary op) var <string, <font, <align, <stringOrientation = \h, <stringAlignToKnob = false; var <>shift_scale = 100.0, <>ctrl_scale ...
-
... ors NTMI.inph.setWPreIndex(0); // go to 0, red // jump to a random choice, this wraps NTMI.inph.setWPreIndex(100.rand.postln); // 2b. change inphlux preset relative, by step: 1 -> up, -1 is down, nil -> random NTMI.inph.stepWPre(1); NTMI.in ...
-
... //paste prInit { cache = IdentityDictionary.new; } prFind { arg obj; // gets or wraps the object in an app class wrapper var app; ^cache[obj] ?? { app = (obj.class.name.asString ++ "App").asSymbol.asClass.new(obj, this); cache[obj] = app; a ...
-
... with newline \nhere but also html <br> newline and and and and and and it also wraps long lines") c.font_(Font.new(\Courier).size_(16)) c.background_(Color.yellow); //change if you don't want the default transparent; setting transparency c ...
-
... ems.size > 0) { index = spec.items.indexOf(this.value); this.value = spec.items.wrapAt(index + 1); } } prev { var index; if (spec.items.size > 0) { index = spec.items.indexOf(this.value); this.value = spec.items.wrapAt(index - 1); } } } Bus ...