the idea is to get two input curves: a pitch(or frequency) over time and an amplitude over time curve.
i made a bezier setup to get curved enveloppes that i convert to linear 'classic' array
where i store frequency input.(F) over time
i wanna scrub this array and get a wavform out.
so i first used a fonction like:
out:= sin (F*2*pi)
but i had strange 'phasing effects sometimes, i mean the sinus didn't keep 'continuity"
the lastest function improved a bit, but i still get issues ie if curve goes down then back up (see down result array in center)
actual function is:
out = sin((F*2*pi*1000) mod trunc(2*pi*1000)) / 1000 . where 1000 was used for the mod integer stuff.
im a bit stuck, maybe my base function is wrong, any ideas on how to get smooth and 'continuous sinus' out while having a frequency input curve?

