-
... ange while running. ( Ndef(\thatSound, {SinOsc.ar*0.2}); Ndef(\thatOtherSound, {Saw.ar*0.1}); That.amp(\thatTest, Ndef(\thatSound), {|r| r.postln}, {Impulse.kr(1.0)}); ) // now change the input That(\thatTest).input = Ndef(\thatOtherSound); ...
-
... ore than two channels size has to be passed. ( { DXFan.ar( Dseq([0, 2], inf), `(Saw.ar(50 * [1, 5], 0.03)), size: 4, fadeTime: 0.1 ) }.plot(0.2) ) // crossfading a mono source between several outs ( { DXFan.ar( Dseq([0, 3, 1, 2], inf), BPF. ...
-
... will yield exactly 3 values 4.do { p.next.postln }; // 4th value is nil ⧉ ✔ We saw that list patterns can contain other patterns, and that the inner patterns are treated like "subroutines." List patterns do this by calling embedInStream on ...
-
... that Plugs feeding into inputs come first. ( a = Syn(\default, [ freq: Plug { LFSaw.kr( LFTri.kr(0.2).exprange(0.5, 12) ).exprange(150, 950) } ]); ) s.queryAllNodes; NODE TREE Group 0 1 group 1000 plugDef1006 1001 default a.release; ⧉ ✔ Nod ...
-
... ot frequencies ( b <<.freq 25; a <<.freq 103; ) //Replace b's definition with a sawtooth wave. //Make sure to have the same parameter names so they keep the mappings b.replace({ Saw.ar(\freq.kr + \fm.ar) }) //Bye bye ( b.clear(time:2); a.cl ...
-
... ef(\kablooie, { |x = 0| var signal; if(x > 0) { signal = SinOsc.ar } { signal = Saw.ar }; }); ⧉ ✔ ... with the disturbing result: ERROR: Non Boolean in test. "Non Boolean in test"? But x > 0 is a comparison, and surely should produce a Bool ...
-
... just a way to give names to values coming out of the types of patterns we just saw. When you ask a Pbind stream for its next value, the result is an object called an Event . Like a Dictionary (which is a superclass of Event), an event is a ...
-
... rq = 0.1, cutoff = 1000, amp = 0.1 att = 0.01, sus = 0.0, rel = 0.01| var sig = Saw.ar(freq * [1, (centDif * 0.01).midiratio], amp); Out.ar(0, BPF.ar(sig, cutoff.clip(30, 8000)) * EnvGen.ar(Env.linen(att, sus, rel), doneAction: 2)); }, 0.01 ...
-
... acoustics midicps Convert MIDI note number to cycles per second. Discussion: { Saw.ar(Line.kr(24,108,10).midicps, 0.2) }.play ⧉ ✔ cpsmidi Convert cycles per second to MIDI note. midiratio Convert an interval in MIDI notes into a frequency ...
-
... .perc(att, rel, amp), doneAction: 2); OffsetOut.ar(out, sig); }).add; SynthDef(\saw_grain, { |out = 0, freq = 400, att = 0.005, rel = 0.1, amp = 0.1| var sig = { VarSaw.ar(freq, Rand(0, 1)) } ! 2; sig = sig * EnvGen.ar(Env.perc(att, rel, am ...