-
( fork{ var path, inSrc, irL, irR, convTime, fftsize, bufsizeL, bufsizeR, irSpctrmL, irSpctrmR, convolver; path= Platform.resourceDir; // path! "preparing buffers.. ".post; inSrc= Buffer.readChannel(s, path+/+"sounds/a11wlk ...
-
( ~numIRs = 4; ~fftsize = 2048; s.waitForBoot { var irs, irbuffs, bufsizes, nextmod, numSamples; nextmod = 100; numSamples = 40000 ; /* an array of multiple IRs */ irs = ~numIRs.collect{ arg nth; // nth is here not used, ...
-
... fsetOut.ar(10, (humSource + OnePole.ar(comb * 0.2, exp(-2pi * (3000 * SampleDur.ir))))); comb!2 ; }.play; ) //Fig 39.8: Hum and sparks //Contains the subpatches shown in fig 39.2, 39.4, 39.5, 39.6 & 39.7. //The scope win ...
-
... ar(toy, 0, 1); toy = (toy - OnePole.ar(toy, exp(-2pi * (10 * SampleDur.ir)))); toy = OnePole.ar(toy, exp(-2pi * (30 * SampleDur.ir))); noise = WhiteNoise.ar; noise = (noise - OnePole.ar(noise, exp(-2pi ...
-
... bham.ac.uk/lists/sc-users-2016/msg52187.html // code for building & testing IRs // setup ( s.waitForBoot({ { // init // free old buffers if (a.notNil, { if (a.buffer.notNil, { a.buffer.free; }); if (a.ta ...
-
... g) * demand; cricket = OnePole.ar(cricket, exp(-2pi * (1000 * SampleDur.ir))); cricket = ( // changed the Q factor of the first 3 BPFs to approximate farnells sound BPF.ar(cricket, 4500 + ((0..2)*50), 300.reciprocal, 100) ...
-
[beginner question] how to transmit parameter value to a function inside a SynthDef by elienaulleau (pictosonic) Code
... I pass to the function a litteral value, such as 200. Also passing \threshold.ir(100) raises an exception at Command+Enter time. So how to pass a parameter to a function called inside a SynthDef ? Thank you ! ~freqgold = List[ 29.03 ...
-
... m, chan, src; ~notes[num] = Synth.new(\voxgrains, [ \baserate, (num-60).midiratio, \amp, val.linexp(1,127,0.02,0.3), //velocity detection \gate, 1, \bend, ~bend.linlin(0,16383,-2,2), \basedur, ~mod.linlin(0,127,0.07,2), ...
-
... ef(\marimba, { var sig, env, rq; rq = \rq.kr(0.03); env = Env.asr(\atk.ir(0.25), 0.5, \rel.ir(1)).kr(2, \gate.kr(1)); sig = LFSaw.ar( LFNoise1.kr( LFNoise1.kr(6).range(\rmin.kr(2), \rmax.kr(16)), 0.9, ).exprang ...
-
... r snd = FSinOsc.ar(freq); var env = EnvGen.ar(Env.sine(sustain, amp * AmpComp.ir(freq) * 0.5), doneAction: 2); OffsetOut.ar(out, Pan2.ar(snd * env, pan)); }, \ir ! 5).add; // wider, quasi-gaussian envelope, with a hold time in th ...