<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[How to dynamically change the directory that files are read from?]]></title><description><![CDATA[<p>I have hundreds of data files in different subdirectories that I read into wavetables. I want to dynamically change the directory that the files are read from. I tried sending a dir message to pdcontrol, which appeared to work, but pd does not find the files in the subdirectory. How can I dynamically change the directory that files are read from?</p>
<p><img src="/uploads/files/1776451126606-directory_change.jpg" alt="directory_change.JPG" class="img-responsive img-markdown" /></p>
<p><a href="/uploads/files/1776451106809-file_open.pd">file_open.pd</a></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/15856/how-to-dynamically-change-the-directory-that-files-are-read-from</link><generator>RSS for Node</generator><lastBuildDate>Fri, 17 Apr 2026 22:17:03 GMT</lastBuildDate><atom:link href="http://forum.pdpatchrepo.info/topic/15856.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 17 Apr 2026 18:43:15 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to How to dynamically change the directory that files are read from? on Fri, 17 Apr 2026 18:43:15 GMT]]></title><description><![CDATA[<p>I have hundreds of data files in different subdirectories that I read into wavetables. I want to dynamically change the directory that the files are read from. I tried sending a dir message to pdcontrol, which appeared to work, but pd does not find the files in the subdirectory. How can I dynamically change the directory that files are read from?</p>
<p><img src="/uploads/files/1776451126606-directory_change.jpg" alt="directory_change.JPG" class="img-responsive img-markdown" /></p>
<p><a href="/uploads/files/1776451106809-file_open.pd">file_open.pd</a></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/15856/how-to-dynamically-change-the-directory-that-files-are-read-from</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/15856/how-to-dynamically-change-the-directory-that-files-are-read-from</guid><dc:creator><![CDATA[jamcultur]]></dc:creator><pubDate>Fri, 17 Apr 2026 18:43:15 GMT</pubDate></item><item><title><![CDATA[Reply to How to dynamically change the directory that files are read from? on Fri, 17 Apr 2026 20:22:56 GMT]]></title><description><![CDATA[<p>the dir message is just getting the directory, not changing it, i think?</p>
<p>in the one that works it looks like you are specifying the directory as part of the path?</p>
<p>so instead you could have $1\0298a.seismic and put [symbol accel( etc. in to read from diff directories.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/15856/how-to-dynamically-change-the-directory-that-files-are-read-from/2</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/15856/how-to-dynamically-change-the-directory-that-files-are-read-from/2</guid><dc:creator><![CDATA[unclewayback]]></dc:creator><pubDate>Fri, 17 Apr 2026 20:22:56 GMT</pubDate></item><item><title><![CDATA[Reply to How to dynamically change the directory that files are read from? on Fri, 17 Apr 2026 20:41:43 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/jamcultur">@jamcultur</a><br />
Replace &quot;disp&quot; in the read message with a $1 and instead of banging the message send the directory name accel vel or disp into it,,<br />
David.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/15856/how-to-dynamically-change-the-directory-that-files-are-read-from/3</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/15856/how-to-dynamically-change-the-directory-that-files-are-read-from/3</guid><dc:creator><![CDATA[whale-av]]></dc:creator><pubDate>Fri, 17 Apr 2026 20:41:43 GMT</pubDate></item></channel></rss>