-
... w is used (default for that is 32768). play(key, attack, sustain, release, amp, out, group, loop) preload and play the sample at key. for this class the actual preloading will happen here. so it will not trigger instantaneously but still be ...
-
... oise.ar(0.5)*EnvGen.ar(Env([1,1,0,0],[(delay1+delay2)/SampleRate.ir,0.0,1.0])); Out.ar(0,Pan2.ar(TwoTube.ar(source,k,loss,delay1,delay2)*EnvGen.ar(Env([0,1,1,0],[0.001]++((dur-0.001)*[0.4,0.6])),doneAction:2),pan)); }).send(s); ) ( t.stop; ...
-
... s 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, MouseX.kr(0, 1), EnvGen.kr( Env([0, 1, 0], [1, 1], \sin, 1), gate, ...
-
... les 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), envbuf, 2, EnvGen.kr( Env([0, 1, 0], [1, 1], \sin, 1), gate, le ...
-
... en create a SATIE renderer and pass it the configuration. We must define the minOutputBusChannels according to the ambisonic order. We are waiting for SATIE to boot and then call the replaceAmbiPostProcessor method to create the Ambisonic 3 ...
-
... ng, \Kethuk, \Kenong, \Kempul, \GongSuw, \GongAgeng ], // raw format, take them out for now. [ \Kendhang /*, \KendhangGdh, \Ketipung*/ ] ]; // server stuff classvar <busKeys = #[\freq, \ringtime, \amp, \attack]; classvar <ensembleBusKeys = ...
-
... as adding randomness level/256+(bias*256); } ) // lets test ( SynthDef(\kick, {|out| var sig = SinOsc.ar(XLine.ar(start: 600,end: 50, dur: 0.1, doneAction: Done.freeSelf))*0.5; Out.ar(out, Pan2.ar(sig)); }).add; SynthDef(\hh, {|out| var sig ...
-
/* 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 ...
-
... nd minor scales in all transpositions. It assumes a 440 Hz concert A reference. Output is the strength of the match to scales, e.g. maximal correlation with key profiles. Provides a measure of the level of key clarity, e.g. unambiguous key. ...
-
... d({ 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)*rate,1,0,0); env= EnvGen.ar(Env.linen(0.0,dur,0.0,1.0,0),doneA ...