Thanks for the information.  I&#39;ve been able to find instructions on how to create a hello world C-external but not one that does a simple sinewave equation like A*sin(w*t+p) (<meta http-equiv="content-type" content="text/html; charset=utf-8"><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.  It makes sense to make a C external and create inputs for the values of<span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; "> frequency,amplitude,phase and vertical offset.  That way I can feed/control those values with a midi controller or a table/array in PureData. </span><div>

<br>Thanks </div><div><br><div class="gmail_quote">On Sun, Sep 4, 2011 at 5:35 AM, Hans-Christoph Steiner <span dir="ltr">&lt;<a href="mailto:hans@at.or.at">hans@at.or.at</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<div style="word-wrap:break-word"><div><br></div><div>A .pd file is a text file, so you can just open your Pd patch in a text editor, and paste in the equation.  But honestly with something that big, I think making a C external might be easier in the long run.</div>

<div><br></div><div>.hc</div><br><div><div><div></div><div class="h5"><div>On Sep 4, 2011, at 9:22 AM, Rick T wrote:</div><br></div></div><blockquote type="cite"><div><div></div><div class="h5">Greetings All<div><br></div>

<div>I have 2 large equations that I would like to use with the expr command.  Is it possible to import a text file into the expr command?</div><div><div>Here&#39;s an example of one of the 2 equations <a href="http://dl.dropbox.com/u/6576402/questions/eq1.txt" target="_blank">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>I do have the ability to create a wave (audio) file of the equation first and import the wave file into PureDate, but will I have the same control over the frequency,amplitude,phase and vertical offset that the equation gives me?.</div>

 <div><br></div><div>If you want to know what I&#39;m creating.</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 know Puredata can do this very well with small equations and the expr command but using large equations I&#39;m not sure.  Also if I should be doing this in a different way please let me know I&#39;m always willing to learn something new.</div>

 <div><br></div><div>Thanks</div>-- <br><br> </div></div></div> _______________________________________________<br><a href="mailto:Pd-list@iem.at" target="_blank">Pd-list@iem.at</a> mailing list<br>UNSUBSCRIBE and account-management -&gt; <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>

</blockquote></div><br><div> <span style="border-collapse:separate;border-spacing:0px 0px;color:rgb(0, 0, 0);font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><br>

<span style="border-collapse:separate;border-spacing:0px 0px;color:rgb(0, 0, 0);font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><div>

<br></div><div>----------------------------------------------------------------------------</div><div><br></div><div>If nature has made any one thing less susceptible than all others of exclusive property, it is the action of the thinking power called an idea, which an individual may exclusively possess as long as he keeps it to himself; but the moment it is divulged, it forces itself into the possession of everyone, and the receiver cannot dispossess himself of it.            - Thomas Jefferson</div>

<br></span></span> </div><br></div></blockquote></div><br><br clear="all"><div><br></div><br>
</div>