A1 = 1 (slider from 1 to 3.5, step 0.5)
A2 = 1.5 (slider from 1 to 3.5, step 0.5)
A3 = 2 (slider from 1 to 3.5, step 0.5)
A4 = 2.5 (slider from 1 to 3.5, step 0.5)
f1 = 1.5 (slider from 1 to 2, step 0.25)
f2 = 1 (slider from 1 to 2, step 0.25)
f3 = 2 (slider from 1 to 2, step 0.25)
f4 = 1.5 (slider from 1 to 2, step 0.25)
t2 = 2.5 (slider from 0 to 10, step 2.5)
t3 = 5 (slider from 0 to 10, step 2.5)
t4 = 2.5 (slider from 0 to 10, step 2.5)
fbase = 5 (slider from 0 to 5, step 0.1)
f = If(x > 0.0, If[x < t2, 4.0 + A1 * sin(2.0 * x * f1 * fbase)])
g = If(x > t2, If[x < t3 + t2, 4.0 + A2 * sin(2.0 * f2 * x * fbase)])
h = If(x > t2 + t3, If[x < t2 + t3 + t4, 4.0 + A3 * sin(2.0 * f3 * x * fbase)])
j = If(x > t2 + t3 + t4, If[x < 20.0, 4.0 + A4 * sin(2.0 * x * f4 * fbase)])