-
... ep value * range + minval, // lin (ratio ** value) * minval, // exp (0.5 - (cos(pi * value) * 0.5)) * range + minval, // cos sin(0.5pi * value) * range + minval, // sin b - (a * pow(grow, value)), // curve if(range >= 0, // amp value_square ...
-
... ep value * range + minval, // lin (ratio ** value) * minval, // exp (0.5 - (cos(pi * value) * 0.5)) * range + minval, // cos sin(0.5pi * value) * range + minval, // sin b - (a * pow(grow, value)), // curve if(range >= 0, // amp value_square ...
-
... virtMic; mics = ({ |i| Polar( speakerRadius, (i - 0.5).linlin( 0, numChans, 0, 2pi, \none ) ).asPoint } ! numChans ); sourcePos = Polar( distance * speakerRadius, pos * pi ).asPoint; panAz = PanAz.kr( numChans, 1, pos ); panAz = LinXFade2.k ...
-
... o control the decay time of a harmonic we percieve to be below the fundamental "pitch" of the plate, for a bit of controllable percussive emphasis. Finally, there's a cheaply done filter with a roughly constant, positive db/oct slope to emp ...
-
... h = smooth.max(1.0e-12); modsig = ((LFTri.ar( speed, phase * 2 ) / smooth) * 0.5pi).clip(-0.5pi,0.5pi); modsig = SinOsc.ar( 0, modsig ); sig = modsig.range(*amount) * UIn.ar( 0 ); UOut.ar( 0, sig ) } ) .category_( \effect ) .setSpec( \speed ...
-
... h = smooth.max(1.0e-12); modsig = ((LFTri.ar( speed, phase * 2 ) / smooth) * 0.5pi).clip(-0.5pi,0.5pi); modsig = SinOsc.ar( 0, modsig ); sig = modsig.range(*amount) * UIn.ar( 0 ); UOut.ar( 0, sig ) } ) .category_( \effect ) .setSpec( \speed ...
-
... wgrav, 20, 0.01); //dim,grav,maxvel,damp //--objects // sys= RedWaveSystem(n, {pi.rand}, {|i| i/n*2pi}, {0.75.rand}, 0.1); {|i| var loc= RedVector2D[width/n*i, height/2]; sys.add(RedObject(world, loc, nil, 0, 1.5, 10)); //world,loc,vel,acc ...
-
... um - 1) / num) - shift).wrap(-0.5, 0.5); amps = allPhases.collect { |x| cos(x * pi) ** ampExp }; allPhases = allPhases + shift; intervals = interval * (allPhases * num); ^[intervals, amps] } // provide automatic slope if needed, else like * ...
-
... le = value[\eleDeg]; // spherical = Spherical.new((vbapSurfaceDiameter/2),((azi*pi)/180),((ele*pi)/180)); // positionFront = Point.new(spherical.x, spherical.z); // positionTop = Point.new(spherical.x, spherical.y); // AppClock.sched(0.5,{ ...
-
... .stepFreq; // if (count==(period*step)) { // count=0; // }; xDesp= xAmp * sin(2*pi*(1/xT)*count/step); //sin for starting in the center position yDesp= yAmp * sin(2*pi*(1/yT)*count/step); zDesp= zAmp * sin(2*pi*(1/zT)*count/step); object.lo ...