<div>Greetings All</div><div><br></div><div>I&#39;m trying to create a function generator that uses equations (small equations on this one.) and have the audio played and plotted.</div><div>An example of an equation would be the sine wave equation y=a*sin(f*t+p)+v   </div>

<div>a=amplitude, f=frequency, t=time, p=phase, v=vertical offset.</div><div><br></div><div>I looked up in the example and found cycle~ which said &quot;table-lookup oscillator or function generator&quot; but not sure where to put the expr~</div>

<div>I would think it would go like this. but of course the syntax must be wrong.</div><div><br></div><div>expr~ $f1+sin*(($f2*$f3)+$f4)+$f5   </div><div>|</div><div>cycle~</div><div><br></div><div><meta http-equiv="content-type" content="text/html; charset=utf-8">a=$f1=amplitude, f=$f2=frequency, t=$f3=time, p=$f4=phase, v=$f5=vertical offset.</div>

<div><br></div><div>Please note the equations will not just be a simple sinewaves they will have cos, tan, atan, etc but be no more than 4 lines long.  I also plan on connecting the $f1,$f2,$f4,$f5 variables to a usb midi controller to vary the values as the audio signal is played in realtime.</div>

<meta http-equiv="content-type" content="text/html; charset=utf-8"><div><br></div><div>aloha</div><div>Rick</div>-- <br><br>