-
... chain, 0.95, Impulse .kr(0.4)); IFFT (chain); }.play(s); ) PV Ugens write their output data in place , i.e. back into the same buffer from which they read. PV UGens which require two buffers write their data into the first buffer, usually c ...
-
... rom a shared control bus Inherits from: Object : AbstractFunction : UGen : MultiOutUGen : AbstractIn SharedIn.kr(bus, numChannels) Reads from a control bus shared between the internal server and the SC client. Control rate only. Writing to ...
-
... efault pattern is created) see Pdef // example: ( SynthDef ( "Pdefhelp" , { arg out, freq, sustain=1, amp=1, pan; var env, u=1; env = EnvGen .kr( Env .perc(0.01, sustain), 1, doneAction:2); 5.do { var d; d = exprand(0.01, 1); u = SinOsc .ar ...
-
... [freqs, nil , ringtimes ], Impulse .ar(2, 0, 0.1)) }.play; ) ( // set them from outside later: SynthDef ( 'help-dynKlank' , { var freqs, ringtimes, signal; freqs = Control .names([ \freqs ]).kr([800, 1071, 1153, 1723]); ringtimes = Control ...
-
... n as second argument to ar/kr //modulate offset: p = ProxySpace .push(s.boot); ~out.play; ~src = { SinOsc .ar( Array .rand(5, 400, 500.0), SinOsc .ar( Array .exprand(5, 2.1, 500.0)), 0.1) }; ~out = { ~src.ar(1, MouseX .kr(0, 5)) }; ~out = { ...
-
... owing example, the code from the function (above) is the second argument to the Out ugen. ( SynthDef ( "ringMod" , { Out .ar( 0, SinOsc .ar([440.067, 441.013], 0, 1) * SinOsc .ar([111, 109], 0, 0.2) ) }).load(s); ) Synth ( "ringMod" ) ///// ...
-
... tream that can be replaced while playing. Multiple streams are thus handled without creating dependancies. related: Pdef *new(source) create a new instance with a pattern (the source). the pattern should be an event pattern (see Pdef ) *def ...
-
... rate. // a solution is to start a new synth: ( SynthDef ( \pseudorandom , { arg out, sustain=1, seed=1967, id=0; var noise, filterfreq; RandID .ir(id); RandSeed .ir(1, seed); noise = WhiteNoise .ar(0.05 ! 2) + Dust2 .ar(70 ! 2); filterfreq ...
-
... essages to the bundle s.boot; ( SynthDef ( "modsine" , { arg freq=320, amp=0.2; Out .ar(0, SinOsc .ar(freq, 0, amp)); }).send(s); SynthDef ( "lfo" , { arg rate=2, busNum=0; Out .kr(busNum, LFPulse .kr(rate, 0, 0.1, 0.2)) }).send(s); ) //sta ...
-
... ythmic pattern Normally patterns are stateless objects. This would seem to rule out the possibility of making on-the-fly changes to the material that pattern is playing. Indeed, modifying an existing pattern object is tricky and not always ...