-
... / won't work (the output is 0.5*0.0), which is why we need the DC UGen! { 0.5 }.play // constantly zero { DC.ar(0.0) }.play; // DC offset; will click on start and finish { DC.ar(0.5) + SinOsc.ar(440, 0, 0.1) }.play; // test - note the trans ...
-
... 'sine', [ 'str', 'num', 'num' ], {|str, num1, num2| {SinOsc.ar(num1, 0, num2)}.play }, "play sine wave" ], [ 'sineArr', [ 'str', 'arr', 'arr', 'num' ], {|str,arr1,arr2,num| {SinOsc.ar(arr1, num, arr2)}.play }, "play sine wave" ], [ 'ls', [ ...
-
... time. { CombN.ar(WhiteNoise.ar(0.01), 0.01, XLine.kr(0.0001, 0.01, 20), 0.2) }.play; { CombL.ar(WhiteNoise.ar(0.01), 0.01, XLine.kr(0.0001, 0.01, 20), 0.2) }.play; { CombC.ar(WhiteNoise.ar(0.01), 0.01, XLine.kr(0.0001, 0.01, 20), 0.2) }.pl ...
-
PlayerSocket: Filter: Description Class methods new prNew Inherited class methods Instance methods round rate numChannels env socketGroup lastPlayer envdSource fuseBlown psinit prepareAndSpawn prepareAndQSpawn preparePlayer spawnPlayer qspa ...
-
... LFPar.ar( freq: freq0, mul: EnvGen.kr(Env.perc(0, 3, 0.1),doneAction:2) ) }.play; next.value; // schedule next event } ) // start playing c = TempoClock.new.play(t); ///////////////////////////////////////////////////// ...
-
... 05, 0.2), \dur, 4, \att, 0.01, \pos, Pseq([-0.5, 0.5], inf) ); ~amshort.play; ) ( ~amshort2 = Pbind( \instrument, "am1", \degree, Pseq([-12, \rest, -4, \rest], inf), \modfreq, Pseq([3, \rest, 0, \rest], inf), \amp, Pwhi ...
-
... assed to function \midinote, Pkey(\dev) + 60 + [0, 4], \amp, 0.05, \dur, 0.15 ).play; ) p.stop; ////////////////////////// // example with GUI ( // parametric control function f = { |x| (x * ~a[0]).sin * ~b[0] + ((x * ~a[1]).sin * ~b[1]) }; ...
-
... icient. Should be between -1 and +1 { OnePole .ar( WhiteNoise .ar(0.5), 0.95) }.play { OnePole .ar( WhiteNoise .ar(0.5), -0.95) }.play { OnePole .ar( WhiteNoise .ar(0.5), Line .kr(-0.99, 0.99, 10)) }.play
-
... more advanced sequencing. Class Methods . ar . kr Arguments: array Values to be played in sequence or a Demand rate ugen like Drand , Dseries or Dgeom . trig Jumps to the next value in array. reset Makes the sequence start from the beginnin ...
-
... odify a = AP(( def: { SinOsc.ar * EnvPerc.ar(release: 0.1) * 0.5 }, dur: 0.5 )).play(chans:2); //Metronome b = AP(( def: { EnvPerc.ar(release: SampleDur.ir); Impulse.ar(0) }, dur: 1 )).play(chans:2); }) ) //Using Env and resync a.interpDur( ...