-
WFSPathGeneratorDef( \sine, { |f, path, n| var start, end, phase, amp, periods; var polar; start = f.get( \start ); end = f.get( \end ); periods = f.get( \periods ); amp = f.get( \amp ); phase = f.get( \phase ) * pi; polar = (end - start).a ...
-
// MassEditU: // create 10 similar units y = 10.collect({ U( \sine, [ \freq, 220 rrand: 880, \amp, 0.1 rrand: 0.5 ] ) }); // show them all in a window w = Window("mass-edit", Rect(571, 101, 264, 381)).front; w.addFlowLayout; y.do(_.gui(w)); ...
-
DXEnvFan returns crossfade envelopes according to demand-rate control Part of: miSCellaneous Inherits from: AbstractDX DXEnvFan returns the multichannel envelope signal, which is used by DXMix / DXMixIn / DXFan / DXFanOut implicitely. It ca ...
-
... /signalvoid-2-the-same-color-as-your-skin */ ( var songLength = 60; { //Sines var sineLine1 = Line.kr(600, 210, songLength); var sineLine2 = Line.kr(100, 210, songLength); var sines = SinOsc.ar(sineLine1) * SinOsc.ar(sineLine2 ...
-
Ramp linear lag Inherits from: Object : AbstractFunction : UGen : Filter : Lag Ramp.ar(in, lagTime, mul, add) Ramp.kr(in, lagTime, mul, add) This is similar to Lag but with a linear rather than exponential lag. This is useful for smoothing ...
-
NX307 { *ar { arg vol=0.0,pan=0,q1=6,q2=0,q3=0,q4=6,v1=0.0,v2=0.0,v3=0.0; var alpha,beta,gamma; "NX307:: Hi ha un natura inherentment positiva dins nostre.".postln; "~nx307 = { var alpha,beta,gamma; beta = rrand(5,10); alpha = TRand.kr(100, ...
-
SCAlert part of wslib An alert window class Note: not yet SwingOSC compatible SCAlert ( "Are you alerted now?" , [ "No" , "Yes" ] ); creation : SCAlert( string, buttons, actions, color, background, iconName, border ) string : a string conta ...
-
// Assumes NPVoicerSwitcher is implemented and classlib recompiled. ( q = q ? (); // ensure q exists for dict access s.waitForBoot { SynthDef(\sine, { |out = 0, freq = 440, gate = 1| var sig = SinOsc.ar(freq) * 0.1; var env = Env.asr(0.01, ...
-
//This example requires the FluCoMa tools to be installed from:: //https://www.flucoma.org/download/ ( Alga.boot({ //Sine oscillator with frequency modulation a = AN({ SinOsc.ar(\freq.kr(10) + \fm.ar(0)) }).play(chans:2); //Sine oscillator ...
-
SinOscFB: Filter: Description Class methods ar kr Inherited class methods Instance methods Inherited instance methods Examples Classes | UGens > Generators'>Generators > Generators>Deterministic'>Deterministic | UGens > Generators'>Generato ...