-
... - this needs to be installed first (see LaTex installers online). \ \ \ (\ a = SinOsc .ar([71, LFPulse .kr(2).range(34, 45), 45, 34]).abs;\ a = a / 2;\ a = a.sqrt;\ a.asLaTeX;\ )\ \ (\ a = ( Pulse .ar ** Pulse .ar);\ a.asLaTeX;\ )\ \ (\ a ...
-
... uffer.alloc(s, scale.size,1, {|b| b.setnMsg(0, scale) }); play({ var mix; mix = SinOsc.ar( ( DegreeToKey.kr( buffer.bufnum, Gendy5.kr(minfreq:1, maxfreq:8, ampscale:0.1, durscale:0.1, initCPs:3, mul:7.5, add:7.5), 12, 1, 60 ) + LFNoise1.kr( ...
-
... ds Inherited instance methods Examples ( SynthDef("help-Max",{Out.ar(0,Pan2.ar( SinOsc.ar(Max.kr(SinOsc.ar(2,0,300,400).abs,6400),0,0.1) ,0.0)) }).play ) //compare ( SynthDef("help-Max",{Out.ar(0,Pan2.ar( SinOsc.ar(SinOsc.ar(2,0,300,400),0, ...
-
... sig8; freq = freq * EnvGen.kr(Env([1,1.002,0.998,1],[0.1,0.8]), 1); sig1 = SinOsc.ar(freq * 2.6706 + 0.13) * 2 + 1; sig2 = SinOsc.ar(freq * 0.9998 * sig1); sig3 = SinOsc.ar(freq * 2.6629 * sig1 + 2.04); sig4 = LFCub.ar(freq * 0. ...
-
... 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 ...
-
... e = XLine.kr(0.1,1+250.0.rand ,2+9.0.rand) * 2.0.rand* [1,-1].choose; sin = SinOsc.ar(x.choose * ( 1 + ( SinOsc.ar(x.choose/fac1) * x.choose/fac2 )) + detune, 4.rand, 0.25); saw = RLPF.ar(Saw.ar(x.choose*0.01+detune, 0.75), x.choose ...
-
... soteric-tweet fork{loop{h=[5,7,8].choose*(2**(2..8).choose);play{Splay.ar({SinOsc.ar(exprand(h,h+(h/64)),0,0.1)}!64)*LFGauss.ar(9,1/4,0,0,2)};2.wait}}; // really i wanted to do this: fork{loop{h=([33,38,40].choose.midicps)*(2**((0 ...
-
... 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 ...
-
... th freq.max(minval) , or use AmpCompA. // compare a sine without compensation { SinOsc .ar( MouseX .kr(300, 15000, 1)) * 0.1 }.play; // with one that uses amplitude compensation ( { var freq; freq = MouseX .kr(300, 15000, 1); SinOsc .ar(fre ...
-
... ///////////////////////////////////////////////////////////////////////// これを { SinOsc .ar(500, 0, 0.5) }.scope; 次のものと比較してみて下さい。 { SinOsc .ar(500, 0, 0.5).distort }.scope; .distortメッセージ( UGen に送られたメッセージ)は単項演算です。.distortメッセージがSinOsc UGenの出力を ...