<?xml version="1.0" encoding="UTF-8"?>
	<rss version="2.0"
		xmlns:content="http://purl.org/rss/1.0/modules/content/"
		xmlns:wfw="http://wellformedweb.org/CommentAPI/"
		xmlns:dc="http://purl.org/dc/elements/1.1/"
		xmlns:atom="http://www.w3.org/2005/Atom"

			>

	<channel>
		<title>Cycling 74  &#187;  Topic: Search path and subfolders</title>
		<atom:link href="http://cycling74.com/forums/topic/search-path-and-subfolders/feed" rel="self" type="application/rss+xml" />
		<link>http://cycling74.com/forums/topic/search-path-and-subfolders/feed</link>
		<description></description>
		<pubDate>Tue, 18 Jun 2013 14:04:52 +0000</pubDate>
		<generator>http://bbpress.org/?v=2.2.4</generator>
		<language></language>

		
														
					
				<item>
					<guid>http://cycling74.com/forums/topic/search-path-and-subfolders/#post-30759</guid>
					<title><![CDATA[Search path and subfolders]]></title>
					<link>http://cycling74.com/forums/topic/search-path-and-subfolders/#post-30759</link>
					<pubDate>Mon, 12 Mar 2007 12:23:57 +0000</pubDate>
					<dc:creator>Gary Lee Nelson</dc:creator>

					<description>
						<![CDATA[
						<p>I thought I knew how to do this but&#8230;</p>
<p>I have a project folder with the main patch and sub patches in at the top<br />
level.  I have subfolders for sound files and movies but &#8220;read filename&#8221; is<br />
not finding them.  I thought max searched subfolders before going to the<br />
file preferences list.  What is the method for doing this?  Some kind of<br />
relative addressing?</p>
<p>Cheers<br />
Gary Lee Nelson<br />
Oberlin College<br />
<a href="http://www.timara.oberlin.edu/GaryLeeNelson" rel="nofollow">http://www.timara.oberlin.edu/GaryLeeNelson</a></p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/search-path-and-subfolders/#post-98909</guid>
					<title><![CDATA[Re: Search path and subfolders]]></title>
					<link>http://cycling74.com/forums/topic/search-path-and-subfolders/#post-98909</link>
					<pubDate>Mon, 12 Mar 2007 13:20:57 +0000</pubDate>
					<dc:creator>Brad Garton</dc:creator>

					<description>
						<![CDATA[
						<p>Quoting Gary Lee Nelson <gary .Nelson@oberlin.edu>:</gary></p>
<p>> I thought I knew how to do this but&#8230;<br />
><br />
> I have a project folder with the main patch and sub patches in at<br />
> the top<br />
> level.  I have subfolders for sound files and movies but &#8220;read<br />
> filename&#8221; is<br />
> not finding them.  I thought max searched subfolders before going<br />
> to the<br />
> file preferences list.  What is the method for doing this?  Some<br />
> kind of<br />
> relative addressing?</p>
<p>Gary &#8211;</p>
<p>I&#8217;ve dealt with this a lot, and the following patch should work for<br />
you.  Not that the &#8220;thispatcher&#8221; stuff HAS to be at the top-level<br />
of the patch.  It&#8217;s also a little trickier if you build a<br />
standalone, but I could send you that also.</p>
<p>Oh, you may need another &#8220;tosymbol&#8221; after the sprintf, and I&#8217;m not<br />
sure if you need the initial &#8220;/&#8221; in the sprintf &#8212; print the result<br />
and see if it matches where the soundfiles are located on your disk.</p>
<p>
brad</p>
<p><a href="http://music.columbia.edu/~brad" rel="nofollow">http://music.columbia.edu/~brad</a></p>
<p>
max v2;<br />
#N vpatcher 259 127 576 438;<br />
#P window setfont &#8220;Sans Serif&#8221; 9.;<br />
#P window linecount 1;<br />
#P newex 29 199 32 196617 print;<br />
#P newex 29 162 231 196617 sprintf<br />
%s/wheremysoundfilesare/soundfile.aiff;<br />
#P newex 29 140 50 196617 tosymbol;<br />
#P newex 29 118 113 196617 conformpath slash boot;<br />
#P message 29 71 27 196617 path;<br />
#N thispatcher;<br />
#Q end;<br />
#P newobj 29 92 60 196617 thispatcher;<br />
#P newex 29 46 45 196617 loadbang;<br />
#P connect 0 0 2 0;<br />
#P connect 2 0 1 0;<br />
#P connect 1 0 3 0;<br />
#P connect 3 0 4 0;<br />
#P connect 4 0 5 0;<br />
#P connect 5 0 6 0;<br />
#P pop;</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/search-path-and-subfolders/#post-98910</guid>
					<title><![CDATA[Re: Search path and subfolders]]></title>
					<link>http://cycling74.com/forums/topic/search-path-and-subfolders/#post-98910</link>
					<pubDate>Mon, 12 Mar 2007 13:28:23 +0000</pubDate>
					<dc:creator>Brad Garton</dc:creator>

					<description>
						<![CDATA[
						<p>Quoting <a href="mailto:garton@columbia.edu">garton@columbia.edu</a>:</p>
<p>> Not that the &#8220;thispatcher&#8221; stuff HAS to be at the top-level<br />
> of the patch.</p>
<p>Oops, this was a typo that can make a difference:</p>
<p>NOTE that the &#8220;thispatcher&#8221; stuff&#8230;</p>
<p>brad</p>
<p><a href="http://music.columbia.edu/~brad" rel="nofollow">http://music.columbia.edu/~brad</a></p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/search-path-and-subfolders/#post-98911</guid>
					<title><![CDATA[Re: Search path and subfolders]]></title>
					<link>http://cycling74.com/forums/topic/search-path-and-subfolders/#post-98911</link>
					<pubDate>Mon, 12 Mar 2007 13:36:02 +0000</pubDate>
					<dc:creator>Emmanuel Jourdan</dc:creator>

					<description>
						<![CDATA[
						<p></p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/search-path-and-subfolders/#post-98912</guid>
					<title><![CDATA[Re: Search path and subfolders]]></title>
					<link>http://cycling74.com/forums/topic/search-path-and-subfolders/#post-98912</link>
					<pubDate>Mon, 12 Mar 2007 13:51:54 +0000</pubDate>
					<dc:creator>Brad Garton</dc:creator>

					<description>
						<![CDATA[
						<p>Quoting Emmanuel Jourdan <c74 -mailinglists@e--j.com>:</c74></p>
<p>
> It was the wrong outlet too ;-)</p>
<p>Arg, you are right!  More coffee&#8230; more coffee&#8230;</p>
<p>daylight savings time, I&#8217;m all shook up.</p>
<p>
brad</p>
<p><a href="http://music.columbia.edu/~brad" rel="nofollow">http://music.columbia.edu/~brad</a></p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/search-path-and-subfolders/#post-98913</guid>
					<title><![CDATA[Re: Search path and subfolders]]></title>
					<link>http://cycling74.com/forums/topic/search-path-and-subfolders/#post-98913</link>
					<pubDate>Mon, 12 Mar 2007 13:56:14 +0000</pubDate>
					<dc:creator>Gary Lee Nelson</dc:creator>

					<description>
						<![CDATA[
						<p>Thanks Brad.  Got it working.  BTW, path comes from right outlet.</p>
<p>
On 3/12/07 9:20 AM, &#8220;garton@columbia.edu&#8221; <garton @columbia.edu> wrote:</garton></p>
<p>> max v2;<br />
> #N vpatcher 259 127 576 438;<br />
> #P window setfont &#8220;Sans Serif&#8221; 9.;<br />
> #P window linecount 1;<br />
> #P newex 29 199 32 196617 print;<br />
> #P newex 29 162 231 196617 sprintf<br />
> %s/wheremysoundfilesare/soundfile.aiff;<br />
> #P newex 29 140 50 196617 tosymbol;<br />
> #P newex 29 118 113 196617 conformpath slash boot;<br />
> #P message 29 71 27 196617 path;<br />
> #N thispatcher;<br />
> #Q end;<br />
> #P newobj 29 92 60 196617 thispatcher;<br />
> #P newex 29 46 45 196617 loadbang;<br />
> #P connect 0 0 2 0;<br />
> #P connect 2 0 1 0;<br />
> #P connect 1 0 3 0;<br />
> #P connect 3 0 4 0;<br />
> #P connect 4 0 5 0;<br />
> #P connect 5 0 6 0;<br />
> #P pop;</p>
<p>
Cheers<br />
Gary Lee Nelson<br />
Oberlin College<br />
<a href="http://www.timara.oberlin.edu/GaryLeeNelson" rel="nofollow">http://www.timara.oberlin.edu/GaryLeeNelson</a></p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/search-path-and-subfolders/#post-98914</guid>
					<title><![CDATA[Re: Search path and subfolders]]></title>
					<link>http://cycling74.com/forums/topic/search-path-and-subfolders/#post-98914</link>
					<pubDate>Fri, 30 Mar 2007 20:12:35 +0000</pubDate>
					<dc:creator>Jean-Baptiste</dc:creator>

					<description>
						<![CDATA[
						<p>brad said &#8211;<br />
> <br />
> I&#8217;ve dealt with this a lot, and the following patch should work for<br />
> you.  Not that the &#8220;thispatcher&#8221; stuff HAS to be at the top-level<br />
> of the patch.  It&#8217;s also a little trickier if you build a<br />
> standalone, but I could send you that also.</p>
<p>
Hi Brad, Emmanuel,</p>
<p>i&#8217;d be really grateful to try out the code you mentioned for the standalone.<br />
Also, what do you mean by &#8220;the &#8220;thispatcher&#8221; stuff HAS to be at the top-level of the patch&#8221; ?</p>
<p>I&#8217;m making a standalone that has two folders associated, one is called &#8220;sounds&#8221;, the other &#8220;images&#8221;. The code Emmanuel sent for the ubumenu partly works for my standalone: sounds and images are properly loaded in the ubumenu. But then, the images won&#8217;t be loaded in the matrix while the sounds can be opened in the sfplayer. <br />
If I import the folder manually (drag&#038;drop with ubumenu), the pictures can be loaded properly.</p>
<p>The error message in the console is :<br />
&#8220;error: jit.qt.movie: can&#8217;t open resource 2.pct&#8221;</p>
<p>(note: this error message is itself a bug. The message is triggered by a jit.matrix object. I&#8217;m using the message &#8220;importmovie&#8221; of a jitter matrix. I&#8217;m not loading an image in a jit.qt.movie object)</p>
<p>
Any suggestion to help me understand the logic of standalones would be greatly appreciated!</p>
<p>have a good week-end<br />
jean-baptiste</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/search-path-and-subfolders/#post-98915</guid>
					<title><![CDATA[Re: Search path and subfolders]]></title>
					<link>http://cycling74.com/forums/topic/search-path-and-subfolders/#post-98915</link>
					<pubDate>Mon, 02 Apr 2007 17:10:32 +0000</pubDate>
					<dc:creator>Emmanuel Jourdan</dc:creator>

					<description>
						<![CDATA[
						<p>On 30 mars 07, at 22:12, Jean-Baptiste Thiebaut wrote:</p>
<p>> i&#8217;d be really grateful to try out the code you mentioned for the  <br />
> standalone.</p>
<p>thispatcher report the path of &#8220;this&#8221; patcher. In a standalone, it&#8217;s  <br />
not a patcher anymore. So you need to get the path of the application  <br />
with the message to max called sendapppath (p 111 in Max46Topics.pdf).</p>
<p>> Also, what do you mean by &#8220;the &#8220;thispatcher&#8221; stuff HAS to be at the  <br />
> top-level of the patch&#8221; ?</p>
<p>it means the &#8220;thispatcher&#8221; object need to be at the main level (not  <br />
in a subpatcher).</p>
<p>> I&#8217;m making a standalone that has two folders associated, one is  <br />
> called &#8220;sounds&#8221;, the other &#8220;images&#8221;. The code Emmanuel sent for the  <br />
> ubumenu partly works for my standalone: sounds and images are  <br />
> properly loaded in the ubumenu. But then, the images won&#8217;t be  <br />
> loaded in the matrix while the sounds can be opened in the sfplayer.<br />
> If I import the folder manually (drag&#038;drop with ubumenu), the  <br />
> pictures can be loaded properly.</p>
<p>Is it a space-in-the-file-path issue? posting an example will help.</p>
<p>Cheers,<br />
ej</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/search-path-and-subfolders/#post-98916</guid>
					<title><![CDATA[Re: Search path and subfolders]]></title>
					<link>http://cycling74.com/forums/topic/search-path-and-subfolders/#post-98916</link>
					<pubDate>Mon, 02 Apr 2007 17:32:27 +0000</pubDate>
					<dc:creator>Jean-Baptiste</dc:creator>

					<description>
						<![CDATA[
						<p>Hi, </p>
<p>
Quote: Emmanuel Jourdan wrote on Mon, 02 April 2007 18:10<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
> On 30 mars 07, at 22:12, Jean-Baptiste Thiebaut wrote:<br />
> <br />
> > i&#8217;d be really grateful to try out the code you mentioned for the  <br />
> > standalone.<br />
> <br />
> thispatcher report the path of &#8220;this&#8221; patcher. In a standalone, it&#8217;s  <br />
> not a patcher anymore. So you need to get the path of the application  <br />
> with the message to max called sendapppath (p 111 in Max46Topics.pdf).</p>
<p>
I didn&#8217;t know about the message sendapppath. Thanks for the reference. </p>
<p>
> <br />
> > Also, what do you mean by &#8220;the &#8220;thispatcher&#8221; stuff HAS to be at the  <br />
> > top-level of the patch&#8221; ?<br />
> <br />
> it means the &#8220;thispatcher&#8221; object need to be at the main level (not  <br />
> in a subpatcher).</p>
<p>ok</p>
<p>
> > I&#8217;m making a standalone that has two folders associated, one is  <br />
> > called &#8220;sounds&#8221;, the other &#8220;images&#8221;. The code Emmanuel sent for the  <br />
> > ubumenu partly works for my standalone: sounds and images are  <br />
> > properly loaded in the ubumenu. But then, the images won&#8217;t be  <br />
> > loaded in the matrix while the sounds can be opened in the sfplayer.<br />
> > If I import the folder manually (drag&#038;drop with ubumenu), the  <br />
> > pictures can be loaded properly.<br />
> <br />
> Is it a space-in-the-file-path issue? posting an example will help.</p>
<p>no, it&#8217;s not a space issue, as the &#8220;sounds&#8221; folder is loaded properly and it is at the same level than the &#8220;images&#8221; folder.</p>
<p>If you want to try it, be my gest :)<br />
the source is there  <a href="http://www.dcs.qmul.ac.uk/~jbt/sonos/" rel="nofollow">http://www.dcs.qmul.ac.uk/~jbt/sonos/</a><br />
along with the standalone</p>
<p>To avoid the problem that concerned only images, I put them at the same level as the application, and refered to it in the ubumenu as &#8220;./&#8221;. </p>
<p>Merci Emmanuel!</p>
<p>Jean-Baptiste</p>
<p>
> Cheers,<br />
> ej<br />
> <br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/search-path-and-subfolders/#post-98917</guid>
					<title><![CDATA[Re: Search path and subfolders]]></title>
					<link>http://cycling74.com/forums/topic/search-path-and-subfolders/#post-98917</link>
					<pubDate>Mon, 02 Apr 2007 18:47:59 +0000</pubDate>
					<dc:creator>Emmanuel Jourdan</dc:creator>

					<description>
						<![CDATA[
						<p></p>
						]]>
					</description>

					
					
				</item>

					
		
	</channel>
	</rss>

