-
... rt with a sine wave, compare plots { [ // just smooth clipping SmoothClipS .ar( SinOsc .ar(50) * 10), // folding with main lib's Fold ugen Fold .ar( SinOsc .ar(50) * 10, -1, 1), // folding with rather low smoothing // wave shaper is partial ...
-
... 6, \sin]); var envgen = IEnvGen.kr(env, MouseX.kr(0, env.times.sum)); env.plot; SinOsc.ar(envgen * 500 + 440) }.play; ) // index with an SinOsc ... mouse controls amplitude of SinOsc // use offset so negative values of SinOsc will map into ...
-
... t to the hardware busses, this could be any audio rate key. ~out.play; ~out = { SinOsc.ar([400, 408] * 0.8, 0, 0.2) }; // replacing the node. the crossfade envelope is created internally. ~out = { SinOsc.ar([443, 600 - Rand(0,200)], 0, 0.2) ...
-
... ); { var input; input = Decay2 .ar( Impulse .ar([0.6,0.5], 0.25), 0.01, 0.25, [ SinOsc .ar( SinOsc .kr(3.7,0,200,500)), Resonz .ar( PinkNoise .ar(4), SinOsc .kr(2.7,0,1000,2500), 0.2) ]); PingPongT .ar(b.bufnum, input, 0.5, 0.8,0.1,1, Tempo ...
-
... ).fadeTime = 2; // fadeTime specifies crossfade // set the source Ndef ( \a , { SinOsc .ar([350, 351.3], 0, 0.2) }); Ndef ( \a , { Pulse .ar([350, 351.3] / 4, 0.4) * 0.2 }); Ndef ( \a , Pbind ( \dur , 0.03, \freq , Pbrown (0, 1, 0.1, inf ). ...
-
... LFPar .ar(800,0,0.1) }.play { LFPar .ar( XLine .kr(100,8000,30),0,0.1) }.play { SinOsc .ar( SinOsc .kr( SinOsc .kr(0.2,0,8,10),0, 400,800),0,0.1) }.play { SinOsc .ar( SinOsc .kr(0.2, 0, 400,800),0,0.1) }.play { SinOsc .ar(800,0,0.1) }.play ...
-
... tart with a sine wave, compare plots { [ // just smooth clipping SmoothClipS.ar(SinOsc.ar(50) * 10), // folding with main lib's Fold ugen Fold.ar(SinOsc.ar(50) * 10, -1, 1), // folding with rather low smoothing // wave shaper is partiallly ...
-
... of output range. dsthi - upper limit of output range. // compare: ( { var mod = SinOsc .kr( Line .kr(1, 10, 10)); SinOsc .ar(mod * 400 + 500) * 0.1 }.play; ) ( { var mod = SinOsc .kr( Line .kr(1, 10, 10)); SinOsc .ar( LinExp .kr(mod, -1,1, ...
-
... 8.collect({|i| PulseDivider.kr(rt, 16, i*2)}) , bt = bs[0] + bs[2] + Dust.kr(SinOsc.kr(0.01, 0, 0.25, 0.25)) , be = Decay.kr(bt, 0.2) , se = Decay.kr(bs[5]+bs[6], 0.01) , bass = be*SinOsc.ar(SinOsc.ar([5,6], 0, 20, Demand.kr(bt ...
-
... 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 ...