-
... 0 * squared(0.25)))).ampdb // -70dB // maximum is always 1: { LFGauss .ar(0.1, XLine .kr(1, 0.03, 1), 0, loop: 1) }.plot(1); // a gauss curve in sclang: (0..1000).normalize(-1, 1).collect( _ .gaussCurve(1, 0, 0.1)).plot; // rescale the func ...
-
... arrier, modulator, freqdev, env, modfreq; // i = d/m, so d = m*i modindex = Line.kr(modindex, 1, att); modfreq = freq / 2; freqdev = modfreq * modindex; modulator = SinOsc.ar(freq: modfreq, mul: freqdev); carrier = LFTri.ar(freq ...
-
... hat at 300 bauds there will be eight pulses/cycles for marking a one bit. addNewlineGap optional. add ten extra NULL characters at the end of each line. addCarriageReturn optional. add an extra Char.ret (ascii 13) for each Char.nl (ascii 10 ...
-
... beat Esp.clockAdjust = 0.2; // slide synced tempo/metre forward in time // the line above is useful when specific SC setups make sound a fixed time later than // other synced setups, i.e. because of differences in the latencies of the audi ...
-
... all.do({arg val; if(val.cmdName=='/tr',{OSCresponder.remove(val)}); }); //run a line at a time ~clock= ServerClock.new; ~clock.play(100,s); //will wait on trigID 100 ~database=AnalyseEventsDatabase.new; Routine.run({ //choose some file you ...
-
... time-dev, time+dev).yield; }; }.fork(AppClock); } {where == \gui} {extraPost.addLineToFork(this, time, dev);} {where == \doc} { this.docforkln(extraPost, time, dev); }; } {type == \ln} { case {where == \ide} {this.postln} {where == \gui} {e ...
-
... // .thumbWidth_(30.0) // .thumbHeight_(15.0) .setEnv(carrFreqEnv) .drawLines_(true) .selectionColor_(Color.red) .drawRects_(true) .step_(0.01) .keepHorizontalOrder_(true) .action_({arg b; // ["GOT IT", b.value].postln; ...
-
... the bufferPools. Study 3 - AudioIn and Recording To route Audio in from Mic or Line-in, open the AudioIn tool. To get it straight to the speakers, use audio busses 0 and 1 (left and right). If you want to route the audio through some effec ...
-
... tun = ((tun>0)*tun) + ((tun<1)*3); freq = (tun*10).midicps; env = EnvGen.ar(Env.linen(0.01, 0, 1, 1, -3), t_gate, timeScale: dur, doneAction: 2); sig = LPF.ar(SinOscFB.ar(XLine.ar(freq.expexp(10, 2000, 1000, 8000), freq, 0.025/pew), fed), 9 ...
-
... caused by blocks. Inherited instance methods Examples //you must have run this line before any of the examples below f= BBCutBuffer(Platform.resourceDir +/+ "sounds/break.aiff",8); //defaults BBCut2(CutBuf2(f), RecursiveCutProc1.new).play( ...