-
... instance methods . signalRange Examples // turn on and off a sine oscillator ( SynthDef("help-DigitalIn", { |out = 0| Out.ar(out, SinOsc.ar(500, 0, 0.1 * DigitalIn.ar(0)) ) }).play; ) ⧉ ✔ helpfile source: /usr/local/share/SuperCollider/Hel ...
-
... and understandability. Modified by Josh Mithell and Bruno Ruviaro July 2019. */ SynthDef("defaultB", { arg //Standard values out=0, freq=440, amp=0.1, att = 0.01, rel = 0.3, pan=0, gate=1, // Extra controls beatingsRatio = 1.0009, sawWidth ...
-
... MouseY.kr(0, n-1)) ); Ringz.ar(trig, 1000, 0.01) }.play; ) // single impulses ( SynthDef("delta_demand", { |amp = 0.5, out| OffsetOut.ar(out, TDuty.ar(Dseq([0]), 0, amp, 2) ) }).add; ) fork { 10.do { s.sendBundle(0.2, ["/s_new", "delta_dema ...
-
... ); x = a.asStream; 9.do({ x.next( Event .default).postln; }); ) sound example ( SynthDef ( \sinegrain , { arg out=0, freq=440, sustain=0.02; var env; env = EnvGen .kr( Env .perc(0.001, sustain), 1, doneAction:2); Out .ar(out, SinOsc .ar(fre ...
-
... blockSize, alwaysRebootServer, postWin, standalone, deviceIn, deviceOut); } *addSynthDef { SynthDef(\connectionInputAmplifier, {|outBus, inBus, vol| var sig; sig = SoundIn.ar(inBus); Out.ar(outBus, sig * vol); }).add; SynthDef(\connectionEx ...
-
... Examples s.boot; b = Buffer.read(s, ExampleFiles.child); ( // trig with MouseY SynthDef("help-binScramble", { |out = 0, soundBufnum = 2| var in, chain; in = PlayBuf.ar(1, soundBufnum, BufRateScale.kr(soundBufnum), loop: 1); chain = FFT(Loc ...
-
... t available audio input devices s.meter; // display level meters for monitoring SynthDef(\helpAudioIn, { |out| var input = AudioIn.ar(1); // first input // delay output to tame feedback in case of microphones are configured: Out.ar(out, Com ...
-
... tank example in LocalIn helpfile RedEfxTank : RedEffectModule { *def {|lag= 0| ^SynthDef(\redEfxTank, {|out= 0, mix= -1, fb= 0.98, dec= 1, damp= 1| var dry, wet, in2; dry= In.ar(out, 2); in2= dry; 4.do{in2= AllpassN.ar(in2, 0.02, {Rand(0.00 ...
-
( ~t = 185/4/60; TempoClock.default.tempo = ~t; SynthDef(\blik, { arg out=0, amp=0.1, gate=1, pan=0, freq=200; var sig; sig = LFSaw.ar(freq * XLine.kr(1,4,8) * ( 1 + ( SinOsc.kr(1/21 * (1..8)) * SinOsc.kr(2*~t).range(0,0.1) ))); si ...
-
// FM bass SynthDef(\fmBass, { |out, freq = 440, gate = 1, t_gate = 1, amp = 0.1, cbuf, mbuf, ratio = 0.5, index = 3, detun = 1.003, bufmod = 0, bufmodlag = 0.1, freqlag = 0.08, indexDecay = 0.1, indexEgAmt = 0.62, atk = 0.01, dcy = 0.2, su ...