<div>I have 2 large equations that I would like to create an external for.  One of the 2 equations <a href="http://dl.dropbox.com/u/6576402/questions/eq1.txt">http://dl.dropbox.com/u/6576402/questions/eq1.txt</a></div><div>

Basically it&#39;s a 1 second periodic signal with sample rate at 44100 which the equation gives me control over the frequency,amplitude,phase and vertical offset</div><div><br></div><div>So my logic is to have 4 inlets for the frequency,amplitude,phase and vertical offset and an output for the signal.</div>

<meta http-equiv="content-type" content="text/html; charset=utf-8"><div><br></div><div><br></div><div>If you want to know what type of PD I&#39;m creating and it&#39;s options.</div><div>1) The first option will import a text file into a table/array that will control the variables of the equations that will vary frequency,amplitude,phase and vertical offset over time.  </div>

<div>2) The second option will allow the variables to be controllable/variable using a midi controller and it&#39;s audio signal played</div><div><br></div><div>I&#39;ve been able to find instructions on how to create a hello world C-external but not one that creates a simple sine wave from a sinewave equation like A*sin(w*t+p) </div>

<div>(<a href="https://secure.wikimedia.org/wikipedia/en/wiki/Sine_wave">https://secure.wikimedia.org/wikipedia/en/wiki/Sine_wave</a>) Does anyone have one or know where to find one. </div><div>It makes sense to make a C external and create inputs for the values of frequency,amplitude,phase and vertical offset.  </div>

<div>That way I can cleanly feed/control those values with a midi controller or a table/array in PureData. </div><div><br></div><div>Thanks</div>-- <br>-- <br><br>