<div dir="ltr"><div><div><div><div>what do you get when trying to open the files  with relative filenames<br>
(without OSC)?<br><br></div>The same error! <br>Looks that I need to provide the absolute path cause I cannot open the file even if I place it in the same patch&#39;s path.<br></div>I guess the solution will be using [getdir], as I read in a thread similar to this, to dinamically get the patch&#39;s path (this app should work in different computers so this is needed).<br>
<br></div>Another question I have related to oggread~ is; I&#39;m using it cause, as you can imagine, I can play .ogg files @ 320kbs that weight a quarter the .aif ones weight, but does it take much more cpu process?(aslong as it has to decode the file I supose there must be some computational cost in addition)<br>
</div>Thanx! (pd-list kicks ass, awesome people!)<br>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jan 31, 2013 at 11:31 AM, Andy Farnell <span dir="ltr">&lt;<a href="mailto:padawan12@obiwannabe.co.uk" target="_blank">padawan12@obiwannabe.co.uk</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Thu, Jan 31, 2013 at 11:18:00AM +0100, IOhannes m zmoelnig wrote:<br>
<br>
&gt; &gt;<br>
&gt; &gt; Current working directory not set<br>
&gt; &gt;<br>
&gt;<br>
&gt; but there is _always_ a current working directory. even if your file<br>
&gt; has not beed saved.<br>
<br>
<br>
</div>You are right. I am confusing two things worth distinguishing,<br>
the current working directory and the path to the saved file.<br>
Analogously to other environments, C/Perl/Python etc, the<br>
distinction is something like that between the variables<br>
<br>
CWD = Initially the directory from which the application<br>
      was launched, but can change during an invokation<br>
<br>
FILE = a path belonging to an asset of application, the path<br>
       to a script or source module.<br>
<br>
I&#39;m not sure the latter exists in Pd, or if it would even be helpful<br>
if it did.<br>
<div class="im"><br>
<br>
&gt; probably adding this simple message (at a more informational loglevel<br>
&gt; than the &quot;file not found&quot; error) would help more:<br>
&gt; &quot;current working directory is ...&quot; (substitute &quot;...&quot; with the real<br>
&gt; working directory)<br>
<br>
</div>Yes. The console could even prepend a path like Bash $PS, although<br>
many would be annoyed by that where the path grows long.<br>
<br>
Just thinking aloud at this stage.<br>
<span class="HOEnZb"><font color="#888888"><br>
Andy<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
<br>
_______________________________________________<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" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Ňscar Martínez Carmona<br>
</div>