-
... , depth= 300, w, wgrav, world, n= 10, ss= 1.25, ff= 0.25, synths; //--synthesis SynthDef("fm3Dtest", {|out= 0, t_trig= 0, amp= 0.1, dur= 0.1, freq= 400, pan= 0, freq2= 600| Out.ar(out, Pan2.ar( EnvGen.ar(Env.perc(0.01, dur), t_trig) *SinOsc ...
-
... // resetting the frequencies and amplitudes after the synth has been created ( SynthDef('help-dynKlang', { |out, freqs = #[220, 440, 880, 1760], amps = #[0.35, 0.23, 0.12, 0.05], phases = #[1, 1.5, 2, 2.5]| Out.ar(out, DynKlang.ar(`[freqs, ...
-
... .boot; z = Buffer.read(s, Platform.resourceDir +/+ "sounds/a11wlk01.wav") ( x = SynthDef(\specEnhance, {arg ratio = 2; var a, chain, out; a = LocalBuf.new(2048); // Sin tone // chain = FFT(a, SinOsc.ar(440), 0.5); // sf playback // chain = ...
-
... nt. you cannot cut-up a stream created later in the execution order. Change the SynthDefs in the class file to InFeedback if you want no execution order worries, at the expense of an audio block's delay (usually 64 samples). Class Methods . ...
-
... [0.5, 1, 2, 0.25, 0.25], inf) ); x = a.asStream; 100.do({ x.next.postln }); ) ( SynthDef(\help_sinegrain, { |out = 0, freq = 440, sustain = 0.05| var env; env = EnvGen.kr(Env.perc(0.01, sustain, 0.2), doneAction: Done.freeSelf); Out.ar(out, ...
-
... ive times x = a.asStream; 20.do { x.next.postln }; ) // using event patterns: ( SynthDef(\help_sinegrain, { |out = 0, freq = 440, sustain = 0.05| var env; env = Env.perc(0.01, sustain, 0.2).kr(doneAction: Done.freeSelf); Out.ar(out, SinOsc. ...
-
... rom each other. rate either \kr or \ar lag array of lag times Discussion: ( x = SynthDef(\vowel, {|freq = 420| Out.ar(0, Formants.ar(freq.lag(0.1), Vowel(\a).addControls(lag: 1)) * 0.01 ) }).play ) x.setn(*([\freq, exprand(100, 1000)] ++ Vo ...
-
... xt.post }); "".postln }); // Some examples of how Pseed can be used in music. ( SynthDef.new(\varsaw, { arg dur, attack = 0.01, release = 1.0, t_gate = 1, out, freq = 442, cutoff = 5500, rq = 1, pan = 0.0, amp = 0.5, width = 0.1; var env = ...
-
... [1], inf), Pseq([1, -1], inf), // turn around at either end 0); x = a.asStream; SynthDef(\help_walk, { |out, freq| Out.ar(out, Saw.ar([freq, freq+1], 0.5) * EnvGen.kr(Env.perc(0.01, 0.1), doneAction: Done.freeSelf)) }).add; ) ( r = Task({ { ...
-
... ure has been saved or loaded). . defaultSynth Get or set the fracture's default SynthDef (the default instrument for all chips created by this fracture). See FractureSynth . . writeInterval Get or set the interval at which the fracture anal ...