-
... ln; inf.do { |i| var event; var soundDur, totalDur, remainWaitDur; /////// post steps and wait for debug // i.postln; 1.wait; /////// which wavesets? post if changed wse = NTMI.wse.wses.wrapAt((ev.wse_index ? 0).asInteger); if (wse.isNil) { ...
-
... ck if the window is still open, since Routine will continue for at least // one step after you close the window. b.get( { arg v; {w.isClosed.not.if{ a.string= " Current Frequency: " ++v.round(0.01)}; }.defer} ); 0.01.wait; }.loop }.play }); ...
-
... lyzer listens to an input and displays its spectrum in equal relative bandwidth steps. This is useful for tuning multichannel speaker setups, e.g. with Latency and SpeakerAdjust. // quick first example: ( x = Spectralyzer .new(61); // make ...
-
... n on mouse click. val - An instance of Boolean . readOnly_ (val) val - boolean. step step_ (stepSize) Quantizes the values to the nearest multiple of stepSize. stepSize - An instance of Float . Accessing and Setting Values value value_ (val ...
-
something i did as one of my first playing around with SC. it's almost a nice chilled dance track made just with pulses and oscilators... ( { z = ( ( SinOsc.ar( ((LFSaw.kr(-0.05,1) +1) *100 + 20 ), LFTri.kr(40,0,1), LFSaw.kr(1.5) ) * ...
-
... t( HLayout( StaticText().string_("Min"), minNumber= NumberBox().fixedWidth_(55).step_(1),//.clipLo_(0).clipHi_(127), StaticText().string_("Max"), maxNumber= NumberBox().fixedWidth_(55).step_(1),//.clipLo_(0).clipHi_(127), View().fixedWidth_ ...
-
... tave so that the notes all fall within the octave beneath a top note (chosen by stepwise motion). Pkey(\topNote) - Pkey(\bassTriadNotes) gives the number of transposition steps to bring the triad notes up to the top note; then the transposi ...
-
... jitterEngines, phaseEngines; *initClass { jitterEngines = IdentityDictionary[ \step -> {|freq, selector = \ar| LFDNoise0.perform(selector, freq)}, \hold -> {|freq, selector = \ar| LFDNoise0.perform(selector, freq)}, \lin -> {|freq, selecto ...
-
... c, y0, ym, y1; sign = (end.y - y).sign; k = curve; ((x == end.x) || (curve == \step)).if( { ^y }); (k == \quadratic).if( {^this.quadinterp(end, n, theoneafterthat)} ); xrange = (end.x - x); dx = (n - x)/xrange; ((k == \exponential) || (k = ...
-
... ithmetic series. ( var a, b; a = Pseries.new(10, 3, 8); // stream starts at 10, steps by 3 and has length 8 b = a.asStream; 9.do({ b.next.postln; }); // print 9 values from stream ) ⧉ ✔ Pgeom is a Pattern that generates a geometric series. ...