-
+ Symbol { uEnvirPut { |value, spec| var default; value = value.value; if( value.isArray && { spec.notNil } ) { spec = spec.massEditSpec( value ).default_( { spec.default }!(value.size) ); }; currentEnvironment.put( this, value ); if( spec. ...
-
... [\play, 26, 86, 35], [\stop, 25, 85, 34], [\rec, 24, 84, 33], ] .collect { |midiSpec, index| ( key: midiSpec[0], elements: [ ( key: \on, midiNum: midiSpec[1], midiMsgType: \noteOn, spec: \midiVel ), ( key: \off, midiNum: midiSpec[1], midiMs ...
-
NumericRange { var <>lo, <>hi, <>spec; *new { arg lo, hi, spec; ^super.newCopyArgs(lo, hi, spec.asSpec) } rrand { ^rrand(lo, hi) } inrange { |num| ^num.inclusivelyBetween(lo, hi) } intersects { |that| if(lo < that.lo) { ^hi >= that.lo } { ^ ...
-
... ote: when entering a literal array (i.e. #[0,1,0]) it will not be unmapped var <spec; var <>mapped = true; *new { arg levels = #[0,1,0], times = #[1,1], curve = 'lin', releaseNode, loopNode; ^super.newCopyArgs(levels, times, curve) .release ...
-
... ote: when entering a literal array (i.e. #[0,1,0]) it will not be unmapped var <spec; var <>mapped = true; *new { arg levels = #[0,1,0], times = #[1,1], curve = 'lin', releaseNode, loopNode; ^super.newCopyArgs(levels, times, curve) .release ...
-
... f not, see <http://www.gnu.org/licenses/>. */ /* f = { |a=1, b=2| a+b }; x = ArgSpec.fromFunc( f ); // array of ArgSpecs x.postln; // -> [ an ArgSpec(a, 1), an ArgSpec(b, 2) ] */ ArgSpec : Spec { var <>name, <>default, <>spec; var <>private ...
-
... alue(value); } valueAction_ { arg val; // standard sc this.activeValue = val; } spec { ^thisMethod.subclassResponsibility } copy { ^this.class.new.value_(value.copy) } guiClass { ^ObjectGui } // find suitable editor any object *for { arg ob ...
-
... alue(value); } valueAction_ { arg val; // standard sc this.activeValue = val; } spec { ^thisMethod.subclassResponsibility } copy { ^this.class.new.value_(value.copy) } guiClass { ^ObjectGui } // find suitable editor any object *for { arg ob ...
-
MxUnit.register('Pattern', ( make: { arg pattspec; var pattern, spec; var inlets, outlets, sips; if(pattspec.isArray, { # pattern, spec = pattspec; }, { pattern = pattspec; spec = \unipolar.asSpec; // better to run a few items and check min ...
-
// Realplayer Puzzlesphere Spec.add(\cent1, [0, 1, \lin, 0, 0.5].asSpec); Spec.add(\centAccOSX, [0.0, 4096.0, \lin, 0, 0.5 ].asSpec ); [ // right hand side four labeled buttons \bt_up, (type: \button, osx: (cookie: 2), linux: (slot: [1,304] ...