-
... x processing of grains! // define fxs to read from buses ( a = Bus.audio(s, 6); SynthDef(\resample, { |out = 0, in, lfoFreq = 0.2, resampleLo = 500, resampleHi = 2000, lag = 0.001, mix = 1, amp = 0.1| var sig, inSig = In.ar(in, 2), lfo; lfo ...
-
... ock 1 with 0.5 fade) blk play 1 sine //block, blockName (play block 1 with sine synthdef) blk ply 1 sine //block, blockName (play block 1 with sine synthdef) blk ply 1 sine [freq 400] //block, blockName (play block 1 with sine synthdef) wit ...
-
... encing Playing a predefined note sequence "Multichannel" expansion Using custom SynthDefs (including unpitched SynthDefs) Pattern Guide Cookbook 02: Manipulating Patterns Merging (interleaving) independent streams Reading an array forward o ...
-
... Instance.setLocalEffect(1, "FreeVerb"); ~moscaInstance.setLocalAmount(1, 0.01); SynthDef("test-out", { | outbus=0, freq=440, radAzimElev = #[0,0,0], orientation = #[0,0,0], amp = 0 | var source, source2, point, delEnv; var dis = Lag.kr(radA ...
-
... ✔ Instantiate some sources We can get usual mono sources encoded into b-format. Synthdefs are automatically generated according to the ambisonics orders selected in SatieConfiguration. For instance for the misDrone mono source, only order 1 ...
-
... } // add some more elements from z 32.do { x.next.postln }; // event streams ( SynthDef("mark", { arg out, freq, sustain=1, amp=0.1, pan; var env, u=1; env = EnvGen.kr(Env.perc(0.03, sustain, 5), 1, doneAction:2); 3.do { var d; d = exprand ...
-
... d.".postln; }) ) // play the synth, indexing into the buffers with MouseX ( x = SynthDef("help-VOsc", { |out = 0, bufoffset = 0, freq = 240| // mouse x controls the wavetable position var bufindex = MouseX.kr(0, ~bufs.size - 1) + bufoffset; ...
-
... somewhat contrived example of how the Environment might be used to manufacture SynthDefs. Even though the three functions below have the freq, amp and pan args declared in different orders it does not matter, because valueEnvir looks them ...
-
... nil; a.setSamplingRate(120); a.setFilterCutoff(0.3); s.waitForBoot{ var synth; SynthDef(\mysnd, {|out= 0, amp= 0.2, lag= 0.01| var snd= SinOsc.ar(\data.kr(#[0, 0, 0, 0], lag)); Out.ar(out, Splay.ar(snd*amp)); }).add; s.sync; synth= Synth(\ ...
-
... .stop; routinePlaying = false; // Reset beat display sequencer.beat_(0); }; }); SynthDef(\GMWhitePerc, { var snd = WhiteNoise.ar(0.25); snd = snd * EnvGen.kr( Env.perc(0.01, 0.2), doneAction: Done.freeSelf ); snd = BPF.ar(snd, 10000, 0.75); ...