Teaser: ddwPlug quark

I’ve put up a preliminary version.

Quarks.install("https://github.com/jamshark70/ddwPlug.git");

Here’s a pattern playing \default with enveloped vibrato:

(
p = Pbind(
	\type, \syn,
	\instrument, \default,
	\dur, Pwhite(1, 5, inf) * 0.25,
	\legato, 0.98,
	// frequency stuff
	\degree, Pwhite(-7, 7, inf),
	\freqPlug, { |freq|  // <-- base value gets patched here
		// lazy: I'll just use an ad-hoc function
		Plug({ |freq, depth|
			(depth ** LFTri.kr(4)) * freq
		}, [
			freq: freq,
			depth: Plug({ EnvGen.kr(Env([1, 1.06], [0.7], 4)) })
		])
	}
).play;
)

p.stop;

(Edit: I documented the Syn class, but not Plug yet… soon.)

hjh

4 Likes