-
... esNearestPoints(aLine); if(p1.dist(p2)<0.00001,{^p1},{^false}); } prPointAt{arg index,value; var r=(value/directionVector[index])-(positionVector[index]/directionVector[index]); ^this.getPointOnLine(r); } getPointOnLine{arg s; ^(this.positi ...
-
... ch secondary array should contain a key to access the input with, and a 0 based index for a channel on the physical device followed by the number of channels. */ [ [\\myInputOne, 0, 1], [\\myInputTwo, 1, 1], ];"; filePath = this.audioInPath ...
-
... quo] } pow { arg n; var d = this.degree, l = this.offLow, diff = d - l, c0, cs, index; if(n.real == 0.0 and: { n.imag == 0.0 }, { ^1 }); if(n.real == 1.0 and: { n.imag == 0.0 }, { ^this }); if(n.real == 2.0 and: { n.imag == 0.0 }, { ^(this ...
-
... bel ) string adds a tab with label ; returns the Composite/Scroll View insert ( index , label ) int, string inserts a tab at index with label string ; returns the Composite/Scroll View removeAt( index ) int remove tab at Index. focus ( inde ...
-
... ot || Server.local.options.device != currentDevice, { if (ServerOptions.devices.indexOfEqual(currentDevice) > 0, { Server.local.options.device = currentDevice; }); Server.local.reboot; }); this.onMove = { if(this.parent.isNil, { this.persis ...
-
... { item.default = item.spec.constrain( item.default ); }; }; if( item.name != \u_index ) { item }; }).select( _.notNil ) ++ [ channelArgSpec ] } *getIOArgNames { |numChannels = 1, type = 'i', selector = 'ar'| ^numChannels.collect({ |i| UIn.g ...
-
... / ScopeView // Slider // SoundFileView parameterValue.at(\tokens).do({ | token, index | // At this point only \number fields are editable, so we // treat all other fields as non-editable. If a field is // not editable its string is concaten ...
-
... ).put(4, clippedValue); } performSliderActions {|symbol, value, reg, mod, symbolIndex, arrayIndex| // if reg == \var: symbolIndex = index of var // if reg == \synth: symbolIndex = index of synth var msgList, ii, k = 0, sliderOffset = 0, mod ...
-
... are extra precision of value, and the last 4 bits of note number are the wheel index. // test as MKtl c = MKtl(\cin, "cinematix-wheel"); MKtlDesc.loadDescs.size; MKtlDesc.writeCache; g = c.trace.gui; c.elAt.action = { |el| "action! %, %, % ...
-
... r.s, where: [\jrhbr, \adc], instrument: \xxy, freq: [400, 1600]).play; // by an index - same as r.nameList.wrapAt(index) (server: r.s, where: 1, instrument: \xxy, freq: [400, 1600]).play; // by a list of indices - same as r.nameList.wrapAt( ...