-
... 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 ...
-
... 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 ...
-
... 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 ...
-
... ed class methods Instance Methods Inherited instance methods Examples s.boot; ( SynthDef(\sin_grain_test, {arg gate = 1, amp = 1; Out.ar(0, SinGrain.ar(Impulse.kr(10), 0.2, WhiteNoise.kr.range(440, 880), EnvGen.kr( Env([0, 1, 0], [1, 1], \s ...
-
... ods Instance Methods Inherited instance methods Examples // (use headphones!) ( SynthDef("pitchFollow1", { |out| var in, amp, freq, hasFreq, sound; in = Mix.new(SoundIn.ar([0, 1])); amp = Amplitude.kr(in, 0.05, 0.05); # freq, hasFreq = Pitc ...
-
... thods Inherited instance methods Examples s.boot; b = Buffer.alloc(s,2048,1); ( SynthDef("help-brick", { arg out=0, bufnum=0; var in, chain; in = {WhiteNoise.ar(0.2)}.dup; chain = FFT(bufnum, in); chain = PV_Cutoff(chain, SinOsc.kr(0.1)); O ...
-
... ringtimes], Impulse.ar(2, 0, 0.1)) }.play; ) ( // set them from outside later: SynthDef('help-dynKlank', { |out| var freqs, ringtimes, signal; freqs = Control.names([\freqs]).kr([800, 1071, 1153, 1723]); ringtimes = Control.names([\ringtim ...
-
... cessing loop. There can only be one audio rate and one control rate LocalIn per SynthDef. The audio can be written to the bus using LocalOut . WARNING: Audio written to a LocalOut will not be read by a corresponding LocalIn until the next c ...
-
... n or if you have removed // the sound file, pass the concerned path // defining SynthDefs: // 'pos' for single grains // 'posPlay' for moving buffer position // fx SynthDefs for PbindFx // 'leakDC' for leaking DC from summed grains and limi ...