-
... ed class methods Instance Methods Inherited instance methods Examples s.boot; ( SynthDef(\sin_grain_test, {arg gate = 1, amp = 1, envbuf1, envbuf2; Out.ar(0, SinGrainI.ar(Impulse.kr(20), 0.2, WhiteNoise.kr.range(440, 880), envbuf1, envbuf2, ...
-
... ed class methods Instance Methods Inherited instance methods Examples s.boot; ( SynthDef(\buf_grain_test, {arg gate = 1, sndbuf, amp = 1, envbuf; Out.ar(0, BufGrainB.ar(Impulse.kr(10), 0.2, sndbuf, MouseX.kr(0.5, 8), PinkNoise.kr.range(0, 1 ...
-
... Server { classvar <>default; var <>servers, <window, <>pointer = 0, <>hostName, synthDefDir; *new { |names, adresses, options, hostName, synthDefDir, clientID = 0 | // options and clientID are the same for every server ^super.new.init( name ...
-
... , doneAction: 2); var son = FSinOsc .ar(freq, 0.5pi, env); son }.plot(dur); ) ( SynthDef ( \gabor , { |out, i_freq = 440, i_sustain = 1, i_pan = 1, i_amp = 0.1, i_width = 0.25 | var env = LFGauss .ar(i_sustain, i_width, loop: 0, doneAction: ...
-
... rown(0.0, 1.0, 0.2, inf); a.asStream.nextN(1000).plot; ) ⧉ ✔ // sound example ( 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, ...
-
/* Retrieved from http://sccode.org/1-5aD */ SynthDef(\prayer_bell, { |outbus, t_trig = 1, sing_switch = 0, freq = 2434, amp = 0.5, decayscale = 1, lag = 10, i_doneAction = 0| var sig, input, first, freqscale, mallet, sing; freqscale = freq ...
-
... zz http://sccode.org/1-57f Modified by Bruno Ruviaro and Josh Mitchell 8/19. */ SynthDef("neuroSnare", { arg //Basic Controls out = 0, pan = 0, amp = 0.1, freq = 160, curve = -4, preamp = 1.4, //Click Controls clickatt = 0.001, clicksus = 0 ...
-
... eed to clean up the OSCresponderNode SendTrig.kr(Impulse.kr(1), 0, freq); // in synthdef s.scope */ //o= nil; //enable this for debugging //if (o == nil, {o = OSCresponderNode(s.addr, '/tr', { |time, resp, msg| msg.postln }).add; }); ~name ...
-
... b, <>pbsfunc, <>dutycycle; var playdef; *initClass { StartUp.add({ 2.do({arg i; SynthDef.writeOnce(\ct1playbuf++((i+1).asSymbol),{arg bufnum=0,outbus=0,rate=1,dur=0.1; var playbuf, env; playbuf= PlayBuf.ar(i+1,bufnum,BufRateScale.kr(bufnum) ...
-
... 1); z.sine1(1.0 / [1, 2, 3, 4], true, true, true); { loop { SynthDef("g1",{ arg out=0, bufnum=0, dur=1, rate=1, pos=0, sdens=1, edens=1; var env, trig, dens, snd; dens = Line.kr(sdens,edens,dur) ...