-
... ef ( "help-copyPhase" , { arg out=0; var inA, chainA, inB, chainB, chain; inA = SinOsc .ar( SinOsc .kr( SinOsc .kr(0.08, 0, 6, 6.2).squared, 0, 100, 800)); inB = WhiteNoise .ar(0.2); chainA = FFT ( LocalBuf (2048), inA); chainB = FFT ( Loca ...
-
... )) * 0.1 }.play; // amplitude modulation: { LFPar .kr( XLine .kr(1, 200, 10)) * SinOsc .ar(440) * 0.1 }.play; // used as both Oscillator and LFO: { LFPar .ar( LFPar .kr(3, 0.3, 200, 400)) * 0.1 }.play; // more examples: { LFPar .ar( LFPar . ...
-
... //////////////////////////////////////////////////////// For example, compare { SinOsc .ar(500, 0, 0.5) }.scope; to { SinOsc .ar(500, 0, 0.5).distort }.scope; The .distort message modulates the SinOsc to create more partials. ////////////// ...
-
... he InterplEnv // example SynthDef ( \test , { arg gate = 1; var env, sin; sin = SinOsc .ar(440, 0, 1); env = InterplEnv ([0, 0.6, 0.3, 1.0, 0], [0.1, 0.02, 0.4, 1.1], [ \lin , \exp , -6, \sin ]).plot; Out .ar(0, sin * // use MouseX to index ...
-
... er (see Poll helpfile) // postln returns only the UGen itself (a MulAdd here) { SinOsc .ar( SinOsc .kr(0.2, 0, 300, 400).postln) * 0.1 }.play; // poll traces the values { SinOsc .ar( SinOsc .kr(0.2, 0, 300, 400).poll) * 0.1 }.play; // using ...
-
... precated) ( x = { arg spread=1, level=0.2, width=2, center=0.0; SplayAz .ar( 4, SinOsc .ar( { |i| LFNoise2 .kr( rrand(10, 20), 200, i + 3 * 100) } ! 10), spread, level, width, center ); }.scope; ) x.set( \spread , 1, \center , 0); // full n ...
-
... t signal to be processed freq - cutoff frequency. { LPF .ar( Saw .ar(200, 0.1), SinOsc .kr( XLine .kr(0.7, 300, 20), 0, 3600, 4000)) }.play; // control rate version is still erratic sometimes: ( { var ctl = LPF .kr( LFPulse .kr(8), SinOsc . ...
-
... force it playing. examples s.boot; a = RecNodeProxy .audio(s, 2); a.source = { SinOsc .ar([400,500], 0, 0.1) }; a.play; //monitor; a.open( "xproxySpace.aif" ); a.record( false ); a.source = { SinOsc .ar([400,700], 0, 0.1) }; a.source = { S ...
-
... ving Stereo Okay, but what about our first, unsimplified example? Remember: { [ SinOsc .ar(440, 0, 0.2), SinOsc .ar(442, 0, 0.2)] }.play; This also has two SinOscs, but in a different arrangement, between two square brackets [] , and with a ...
-
... signal as is, use the RunningMin and RunningMax UGens. s.boot; // no decay ( { SinOsc .ar( PeakFollower .ar( Dust .ar(20, Line .kr(0, 1, 4)), 1.0) * 1500 + 200, 0, 0.2 ) }.play; ) // a little decay ( { SinOsc .ar( PeakFollower .ar( Dust .a ...