-
... out, snd); }).add; SynthDef(\highshort, { |out, amp=0.1| var snd; snd = SinOsc.ar(10000); snd = snd * EnvGen.ar(Env([0,1,1,0], [0.001, 0.010, 0.010]), doneAction: Done.freeSelf); snd = snd * amp; Out.ar(0, snd!2); }).add; ...
-
... phonedialing, phonebusy, animals; Ndef(\background,{ var sig1; var si=SinOsc; var no=LFNoise1; sig1= DynKlang.ar(`[[si.kr(freq:1.32, phase:no.kr(5,1)).range(25,330), si.kr(freq:0.23, phase:no.kr(0.1,1)).range(20,800), ...
-
... overrides the positional argument value. For example the ar class method of the SinOsc class takes arguments named freq, phase, mul, and add in that order. All of the following are legal calls to that method. SinOsc.ar(800, pi, 0.2, 0); // ...
-
... k", { |out = 0, in = 0| var input, sound; input = InFeedback.ar(in, 1); sound = SinOsc.ar(input * 1300 + 300, 0, 0.4); Out.ar(out, sound); }).play; ) ⧉ ✔ this shows how a node can read audio from a bus that is being written to by a synth fo ...
-
... \cub, \cubed cubic interpolation ( LFDNoise3 ) \sin, \sine regular sine wave ( SinOsc ) phaseType phase type, one of 0 \saw sawtooth shape ( LFSaw ) 1 \tri tri shape ( LFTri ) 2 \sin sine shape ( SineOsc ) Inherited class methods Instance ...
-
... = Impulse .kr( MouseX .kr(1, 40, 1)); freq = Demand .kr(trig, 0, a) * 30 + 340; SinOsc .ar(freq) * 0.1 }.play; ) // Dibrown ( { var a, freq, trig; a = Dibrown (0, 15, 1, inf ); trig = Impulse .kr( MouseX .kr(1, 40, 1)); freq = Demand .kr(tr ...
-
... illator2; env = Env.perc(att, dec, amp, curve).kr(doneAction: 2); oscillator1 = SinOsc.ar(freq); //Try other waveforms for the oscillators! Mix and match, collect them all! oscillator2 = SinOsc.ar(Line.kr(freq + beatFreq, freq, dec)); snd = ...
-
... methods Examples // mixer parametric eq as wahwah { MidEQ.ar(Saw.ar(200, 0.2), FSinOsc.kr(1, 0, 24, 84).midicps, 0.3, 12) }.play // notch filter ( { var in; in = PinkNoise.ar(0.2) + SinOsc.ar(600, 0, 0.1); MidEQ.ar(in, SinOsc.kr(0.2, 0.5pi) ...
-
... scillators are both in the region x = 0.0 to 0.5, y = 0.5 to 1.0 ( { InRect.ar( SinOsc.ar(1), SinOsc.ar(1.3), Rect(0, 0.5, 0.5, 0.5) ) * LFSaw.ar(44, 0, 0.1) }.play ) // Stereo effect ( { InRect.ar( LFNoise0.ar([140, 141]), LFNoise0.ar(143) ...
-
... ethods Instance Methods Inherited instance methods Examples { CheckBadValues.kr(SinOsc.ar); 0 }.play // nothing wrong here { CheckBadValues.kr(1 / 0, 1).poll; 0 }.play // check infinity x = { |test = -1| CheckBadValues.kr(test); 0 }.play // ...