custom tone generator help

No need to RAR the files. Both TXT and WAV files may be uploaded to the forum.

I don’t think you’ve said what you are trying to do, but the final 10 values in your data look peculiar. All the other values show a slope of close to 0.000299 amplitude per sample, except for the final 10 samples, when there is a sudden jump from -0.901377197 to -0.9, followed by 9 values at -0.900000000. Is that intentional? If not, it is likely to have a significantly adverse effect on other measurements.

If the aim is to create a waveform that rises in linear fashion from 0.595183546 to 0.901077201 over a period of time, and then from -0.598393437 to 0.900000000 over an equal period of time, then a better (more accurate) way to achieve that is with a Nyquist “piecewise linear approximation”.

(pwlv 0.595183546 0.5 0.901077201 0.5 -0.598393437 1 -0.900000000)

Here’s a couple of plug-ins that you may find useful. Open them in a text editor and read the notes near the top of the file for information about what they do and how to use them.
If you have further questions, feel free to ask, but please be forthcoming about the “big picture” of what you are trying to do. The better we understand what you are trying to do, the better we can help.
cycletone.ny (958 Bytes)
arbitrarywaveform.ny (2 KB)