-
... def | var wasPlaying = node.isPlaying; var playChans = node.playChans; var playScale = node.prevPlayScale; var interpTime = node.connectionTime; var interpShape = node.interpShape; var playTime = node.playTime; var defBeforeMod = def.copy; ...
-
... r_{arg slidernum=0, val=0.5; xiigui.setSlider_(slidernum, val) } } // shift and scale the position of the bins XiiBinShift { var <>xiigui; *new { arg server, channels, setting = nil; ^super.new.initBinShift(server, channels, setting); } ini ...
-
... rent, bounds ); } *initClass { icons = ( \select: { |bt, rect| // \select //var scaleAmt; Pen.width = 1; Pen.lineDash_( FloatArray[ 1,1 ] ); Pen.addRect( rect.insetBy( rect.width * 0.25, rect.height * 0.25 ) ); Pen.stroke; }, \move: { |bt, ...
-
... when instatiated, // muteSecs: mutes output and sets the decay to zero and then scales back to normal during the first muteSecs of the synth's life ~name = \pbell1; ~description = "a variant of a synthesized bell (unstable)"; ~channelLayout ...
-
... .start; var fps= 60; var usr, pop1, pop2, pw, po; var img, imgFunc; var verticalScale, horizontalScale; var f0= Font("Helvetiva", 16); var f1= Font("Helvetiva", 14); var f2= Font("Helvetiva", 10); var f3= Font("Helvetiva", 20); var colors= ...
-
... rver | | redUGens (pseudo ugens) | | | ------------- | ------------- | | RedAutoScale | scales an unknown signal to a known range | | RedBernoulli | white noise with Bernoulli distribution | | RedComb | comb delay line with crossfade | | Re ...
-
// Andrea Valle, jan 2010 // a class for autogui creation of synth and synthdefs SynthDefAutogui { var <>name, <>synthDef, <>aSynth, <>rate, <>target, <>args, <>addAction, <>closeOnCmdPeriod, <>freeOnClose, <>window, <>step , <>hOff, <>vOff ...
-
... il }, { (chordNotes + freq).unmapMode(mode) })) } // changing duration needs to scale all rhythmic values dur_ { |newDur| var ratio; ratio = newDur / dur; chordNotes.do({ |n| n.dur_(n.dur * ratio); // .length_(n.length * ratio) }); shortDur ...
-
... il }, { (chordNotes + freq).unmapMode(mode) })) } // changing duration needs to scale all rhythmic values dur_ { |newDur| var ratio; ratio = newDur / dur; chordNotes.do({ |n| n.dur_(n.dur * ratio); // .length_(n.length * ratio) }); shortDur ...
-
... do({ |item, i| item.path = paths[i]; item.fromFile; }); } { paths.size == 1 } { SCAlert( "You selected one soundfile for % units.\nUse only on the first unit,\nor the same for all?".format( vws[ \val ].size ), [ "cancel", "first", "all" ], ...