-
... char; currentWordType = \text; } }; }); array = array.add(word); array = array.select({ |item| item.size != 0 }); if(convert) {^array.collect( _.asNumberIfPossible );} {^array; }; } extractNumbers { ^this.splitNumbers(true).select(_.isNumb ...
-
... l = newVal.values.asArray.first; }; }); if( newVal.isKindOf( Array ) ) { newVal.select(_.notNil).first }; val = newVal ? val; mapFunc.value( val ? 0, *[ fromRange, toRange, invert, curve, clipMode, clipSoftness ].collect(_.next) ).yield; }; ...
-
... ult = ( 12: \et12, 24: \et24, 43: \partch )[ ii ]; tunings = TuningInfo.tunings.select({ |item| item.tuning.size == ii }).keys.asArray.sort; scales = scales.sort; if( ii == 24 ) { tunings.remove( \harmonic ); tunings = tunings.reverse; }; s ...
-
// Test relative setting on UC4: // on the device, select grp1, // then go into edit mode: hold \shift, press \edit_setup // select enc1 on knob 1, change ctlmode to Ccr2, // hold until running bars go away -> all encoders are now relative ...
-
UGrid : UEvent { var <>events; var <>selected; var <>exclusiveMode; // \h, \v, \all, nil classvar <>defaultNCols = 8; // only used in case of creation with array *new { |events, nCols| ^super.new.init( events, nCols ); } init { |inEvents, n ...
-
"StartupFile example - this file intentionally left blank.".postln; // Maybe select a startupfile here? StartupFile.dialog;
-
... { var a; sfpBody { arg layout; var pathLabel,hf,ch,sr; // click on the path to select a different sound file pathLabel=ActionButton(layout,model.fileName ? "click here to select a soundfile", { this.replaceFile },minWidth:150); hf=CXLabel( ...
-
... var a; sfpBody { arg layout; var pathLabel, hf, ch, sr; // click on the path to select a different sound file pathLabel=ActionButton(layout, model.fileName ? "click here to select a soundfile", { this.replaceFile }, minWidth:150); hf=CXLabe ...
-
... e.squared; minval_dbamp = minval.dbamp; dbrange = maxval.dbamp - minval_dbamp; ^Select.kr( curvenum, [ value.round(1) * range + minval, // step value * range + minval, // lin (ratio ** value) * minval, // exp (0.5 - (cos(pi * value) * 0.5)) ...
-
... e.squared; minval_dbamp = minval.dbamp; dbrange = maxval.dbamp - minval_dbamp; ^Select.kr( curvenum, [ value.round(1) * range + minval, // step value * range + minval, // lin (ratio ** value) * minval, // exp (0.5 - (cos(pi * value) * 0.5)) ...