-
... k .ar(`[[800, 1071, 1153, 1723], nil , [1, 1, 1, 1]], Impulse .ar(2, 0, 0.1)) }.play; { Klank .ar(`[[800, 1071, 1353, 1723], nil , [1, 1, 1, 1]], Dust .ar(8, 0.1)) }.play; { Klank .ar(`[[800, 1071, 1353, 1723], nil , [1, 1, 1, 1]], PinkNois ...
-
... FNoise1 .ar(800, amp); in2 = SinOsc .ar(800); MostChange .ar(in1, in2) * 0.1; }.play; ) d.set( \amp , 0.1); d.set( \amp , 0); d.set( \amp , 3); d.free; the control that changed most is used as output: ( d = { arg freq=440; var internalFreq; ...
-
... of execution. Realtime audio synthesis requires that samples are calculated and played back at a certain rate and on a certain schedule, in order to avoid dropouts, glitches, etc. Other tasks, such as loading a sample into memory, might tak ...
-
... Pbind ( \dur , 0.1); Pbindf (a, \freq , Prand ([300, 500, 231.2, 399.2], inf )).play; Pbindf (a, \freq , Prand ([1, 1.2, 2, 2.5, 3, 4], inf ) * 200).play; ( // a SynthDef SynthDef ( \test , { | out, freq = 440, amp = 0.1, nharms = 10, pan = ...
-
... q ([1, 2, 3, 2, 5, 4, 3, 4, 2, 1], 2), #[0, 2, 3, 6, 7, 9], 12 ), \dur , 0.25 ).play; ) ( var scales; scales = #[[0, 2, 3, 6, 7, 9], [0, 1, 5, 6, 7, 9, 11], [0, 2, 3]]; Pbind ( \note , PdegreeToKey ( Pseq ([1, 2, 3, 2, 5, 4, 3, 4, 2, 1], 4) ...
-
... malMap (chain, MouseX .kr(-1.0,1.0), MouseY .kr(-1.0,1.0)); IFFT (chain).dup; }.play; ) // microphone input - use headphones to prevent feedback ( { var in, chain; in = SoundIn .ar(0, 0.5); chain = FFT ( LocalBuf (2048), in); chain = PV_Con ...
-
... ent is then performed with possible modifications by enclosing patterns and the player (either an EventStreamPlayer or a ScoreStreamPlayer). The resultant event is returned to the function where it can be assigned to a key within the protoE ...
-
... e ({ loop({ Synth.grain ( \help_sinegrain , [ \freq , 440]); x.next.wait; }) }).play(TempoClock.default); ) ( a = PdurStutter ( Pseq (#[1,1,1,1,1,2,2,2,2,2,3,3,3,3,4,4,0,4,4], inf ), Pseq (#[0.5, 1, 2, 0.25,0.25], inf ) ); x = a.asStream; R ...
-
... t .ar(i_out, Mix .ar( PanAz .ar(4, [a, b], [pan, pan+0.3]))); }).add; ) Pattern-play creates an EventStreamPlayer for you and also supplies a default protoEvent. If you were using your own event model you would just pass in your own protoEv ...
-
... RandSeed .ar( Impulse .ar(3 ** MouseX .kr(1, 8)), 1871); WhiteNoise .ar * 0.1 }.play { RandSeed .ar( Impulse .ar(3 ** MouseX .kr(1, 8)), Dstutter ( Dwhite ().exprange(2, 400), Dwhite ().range(0, 1000))); WhiteNoise .ar * 0.1 }.play // start ...