-
... tlets; ~source = sample; inlets = [ ]; outlets = [ MxOutlet("smp", 0, \sample.asSpec, MxSendSelfOnChanged({arg val; sample}) ) ]; MxUnit(sample, inlets, outlets); }, play: { arg group, atTime, bus; }, stop: { arg atTime, andFreeResources = ...
-
... er. If not, see <http://www.gnu.org/licenses/>. */ WFSArrayConfGUI { classvar <>specs; var <arrayConf, <label; var <parent, <composite, <views, <controller; var <viewHeight = 14, <labelWidth = 80; var <>action; var <selected = false; *initC ...
-
... ; subview2.addFlowLayout( 0@4, 4@4 ); views2D = [ \x, [-200, 200, \lin, 0, 0].asSpec, { this.object.positions.collect(_.x) }, { |vw, vals| this.object.positions = this.object.positions.collect({ |pt, i| pt.x = vals.wrapAt(i) }); this.object ...
-
... llect{|num| ('midiMsgType': \noteOn, \type: \pad, \midiChan: 0, \midiNum: num, \spec: \midiNote, \ioType: \inout) }.clump(8), \off: (36..99).collect{|num| ('midiMsgType': \noteOff, \type: \pad, \midiChan: 0, \midiNum: num, \spec: \midiNote, ...
-
... ce)}; */ t = SETOServer ( "_ixyzuvw" , JITseto , SETOIDistance ); t.start; // inspect its behavior //i = t.inspect; g = t.gui; ) t.stop; t.start; JITseto .action = {1.postln} JITseto .action = nil p = ProxySpace .push(s) s.boot ~a.play; ~b. ...
-
... .notNil } ) { envir.softSet(parKey, normVal, softWithin, false, lastVal, gui.getSpec(parKey)) }; lastVals.put(key, normVal) ; } ) }; } // // map directly to a proxy's params. no Gui needed. mapToProxyParams { |proxy ... pairs| pairs.do { |p ...
-
CXPatterns { *initClass { var scale; Class.initClassTree(Spec); Class.initClassTree(Crucial); Crucial.initSpecs; Spec.specs.addAll([ \scale -> scale = ArraySpec.new(StaticSpec(-100, 100, \linear), 12), \freqStream -> StreamSpec(\freq.asSpec ...
-
... [ ( key: \kn, shared: (midiChan: 0, 'midiMsgType': 'control', 'type': 'knob', 'spec': 'midiCC', \ioType: \in), elements: [ ( elements: [16, 20, 24, 28, 46, 50, 54, 58] .collect{ |n,i| (midiNum: n, \style: (row:0, column: i)) } ), ( element ...
-
... }; f[Mx] = { arg mx; [ Mx , mx.inlets.collect({ arg i; [mx.findID(i), i.name, i.spec] }), mx.outlets.collect({ arg o; [mx.findID(o), o.name, o.spec] }), mx.channels.collect(mx.findID(_)), mx.findID(mx.master) ] }; registerData = Array.new(r ...
-
... value_( 0.2 ); // meters These have a particular way of using the bits: ( ~levelSpec = [0,15,\linear,1].asSpec; ~meterVal = { |level, showPeak=false, resetOverload = false, overload=false| level = ~levelSpec.map( level ); level = level.asIn ...