File: wavesShapeDistortion.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 (6 lines) | stat: -rw-r--r-- 159 bytes parent folder | download
1
2
3
4
5
6
SynthDef.new(\wavesShapeDistortion,
{|bus, shape|
var osc;
osc = In.ar(bus, 2);
osc = (osc * (shape * 50)).fold2(1).distort / 5;
ReplaceOut.ar(bus, osc)}).add;