Main Archive Specials Wiki | FAQ Links Submit Forum

Parabolic shaper

References : Posted by azertopia at free dot fr

Notes :
This function can be used for oscillators or shaper.
it can be driven by a phase accumulator or an audio input.

Code :
Function Parashape(inp:single):single;
var fgh,tgh:single;
fgh := inp ;
fgh := 0.25-f_abs(fgh) ;
tgh := fgh ;
tgh := 1-2*f_abs(tgh);
fgh := fgh*8;
result := fgh*tgh ;
// f_abs is the function of ddsputils unit.


There are no comments on this item

Add your own comment
Comments are displayed in fixed width, no HTML code allowed!


Are you human?

Site created and maintained by Bram
Graphic design by line.out | Server sponsered by fxpansion