-
... Free { "done".postln }; } ) ⧉ ✔ ( SynthDef(\help, { |out| var mod = LFNoise2.kr(Rand(1, 6)) * 0.2; var snd = mod * Blip.ar(Rand(200, 800) * (mod + 1)); Out.ar(out, snd); FreeSelf.kr(mod < 0); }).add; ) ( fork { 10.do { "started a synth".pos ...
-
... ts the default effects of key presses as follows: Key Effect r valueAction_(1.0.rand) n valueAction_(0) x valueAction_(1) c valueAction_(0.5) ] increment [ decrement up arrow increment down arrow decrement right arrow increment left arrow d ...
-
RandomOrbit: Filter: Description Class methods new Inherited class methods Instance methods value func stepSeed seed useScale scaler sign Inherited instance methods Examples Classes (extension) | Control | MetaControl RandomOrbit Extension ...
-
... SCClassLibrary/Common/Audio/canFreeSynth.sc Examples // frequency envelope with random times ( { var freq; freq = DemandEnvGen.ar( Dseq([204, 400, 201, 502, 300, 200], inf), Drand([1.01, 0.2, 0.1, 2], inf) * MouseY.kr(0.01, 3, 1), 7 // cubi ...
-
... k yet.) ⧉ ✔ Multi-channel Lissajou plots ( { var f = { |l,h| SinOsc.kr(0.1, {pi.rand}).range(l, h) } ; Pulse.ar({ f.(20, 1000) }!6, { f.(0.0, 1) }!6, { f.(0.0, 1.0) }!6) }.play; ) c = s.scope; c.numChannels = 6; c.scopeView.waveColors = [Co ...
-
... oder".format(~decoder.kind).postln; // calculate klank args frequencies = Array.rand(numModes, freqs[0], freqs[1]).sort; amplitudes = Array.rand(numModes, gains[0], gains[1]).sort.reverse.dbamp; ringTimes = Array.rand(numModes, rtimes[0], r ...
-
... are other ways of achieving similar results, however, often using UGens such as Rand. For example, the following def will have a single randomly generated frequency, which will be the same for every Synth based on it: ( SynthDef(\help_notRa ...
-
... of the three voices. See description of tonea . noise the period of the pseudo-random noise generator, 0 to 31 control controls how the noise is mixed into the tone(s), 0 to 63 (0 is mute). This is a binary mask value which masks the noise ...
-
... Musical acoustics midicps cpsmidi midiratio ratiomidi dbamp ampdb octcps cpsoct Random operators Other log log2 log10 sin cos tan asin acos atan sinh cosh tanh distort softclip isPositive isNegative isStrictlyPositive Binary Operators Arith ...
-
... ); var layout; var i = 0; var makeEntry = { var view = View().background_(Color.rand).layout_( HLayout( TextField().string_(("This is entry number " + i.asString)), Button().states_([["Delete"]]).action_({ view.remove; i = i - 1 }) ) ); i = ...