File: disto_mod.scd

package info (click to toggle)
python-renardo-lib 0.9.12-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,220 kB
  • sloc: python: 10,999; sh: 34; makefile: 7
file content (7 lines) | stat: -rw-r--r-- 221 bytes parent folder | download
1
2
3
4
5
6
7
SynthDef.new(\disto_mod, {
	|bus, disto, smooth, distomix|
	var osc;
	osc = In.ar(bus, 2);
	osc = LinXFade2.ar(CrossoverDistortion.ar(osc, amp:0.5*disto, smooth:smooth),  osc, 1-distomix);
	ReplaceOut.ar(bus, osc)
}).add;