LFPar parabolic oscillator

A sine-like shape made of two parabolas. It has audible odd harmonics and is non-band-limited.

Output ranges from -1 to +1.

freq - frequency in Hertz

iphase - initial phase offset in cycles ( 0..1 )

// a plot

{ LFPar.ar(Line.kr(100, 800, 0.1)) }.plot(0.1);

// 440 Hz wave

{ LFPar.ar(440) * 0.1 }.play;

// modulating frequency:

{ LFPar.ar(XLine.kr(100, 2000, 10)) * 0.1 }.play;

// amplitude modulation:

{ LFPar.kr(XLine.kr(1, 200, 10)) * SinOsc.ar(440) * 0.1 }.play;

// used as both Oscillator and LFO:

{ LFPar.ar(LFPar.kr(3, 0.3, 200, 400)) * 0.1 }.play;

// more examples:

{ LFPar.ar(LFPar.kr(LFPar.kr(0.2,0,8,10), 0, 400,800),0,0.1) }.play

{ LFPar.ar(LFPar.kr(0.2, 0, 400,800),0,0.1) }.play

{ LFPar.ar(800,0,0.1) }.play

{ LFPar.ar(XLine.kr(100,8000,30),0,0.1) }.play

// compare:

{ LFCub.ar(LFCub.kr(LFCub.kr(0.2,0,8,10),0, 400,800),0,0.1) }.play

{ LFCub.ar(LFCub.kr(0.2, 0, 400,800),0,0.1) }.play

{ LFCub.ar(800,0,0.1) }.play

{ LFCub.ar(XLine.kr(100,8000,30),0,0.1) }.play

{ SinOsc.ar(SinOsc.kr(SinOsc.kr(0.2,0,8,10),0, 400,800),0,0.1) }.play

{ SinOsc.ar(SinOsc.kr(0.2, 0, 400,800),0,0.1) }.play

{ SinOsc.ar(800,0,0.1) }.play

{ SinOsc.ar(XLine.kr(100,8000,30),0,0.1) }.play

{ LFTri.ar(LFTri.kr(LFTri.kr(0.2,0,8,10),0, 400,800),0,0.1) }.play

{ LFTri.ar(LFTri.kr(0.2, 0, 400,800),0,0.1) }.play

{ LFTri.ar(800,0,0.1) }.play

{ LFTri.ar(XLine.kr(100,8000,30),0,0.1) }.play