<?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: List of all send and receive names</title>
		<atom:link href="http://cycling74.com/forums/topic/list-of-all-send-and-receive-names/feed" rel="self" type="application/rss+xml" />
		<link>http://cycling74.com/forums/topic/list-of-all-send-and-receive-names/feed</link>
		<description></description>
		<pubDate>Wed, 19 Jun 2013 01:33:40 +0000</pubDate>
		<generator>http://bbpress.org/?v=2.2.4</generator>
		<language></language>

		
														
					
				<item>
					<guid>http://cycling74.com/forums/topic/list-of-all-send-and-receive-names/#post-60926</guid>
					<title><![CDATA[List of all send and receive names]]></title>
					<link>http://cycling74.com/forums/topic/list-of-all-send-and-receive-names/#post-60926</link>
					<pubDate>Fri, 30 Dec 2011 12:38:56 +0000</pubDate>
					<dc:creator>dhjdhjdhj</dc:creator>

					<description>
						<![CDATA[
						<p>Isnthere a way to get a list of all send and receive names that are currently instatiated? This would be very helpful for debugging?</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/list-of-all-send-and-receive-names/#post-219388</guid>
					<title><![CDATA[Re: List of all send and receive names]]></title>
					<link>http://cycling74.com/forums/topic/list-of-all-send-and-receive-names/#post-219388</link>
					<pubDate>Sat, 31 Dec 2011 18:59:53 +0000</pubDate>
					<dc:creator>Roman Thilenius</dc:creator>

					<description>
						<![CDATA[
						<p>sounds like a job for an internal object</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/list-of-all-send-and-receive-names/#post-219389</guid>
					<title><![CDATA[Re: List of all send and receive names]]></title>
					<link>http://cycling74.com/forums/topic/list-of-all-send-and-receive-names/#post-219389</link>
					<pubDate>Sat, 31 Dec 2011 21:26:55 +0000</pubDate>
					<dc:creator>Chris Muir</dc:creator>

					<description>
						<![CDATA[
						<p>You probably know this, but if you just want to see a list of a specific s/r name you can double-click on a send/receive object.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/list-of-all-send-and-receive-names/#post-219390</guid>
					<title><![CDATA[Re: List of all send and receive names]]></title>
					<link>http://cycling74.com/forums/topic/list-of-all-send-and-receive-names/#post-219390</link>
					<pubDate>Sat, 31 Dec 2011 21:50:56 +0000</pubDate>
					<dc:creator>woyteg</dc:creator>

					<description>
						<![CDATA[
						<p>that would be really helpful!</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/list-of-all-send-and-receive-names/#post-219391</guid>
					<title><![CDATA[Re: List of all send and receive names]]></title>
					<link>http://cycling74.com/forums/topic/list-of-all-send-and-receive-names/#post-219391</link>
					<pubDate>Sat, 31 Dec 2011 23:28:01 +0000</pubDate>
					<dc:creator>dhjdhjdhj</dc:creator>

					<description>
						<![CDATA[
						<p>I believe that just shows you the corresponding objects for the particular name and the names of the patchers in which they live. The issue is how to easily find out what send/receive objects are available whe you don&#8217;t actually know the name.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/list-of-all-send-and-receive-names/#post-219392</guid>
					<title><![CDATA[Re: List of all send and receive names]]></title>
					<link>http://cycling74.com/forums/topic/list-of-all-send-and-receive-names/#post-219392</link>
					<pubDate>Sun, 01 Jan 2012 01:55:12 +0000</pubDate>
					<dc:creator>woyteg</dc:creator>

					<description>
						<![CDATA[
						<p>Actually i am dreaming of a more or less similar overview function:<br />
I would love kind of a tree diagram for patchers subpatchers bpatchers and so on.<br />
Working on big patches i often have to think: ahh where did i do that..<br />
And if it&#8217;s in a reasonably named patcher this structural overview would help a lot.<br />
Similary this overview of all send and receive objects as a list.</p>
<p>These things would really ease working on big projects.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/list-of-all-send-and-receive-names/#post-219393</guid>
					<title><![CDATA[Re: List of all send and receive names]]></title>
					<link>http://cycling74.com/forums/topic/list-of-all-send-and-receive-names/#post-219393</link>
					<pubDate>Sun, 01 Jan 2012 04:58:56 +0000</pubDate>
					<dc:creator>Roman Thilenius</dc:creator>

					<description>
						<![CDATA[
						<p>of course one could try to build abstractions for &#8220;send&#8221; and &#8220;receive&#8221; which do know about their names and tell all other instances of this abstraction about it, so that every send abstraction knows what &#8220;receive&#8221; abstractions are around.</p>
<p>-110</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/list-of-all-send-and-receive-names/#post-219394</guid>
					<title><![CDATA[Re: List of all send and receive names]]></title>
					<link>http://cycling74.com/forums/topic/list-of-all-send-and-receive-names/#post-219394</link>
					<pubDate>Sun, 01 Jan 2012 05:41:27 +0000</pubDate>
					<dc:creator>dhjdhjdhj</dc:creator>

					<description>
						<![CDATA[
						<p>That seems like a very complicated and messy approach that, by the way, would instantly fail as soon as a patcher was used that contained a regular send/receive object in it, either by mistake, or by the use of some older patcher you build that doesnt have the new abstraction, or because you downloaded or otherwise got hold of a third party library or tool that uses them. Then you immediately have the original problem again.</p>
<p>Since the list of currently available send/receive names must exist globally, it seems to me that another object could be added to that group (send,receive, forward) that just sends out the list of all names when banged.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/list-of-all-send-and-receive-names/#post-219395</guid>
					<title><![CDATA[Re: List of all send and receive names]]></title>
					<link>http://cycling74.com/forums/topic/list-of-all-send-and-receive-names/#post-219395</link>
					<pubDate>Sun, 01 Jan 2012 06:44:33 +0000</pubDate>
					<dc:creator>Roman Thilenius</dc:creator>

					<description>
						<![CDATA[
						<p>why do it simple when you can have it complicated</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/list-of-all-send-and-receive-names/#post-219396</guid>
					<title><![CDATA[Re: List of all send and receive names]]></title>
					<link>http://cycling74.com/forums/topic/list-of-all-send-and-receive-names/#post-219396</link>
					<pubDate>Sun, 01 Jan 2012 08:07:36 +0000</pubDate>
					<dc:creator>dhjdhjdhj</dc:creator>

					<description>
						<![CDATA[
						<p>I&#8217;m confused. Seems to me that creating a single object that can return a list of all known names and works with existing patchers created by anyone in the max community is much simpler than having to design, implement, and manage an entirely new set of conventions that wouldn&#8217;t in fact solve the debugging problem in the first place. </p>
<p>But perhaps I&#8217;m just hungover from new year celebrations!</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/list-of-all-send-and-receive-names/#post-219397</guid>
					<title><![CDATA[Re: List of all send and receive names]]></title>
					<link>http://cycling74.com/forums/topic/list-of-all-send-and-receive-names/#post-219397</link>
					<pubDate>Sun, 01 Jan 2012 12:09:46 +0000</pubDate>
					<dc:creator>waj</dc:creator>

					<description>
						<![CDATA[
						<p><a href='http://cycling74.com/forums/users/c74/' rel='nofollow' class='bbp-mention-link c74'>@c74</a></p>
<p>why not to have the double-click thing for send~/receive~ as for send/receive?</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/list-of-all-send-and-receive-names/#post-219398</guid>
					<title><![CDATA[Re: List of all send and receive names]]></title>
					<link>http://cycling74.com/forums/topic/list-of-all-send-and-receive-names/#post-219398</link>
					<pubDate>Sun, 01 Jan 2012 19:40:22 +0000</pubDate>
					<dc:creator>Luke Hall</dc:creator>

					<description>
						<![CDATA[
						<p>The following javascript will load the patch data as JSON and output the names of all send/receive/send~/receive~ objects in the same level of your patcher. I&#8217;m working on a version that will recurse through subpatchers which should turn out to be a little bit more useful. The obvious caveats are that the patch must be a saved maxpat file (so there is some JSON to read) and therefor it can&#8217;t be a collective or standalone.</p>
<p>Drop it in to your patch, send it the &#8220;init&#8221; message to load in the data and then bang it to output the names of these objects.</p>
<p>Any comments would be glady received!</p>
<pre><code>autowatch = 1;

var memstr;

function loadbang() {
    if(!max.loadbangdisabled) {
        init();
        outlet(1,this.patcher.filepath);
        outlet(1,1);
    }
}

function init() {
    memstr = "";
    data = "";
    maxchars = 800;
    target = this.patcher.filepath;
    f = new File(target,"read");
    f.open();
    if (f.isopen) {
        while(f.position<f .eof) {
            memstr+=f.readstring(maxchars);
        }
        f.close();
    } else {
        post("Errorn");
    }
    mem = eval("("+memstr+")");
    post("Loaded!n");
}

var parent = this.patcher.filename;
var s = [];
var r = [];

function bang() {
    var sigsend = [];
    var sigrec = [];
    var send = [];
    var rec = [];
    for (i=0; i<mem.patcher.boxes.length; i++) {
        a = mem.patcher.boxes[i].box;
        if (a.maxclass == "newobj" &#038;&#038;  a.text.split(" ")[0] == "send~") {
            sigsend[sigsend.length] = a["text"].split(" ")[1];
        }
        if (a.maxclass == "newobj" &#038;&#038;  a.text.split(" ")[0] == "receive~") {
            sigrec[sigrec.length] = a["text"].split(" ")[1];
        }
        if (a.maxclass == "newobj" &#038;&#038;  (a.text.split(" ")[0] == "send" || a.text.split(" ")[0] == "s")) {
            send[send.length] = a["text"].split(" ")[1];
        }
        if (a.maxclass == "newobj" &#038;&#038;  (a.text.split(" ")[0] == "receive" || a.text.split(" ")[0] == "r")) {
            rec[rec.length] = a["text"].split(" ")[1];
        }
    }
    outlet(0,"send~",sigsend);
    outlet(0,"receive~",sigrec);
    outlet(0,"send",send);
    outlet(0,"receive",rec);
}</code></f></code></pre>						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/list-of-all-send-and-receive-names/#post-219399</guid>
					<title><![CDATA[Re: List of all send and receive names]]></title>
					<link>http://cycling74.com/forums/topic/list-of-all-send-and-receive-names/#post-219399</link>
					<pubDate>Sun, 01 Jan 2012 22:29:23 +0000</pubDate>
					<dc:creator>dhjdhjdhj</dc:creator>

					<description>
						<![CDATA[
						<p>Thanks for providing this.  Unfortunately it doesn&#8217;t really address the issue, even with a recursive option. I had already considered  writing a simple command line grep script that would just find all the names but apart from the issue that patchers aren&#8217;t necessarily all living in a single tree, the  real question is to determine what send/receive names are &#8220;live&#8221;, that is, the list of names that are found just in patchers that are open. For example, if [send xyz] doesn&#8217;t appear to be working, then what one needs is a list of names associated with just active [receive ] objects.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/list-of-all-send-and-receive-names/#post-219400</guid>
					<title><![CDATA[Re: List of all send and receive names]]></title>
					<link>http://cycling74.com/forums/topic/list-of-all-send-and-receive-names/#post-219400</link>
					<pubDate>Mon, 02 Jan 2012 00:27:19 +0000</pubDate>
					<dc:creator>Luke Hall</dc:creator>

					<description>
						<![CDATA[
						<p>I&#8217;m not sure I understand what you mean by &#8220;active&#8221; receive objects. Are you saying that if you try to create a [receive] object but there are no similarly named [send] objects (and vice versa) then this instance is not &#8220;live&#8221;? I do see the problem with objects being in separate patches which would communicate but could not be read from the JSON.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/list-of-all-send-and-receive-names/#post-219401</guid>
					<title><![CDATA[Re: List of all send and receive names]]></title>
					<link>http://cycling74.com/forums/topic/list-of-all-send-and-receive-names/#post-219401</link>
					<pubDate>Mon, 02 Jan 2012 01:11:03 +0000</pubDate>
					<dc:creator>dhjdhjdhj</dc:creator>

					<description>
						<![CDATA[
						<p>By active, I mean a send or receive object that is in a patcher (including its contained abstractions) that is currently loaded/running. (NB whenever I refer to a patcher, I will always mean a patcher + its nested abstractions)</p>
<p>Here are some scenarios that may help to explain the motivation</p>
<p>1) Suppose I have a patcher containing [send xyz1] in it and I determine that it&#8217;s not working properly. If I could get a list of all the [receive] objects that are in patchers that are loaded, I could quickly find out (for example) that there&#8217;s no [receive xyz1] anywhere, but there is in fact a [receive xyz2]. With that information, I can quickly determine if my [send xyz1] should have actually been a [send xyz2]. A generic list of all send/receive names in all the patchers on my file system would not help me because there might very well be a [receive xyz1] in some other patcher.</p>
<p>2) In general, my send/receive objects often include arguments. For example, I recently built a multi-channel mixer using a basic abstraction that implements individual channel-strips with effect sends. The volume slider in each channel strip of the mixer is accessible remotely because it contains<br />
   [receive #1_StripVolume]<br />
Now, when I instantiate a mixer, an abstraction is instantiated for each channel which means that at runtime, there will be multiple receive objects such as<br />
   [receive 1_StripVolume]<br />
   [receive 2_StripVolume]<br />
   [receive 3_StripVolume]<br />
etc</p>
<p>A search through JSON or grep would only reveal the single #1_StripVolume name but I want to be able to see that there are three instantiated names (and if there aren&#8217;t, there&#8217;s a bug somewhere!)</p>
<p>Does that help?</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/list-of-all-send-and-receive-names/#post-219402</guid>
					<title><![CDATA[Re: List of all send and receive names]]></title>
					<link>http://cycling74.com/forums/topic/list-of-all-send-and-receive-names/#post-219402</link>
					<pubDate>Mon, 02 Jan 2012 01:35:47 +0000</pubDate>
					<dc:creator>Luke Hall</dc:creator>

					<description>
						<![CDATA[
						<p>The javascript I posted does not look through all the patches on your filesystem, it just looks in the file that you have th [js] object instantiated in. So if your projects are self contained (which is unlikely) then it should help you find send/receive names that are used/available. I see the problem with the use of abstractions and [bpatcher]s etc though, also I can&#8217;t see a way to overcome the variable names obstacle using this method.</p>
<p>It looks like you might be right and a true external might be needed to provide this information, but seeing as I have no experience in external building I have no idea if it would be possible, it would definitely be useful in many situations though, I&#8217;ve often wished for a send/receive autocomplete that uses the currently used names as suggestions.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/list-of-all-send-and-receive-names/#post-219403</guid>
					<title><![CDATA[Re: List of all send and receive names]]></title>
					<link>http://cycling74.com/forums/topic/list-of-all-send-and-receive-names/#post-219403</link>
					<pubDate>Mon, 02 Jan 2012 02:18:05 +0000</pubDate>
					<dc:creator>dhjdhjdhj</dc:creator>

					<description>
						<![CDATA[
						<p>I&#8217;ve only built the basic example myself. I don&#8217;t know how isolated is this stuff&#8230;.for example, it would not surprise me if the information was held in a singleton defined in a class shared only by the Send/Receive objects and other parts of Max don&#8217;t even know about it. That would mean that this new feature could only be added by the developer of the original send/receive mechanism.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/list-of-all-send-and-receive-names/#post-219404</guid>
					<title><![CDATA[Re: List of all send and receive names]]></title>
					<link>http://cycling74.com/forums/topic/list-of-all-send-and-receive-names/#post-219404</link>
					<pubDate>Mon, 02 Jan 2012 10:16:01 +0000</pubDate>
					<dc:creator>pid</dc:creator>

					<description>
						<![CDATA[
						<p>cmnd-f works pretty well for me</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/list-of-all-send-and-receive-names/#post-219405</guid>
					<title><![CDATA[Re: List of all send and receive names]]></title>
					<link>http://cycling74.com/forums/topic/list-of-all-send-and-receive-names/#post-219405</link>
					<pubDate>Mon, 02 Jan 2012 10:47:24 +0000</pubDate>
					<dc:creator>dhjdhjdhj</dc:creator>

					<description>
						<![CDATA[
						<p>I don&#8217;t understand &#8212; how does that help you to find an item whose name you might not know (and in a patcher or abstraction other than the one where you open a search)?</p>
						]]>
					</description>

					
					
				</item>

					
		
	</channel>
	</rss>

