-
... .bus.getSynchronous.min(1)*voices[0].buf.numFrames; }, { ^0; }); } play {|path, out, amp, rate, loop, attack, curve, start, end, lag| forkIfNeeded{ var voice, buf; path= path.standardizePath; buf= this.findBuffer(path); if(buf.isNil, { //ch ...
-
... ersion. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. ...
-
... tituents.do { |data, i| // var name = synthNames[i][0]; // SynthDef(name, // { |out=0, gate=0.1, amp=0.5, pan=0.5, attack=0.01, sustain = 1, release = 0.5| // var env, trig; // // trig = Impulse.ar(0/*, 0, 1*/).lag(attack); // env = EnvGen. ...
-
... true| var conf; #type, mode, int = [ type, mode, int ].collect({ |item, i| var out; out = item.asString[0].toLower.asSymbol; if( [ types, modes, intTypes ][i].includes( out ).not ) { "WFSArrayPanSynth.generateDef - nonexistent %: %" .forma ...
-
... a kick made using what radio folks would call a "chirp" SynthDef(\kick_chrp, { |out=0, amp=0.1, pan=0| var ampenv, pitchenv; ampenv = EnvGen.ar(Env.perc(0, 0.2, curve: 0), doneAction: 2); pitchenv = EnvGen.ar(Env.perc(0, 0.1, curve: -20).ex ...
-
... ight= 300, w, wgrav, world, n= 60, sys, synths; //--synthesis SynthDef(\sine, {|out= 0, freq= 400, beat= 1, amp= 1, pan= 0| var z; z= Mix(SinOsc.ar(freq+[0, beat], Rand(0, 2pi), amp*0.5)); Out.ar(out, Pan2.ar(z, pan)); }).add; SynthDef(\saw ...
-
... t(0, 0, width, height)); var mouse, objects= List.new; SynthDef(\main, {|in= 0, out= 0| var src= In.ar(in, 2); src= src.tanh; src= FreeVerb2.ar(src[0], src[1], 0.2, 1); Out.ar(out, src); }).add; SynthDef(\part, {|out= 0, x= 0, y= 0, a= 1, d ...
-
... { arg amp = 1, freq = 2000, rq = 2, att = 0.01, dec = 0.3, curve = -6, pan = 0, out = 0; var snd, env; env = Env.perc(attackTime: att, releaseTime: dec, curve: curve).kr(doneAction: 2); snd = PinkNoise.ar(amp); snd = BPF.ar(snd, freq, rq, e ...
-
... odified by Bruno Ruviaro and Josh Mitchell 8/19. */ SynthDef("kickRingz", { arg out = 0, pan = 0, freq = 40, amp = 1, decay = 0.25, ffreq = 1000; var snd; snd = Ringz.ar( in: LPF.ar(in: Impulse.ar(0), freq: ffreq), freq: freq, decaytime: de ...
-
... etup *** // test playing and recording to 8 channels: - should be able to set 8 out chans - should be able to play each slot in stereo on [0, 2, 4, 6] - should record 8 chans for 20 mins SkipJack { NTMI.ndefs.do { |nd, i| var moni = nd.moni ...