<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><DIV><BLOCKQUOTE type="cite"> </BLOCKQUOTE></DIV>This feels like a real simple problem, but I can not suss it out.<DIV><BR class="khtml-block-placeholder"><DIV>In the chuck archive:<DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><BLOCKQUOTE type="cite"><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Julian Sorrel tacitdynamite at yahoo.com Wed Jan 25 17:05:25 EST 2006 wrote:</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">&gt; chuck D:\Chuck\examples\otf_06.ck</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">     (using otf_06.ck here because it doesn't require external sound </DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">files)</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">  this works fine - I hear Chuck playing the file.  When I try </DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">  chuck D:\Chuck\examples\otf_07.ck</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">    the result is</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">  [chuck](via sndbuf): cannot stat file 'data/snare.wav' ... </DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">  even though, again, that file can be found in "dir  D:\Chuck\examples\data" ... </DIV></BLOCKQUOTE></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><BR class="khtml-block-placeholder"></DIV><DIV>This was on an XP machine, but I am getting the same result on my mac and linux boxes. If I put in the full path these sndbuf objects function fine, but if I  use a relative address such as "../data/foo.wav" I get the "cannot stat file 'data/foo.wav'  What is the obvious error that I am making?</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Also, stat? Is that supposed to be start?</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>tocs_backwards</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><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; "><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; "><P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica; color: #006312; min-height: 14.0px"><FONT class="Apple-style-span" color="#000000">Scot Gresham-Lancaster</FONT><FONT class="Apple-style-span" color="#000000">  </FONT></P><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">¸,ø¤º°`°º¤ø¸,ø¤º°`°º¤ø</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ; color: rgb(0, 99, 18); "><FONT class="Apple-style-span" color="#000000"><A href="http://o-art.org/Scot">http://o-art.org/Scot</A></FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ; color: rgb(0, 99, 18); "><FONT class="Apple-style-span" color="#000000">podcast: <A href="http://feeds.feedburner.com/blogspot/scotgl">http://feeds.feedburner.com/blogspot/scotgl</A></FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ; color: rgb(0, 99, 18); "><FONT class="Apple-style-span" color="#000000">blog: <A href="http://scotgl.blogspot.com">http://scotgl.blogspot.com</A>/</FONT></DIV><P></P><P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica; min-height: 14.0px"><BR></P><P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="3" color="#006312" style="font: 12.0px Helvetica; color: #006312"><SPAN class="Apple-style-span" style="color: rgb(0, 99, 18); "><SPAN class="Apple-style-span" style="color: rgb(0, 99, 18); ">" Well, I let it play itself as much as I can, but if it doesn't, then I interfere. " David Tudor</SPAN></SPAN></FONT></P><BR class="Apple-interchange-newline"></SPAN></SPAN> </DIV><BR></DIV></DIV></DIV></BODY></HTML>