-
WFSPathTransformerDef( \simpleSize, { |f, path| var oldTimes; var newPos, newTimes; var n; n = f.get( \size ).asInteger; newTimes = [0] ++ path.times.integrate; newTimes = newTimes.resize( n, \linear, false ); newPos = newTimes.collect({ |i ...
-
+ UGen { // override original implementation *multiNewList { arg args; var size = 0, newArgs, results; ///////////////////// if(this.outsideSynthDef) { ^this.asUGenNode(args) }; ///////////////////// args = args.asUGenInput; args.do({ arg i ...
-
... s.split( $\n ); ^Rect( origin.x, origin.y, this.class.widthM9( lines.collect( _.size ).maxItem ), this.class.heightM9( lines.size ) ); */ origin = ( origin ?? { Point( 0,0 ) } ).asPoint; ^this.bounds( Font( "Monaco", 9 ) ) + Rect( origin.x, ...
-
... buffer. Signals support math operations. See also: Wavetable Creation *sineFill(size, amplitudes, phases) Fill a Signal of the given size with a sum of sines at the given amplitudes and phases. The Signal will be normalized. size - the numb ...
-
... tList; streamSources = listSource.copy; }{ i.isNil.not.if { j = i % currentList.size; k = i % streamSources.size; (currentList[j] !== streamSources[k]).if { itemHasChanged = true; streamSources[k] = currentList[j]; }{ itemHasChanged = false ...
-
... melAdapt; #{ |source, cross| // absolute splice var s1, s2, newSeg, splice, spl2size, spl2; s1 = source.notes; // not worrying about weighting b/c poor adaptations s2 = cross.notes; // will die after a few generations splice = ((s1.size-2). ...
-
... ir ++ pathName.fullPath } { pathName.fullPath } } *abrevPath { | path | if(path.size < dir.size) { ^path }; if(path.copyRange(0, dir.size - 1) == dir) { ^path.copyRange(dir.size, path.size - 1) }; ^path } }
-
... wLabels; MKtlDesc.loadDescs; l.free; l = MKtl(\apc, "*apcmini"); l.elementsDict.size; l.elementsDict.choose.elemDesc; l.trace.gui.showLabels; MKtlDesc.loadDescs; l.free; l = MKtl(\ic, "*icontrols"); l.elementsDict.size; l.elementsDict.choos ...
-
... nal paper uses an algorithm called "TC LARM" that has an // adjustable window size, using 0.5s for the short-term and 2.0s for // the long-term. Here we cheat and use the same loudness measurement // twice, with a lowpass on the long- ...
-
... melAdapt; #{ |source, cross| // absolute splice var s1, s2, newSeg, splice, spl2size, spl2; s1 = source.notes; // not worrying about weighting b/c poor adaptations s2 = cross.notes; // will die after a few generations splice = ((s1.size-2). ...