[PD] Student Project Advice

Rick Snow ricksnow at gmail.com
Thu Aug 15 22:28:28 CEST 2019


Hi all,

I have a student trying to sign up to the list and ask a question but he is having some trouble being approved to this list.  I am pasting his question below and will send any responses to him!  Thanks for any advice you might have.  His email address is jgartens at tulane.edu

From: Gartenstein, Jacob P
Sent: Wednesday, August 14, 2019 12:50 AM
To: pd-list at lists.iem.at <mailto:pd-list at lists.iem.at> <pd-list at lists.iem.at <mailto:pd-list at lists.iem.at>>
Subject: Questions about External 
 
Dear Pd Community - 

I'm trying to create an object, via a pd external, which takes in several parameters, does internal calculations, and outputs several lists of floats.  
Part of the internal calculation process includes reading thousands of lines of equation coefficients from text documents.  These coefficients, along with the input parameters, are necessary to perform the internal calculations.  

I've linked the pd external, entitled trackingPlanets, which creates in pd but doesn't perform any of the desired functionality.  Pd crashes every time a bang hits the object, which is what triggers the internal calculations, including reading the text files.  Through the course of some tests, I've discovered that the text file reading functions cause pd to crash. 

My questions:

Is there some method to internally read data from text files in pd?

Are the internal calculations too much and causing pd to crash?

Are there more efficient methods of reaching my desired functionality that may help pd run more smoothly?

Thanks in advance for the help,

Jake Gartenstein 

Materials:
https://drive.google.com/drive/folders/1KYB9GyP31I9tGfwFnY7ctfUH24qvClXa?usp=sharing <https://nam03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdrive.google.com%2Fdrive%2Ffolders%2F1KYB9GyP31I9tGfwFnY7ctfUH24qvClXa%3Fusp%3Dsharing&data=02%7C01%7Crsnow%40tulane.edu%7C27f33351311e468b113508d721beaad3%7C9de9818325d94b139fc34de5489c1f3b%7C0%7C0%7C637014975096336581&sdata=ktqk8oIAPoijOZ2rONBoGoJYdtKQvCqBg6BJNrAIlQo%3D&reserved=0>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20190815/463a87db/attachment.html>


More information about the Pd-list mailing list