-
... 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 ...
-
... 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)); } ...
-
... 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 ...
-
... rc(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, r ...
-
... 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 ...
-
... = 1, amp = 0.1, lagTime = 0.1, ffreq = 2000, detune = 1.005, out = 0| var sig = Saw .ar(Lag.kr(freq, lagTime) * [1, detune]).sum * amp * EnvGen .kr( Env .adsr, gate, doneAction: 2); Out .ar(out, sig ! 2); }).add; ) a = Synth ( \event_set ); ...