-
... ingz .ar( Dust .ar(dens, amp / (dens.max(1).sqrt)), freq, 0.2), pan) }; // gets specs for slider ranges from global lookup in Spec.specs: Spec .add( \dens , [0.1, 100, \exp , 0.01, 10]); ) ( // keys go away if not needed ~test = { |freq=300 ...
-
... ue }); // Check if slotnames changed // Check if parameters changed // Check if specs changed } // Checks whether something is new in a slot (whether it was updated manually outside the gui) and if so updates the gui elements checkSlot {|so ...
-
... .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 { |scene = 2, proxy ... pairs| pairs ...
-
... rIsPrivate = true| // first udef in list is default ^super.basicNew( name, [ ArgSpec( setter ? this.defNameKey, udefs[0].name, ListSpec( udefs.collect(_.name) ), setterIsPrivate, \nonsynth ) ], category ) .defNameKey_( setter ) .udefs_( ude ...
-
( var name, func, specs, componentSubtype, builder; name = "binMachine"; func ={ | ptn1=8, ptn2=0, ptn3=0, ptn4=0, gain1=0.5, cf1=440, m1f1=440, m2f1=440, dec1=0.1, gain2=0.5, cf2=440, m1f2=440, m2f2=440, dec2=0.1, gain3=0.5, cf3=440, m1f3= ...
-
... nts: [ ( key: \pkey, shared: ('elementType': 'pianoKey', groupType: \noteOnOff, spec: \midiVel), elements: (0..120).collect { |midinum,i| var pos = Piano.pos(midinum % 48, 0); ( key: i.asSymbol, shared: ( midiNum: midinum, style: ( row: (4 ...
-
... us controller number. Values will be unmapped according to the global control's spec (that is, normalized to 0.0-1.0), and then mapped onto MIDI's 0-127 range. If the global control is visible in a GUI, the MIDI output value will correspond ...
-
... es( unit ) * (viewHeight + gap.y) ) - gap.y; } *viewNumLines { |unit| ^(unit.argSpecsForDisplay ? []) .collect({|x| if( unit[ x.name ].isKindOf( UMap ) ) { UMapGUI.viewNumLines( unit[ x.name ] ); } { x.spec.viewNumLines }; }).sum; } makeVie ...
-
KrPlayer : AbstractPlayer { var <>spec; rate { ^\control } instrArgFromControl { arg control; ^In.kr(control,this.numChannels) } //kr { ^this.subclassResponsibility(thisMethod) } ar { ^K2A.ar(this.kr) } value { ^this.kr } poll { ^this } //g ...
-
KrPlayer : AbstractPlayer { var <>spec; rate { ^\control } instrArgFromControl { arg control; ^In.kr(control, this.numChannels) } //kr { ^this.subclassResponsibility(thisMethod) } ar { ^K2A.ar(this.kr) } value { ^this.kr } poll { ^this } // ...