Hey everyone, I found a way to make waves using wavseta and linear functions. Here is the code:
DIM WAV[NUM]
FOR X=0 TO LEN(WAV)-1
Y=[equation]
WAV[X]=Y
NEXT
WAVSETA NUM,A,S,D,R,WAV
So yeah. Comment cool equations for waveforms below if you hav any.
Tangent waves are fun: Y=TAN(X)All you need to do to display the waveform is put in the loop:
GLINE X,Y+120,X,120
or
GPSET X,Y+120