-
... aths{|paths| paths.do{|x| x.postln}}; }, ['system', 'post specs'], { Spec.specs.keysValuesDo{|key, val| if(val.class==ControlSpec, {[key, val].postln})}; }, ['system', 'count characters'], { if(Main.versionAtMost(3, 5), { ("there are"+Docum ...
-
/* wslib 2013 a "smooth" version of MultiSlider */ SmoothMultiSlider : SmoothSlider { var currentIndex; var <selected; draw { var startAngle, arcAngle, size, widthDiv2, aw; var knobPosition, n, realKnobSize; var rect, drawBounds, radius; va ...
-
... , 100, 16)) .font_(GUI.font.new("Helvetica", 9)) .items_(if(XQ.globalBufferDict.keys.asArray == [], {["no pool"]}, {XQ.globalBufferDict.keys.asArray})) .value_(0) .canFocus_(false) .background_(Color.white) .action_({ arg item; gBufferPoolN ...
-
... Array.choose; } all { |choiceFunc, sortFunc| var values; values = this.get(this.keys.asArray, choiceFunc); sortFunc = sortFunc ? { |a, b| a[\t0] < b[\t0] }; ^values.sort(sortFunc) } putEvent { |wort, event| // rename later. var newEvent = ( ...
-
... ; var minFreq= 20, maxFreq= 12000; //Hz var ampLag= 0.1; //seconds var transposeKeys= #[ $Q, $W, $E, $R, $T, $Y, $U, $I, $O, $P, $Å, $^ //last two hardcoded in class ]; var snapshotKeys= #[ //more can be added [$A, $S, $D, $F, $G, $H, $J, $ ...
-
... ble. // There's a tiny isssue here in combination with EventShortcuts, duration keys // should be in full length (You could apply method 'eventShortcuts' inside Ppar, // but that's even more typing in that case, so we just write 'dur' inste ...
-
... t }; }; ^esto.separate; } separate {|sort = true| var v, s, order; this.pitches.keysValuesDo{|k,v| if (this.freqs.includes(k)) { this.spectral = this.spectral.add([k, v]) }{ this.virtual = this.virtual.add([k, v]) }; }; if (sort) { s = this ...
-
... , 100, 16)) .font_(GUI.font.new("Helvetica", 9)) .items_(if(XQ.globalBufferDict.keys.asArray == [], {["no pool"]}, {XQ.globalBufferDict.keys.asArray})) .value_(0) .background_(Color.white) .action_({ arg item; poolName = selbPool.items[item ...
-
// Analyses a soundfile's data into wavesets. // keep all wavesets objects in global var all. // only works for single channels. /***** SCDoc.indexAllDocuments; to do: analyse turnaround points better: reverse-interpolate where between samp ...
-
... * preamp.dbamp).tanh * postamp.dbamp; Out.ar(out, cars * (amp * eg)); }).add; ( keys: #[master], initLevel: -12.5.dbamp, // -8.6, 0.75, argPairs: Pbind( \bufmod, Pwhite(0, 10.999, inf), \amp, 0.5, ), make: { |name| var out; ~target = MixerC ...