<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><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. &nbsp;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>On Sep 4, 2011, at 9:22 AM, Rick T wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Greetings All<div><br></div><div>I have 2 large equations that I would like to use with the expr command. &nbsp;Is it possible to import a text file into the expr command?</div><div><div>Here's an example of 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's a 1 second periodic signal with sample rate at 44100 which the equation gives me control over the&nbsp;frequency,amplitude,phase and vertical offset</div><meta http-equiv="content-type" content="text/html; charset=utf-8"><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'm creating.</div><div>1) The first option will import a text file into a table/array that will control the&nbsp;variables&nbsp;of the&nbsp;equations that will vary frequency,amplitude,phase and vertical offset over time. &nbsp;</div> <div>2) The second option will&nbsp;allow&nbsp;the variables to be&nbsp;controllable/variable&nbsp;using a midi controller and it'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'm not sure. &nbsp;Also if I should be doing this in a different way please let me know I'm always willing to learn something new.</div> <meta http-equiv="content-type" content="text/html; charset=utf-8"><div><br></div><div>Thanks</div>-- <br><br> </div> _______________________________________________<br><a href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list<br>UNSUBSCRIBE and account-management -&gt; <a href="http://lists.puredata.info/listinfo/pd-list">http://lists.puredata.info/listinfo/pd-list</a><br></blockquote></div><br><div> <span class="Apple-style-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; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><br class="Apple-interchange-newline"><span class="Apple-style-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; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; 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.&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; - Thomas Jefferson</div><br class="Apple-interchange-newline"></span></span> </div><br></body></html>