1class:: LFCub 2summary:: A sine like shape made of two cubic pieces 3related:: Classes/LFPar, Classes/LFPulse, Classes/LFSaw, Classes/LFTri 4categories:: UGens>Generators>Deterministic 5 6 7Description:: 8 9A sine like shape made of two cubic pieces. Smoother than 10link::Classes/LFPar:: . 11 12 13classmethods:: 14 15method::ar, kr 16 17argument::freq 18Frequency in Hertz. 19 20argument::iphase 21 22Initial phase offset. 23 24 25argument::mul 26Output will be multiplied by this value. 27 28argument::add 29This value will be added to the output. 30 31Examples:: 32 33code:: 34{ LFCub.ar(LFCub.kr(LFCub.kr(0.2,0,8,10),0, 400,800),0,0.1) }.play 35{ LFCub.ar(LFCub.kr(0.2, 0, 400,800),0,0.1) }.play 36{ LFCub.ar(800,0,0.1) }.play 37{ LFCub.ar(XLine.kr(100,8000,30),0,0.1) }.play 38 39//compare: 40 41{ LFPar.ar(LFPar.kr(LFPar.kr(0.2,0,8,10),0, 400,800),0,0.1) }.play 42{ LFPar.ar(LFPar.kr(0.2, 0, 400,800),0,0.1) }.play 43{ LFPar.ar(800,0,0.1) }.play 44{ LFPar.ar(XLine.kr(100,8000,30),0,0.1) }.play 45 46 47{ SinOsc.ar(SinOsc.kr(SinOsc.kr(0.2,0,8,10),0, 400,800),0,0.1) }.play 48{ SinOsc.ar(SinOsc.kr(0.2, 0, 400,800),0,0.1) }.play 49{ SinOsc.ar(800,0,0.1) }.play 50{ SinOsc.ar(XLine.kr(100,8000,30),0,0.1) }.play 51 52{ LFTri.ar(LFTri.kr(LFTri.kr(0.2,0,8,10),0, 400,800),0,0.1) }.play 53{ LFTri.ar(LFTri.kr(0.2, 0, 400,800),0,0.1) }.play 54{ LFTri.ar(800,0,0.1) }.play 55{ LFTri.ar(XLine.kr(100,8000,30),0,0.1) }.play 56:: 57 58