DPW3Tri:
Filter:
Description
Class methods
ar
Inherited class methods
Instance methods
Inherited instance methods
Examples
Classes (extension)
|
UGens
>
Generators
>
Deterministic
DPW3Tri
:
UGen
:
AbstractFunction
:
Object
Extension
Triangle via 3rd order differerentiated polynomial waveform
Source:
AntiAliasingOscillators.sc
See also:
DPW4Saw
,
BlitB3Tri
Description
Distortion creeps in for changes at low frequencies when under 200Hz. But very clean above that.
Class Methods
DPW3Tri.
ar
(
freq: 440.0
,
mul: 1.0
,
add: 0.0
)
Arguments:
freq
Inherited class methods
Instance Methods
Inherited instance methods
Examples
//distortion creeps in under 200Hz { DPW3Tri.ar(XLine.kr(2000, 20, 10)) }.play; //very fast sweeps can have transient distortion effects { DPW3Tri.ar(MouseX.kr(200,12000,'exponential')) }.play; //compare: {LFTri.ar(MouseX.kr(200,12000,'exponential'))}.play //less efficient than LFTri { Mix(DPW3Tri.ar(Array.rand(10,50,5000))*0.1) }.play; { Mix(LFTri.ar(Array.rand(10,50,5000))*0.1) }.play; //triangle is integration of square wave; warning loud, not so kind {Integrator.ar(Pulse.ar(MouseX.kr(440,8800),0.5),0.99)}.play //differentiation of triangle is square {HPZ1.ar(2.0*DPW3Tri.ar(MouseX.kr(440,8800)))}.play //compare {Pulse.ar(MouseX.kr(440,8800),0.5)}.play
helpfile source:
/usr/local/share/SuperCollider/Extensions/SC3plugins/AntiAliasingOscillators/HelpSource/Classes/DPW3Tri.schelp
link::Classes/DPW3Tri::