<?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: Optimization of gate~ : are the signal disabled?</title>
		<atom:link href="http://cycling74.com/forums/topic/optimization-of-gate-are-the-signal-disabled/feed" rel="self" type="application/rss+xml" />
		<link>http://cycling74.com/forums/topic/optimization-of-gate-are-the-signal-disabled/feed</link>
		<description></description>
		<pubDate>Mon, 17 Jun 2013 22:45:50 +0000</pubDate>
		<generator>http://bbpress.org/?v=2.2.4</generator>
		<language></language>

		
														
					
				<item>
					<guid>http://cycling74.com/forums/topic/optimization-of-gate-are-the-signal-disabled/#post-40984</guid>
					<title><![CDATA[Optimization of gate~ : are the signal disabled?]]></title>
					<link>http://cycling74.com/forums/topic/optimization-of-gate-are-the-signal-disabled/#post-40984</link>
					<pubDate>Fri, 21 Nov 2008 18:07:46 +0000</pubDate>
					<dc:creator>Luca</dc:creator>

					<description>
						<![CDATA[
						<p>Hi,<br />
I have to optimize a very complex patch and so I ask an help to understand better the behavior of gate~.</p>
<p>When a message (different from 0) is sent to the gate~ this means <br />
that one of the gate~&#8217;s outlets will send out the input signal.<br />
If I am not wrong, to all the other outlets a zero signal will be <br />
sent.<br />
Does this mean that all the operations made on the not enabled <br />
outlets are calculated even if the input signal does not arrive?</p>
<p>If so, what do you suggest me in order to avoid unnecessary <br />
calculation after the gate~ object?</p>
<p>
Thanks in advance</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/optimization-of-gate-are-the-signal-disabled/#post-145496</guid>
					<title><![CDATA[Re: Optimization of gate~ : are the signal disabled?]]></title>
					<link>http://cycling74.com/forums/topic/optimization-of-gate-are-the-signal-disabled/#post-145496</link>
					<pubDate>Fri, 21 Nov 2008 18:12:40 +0000</pubDate>
					<dc:creator>jayrope</dc:creator>

					<description>
						<![CDATA[
						<p>As far as i can oversee it [gate~] closes all outlets, which are currently inactive. That means that there is not zero signal but NO signal leaving those outlets. Look into the [begin~] object, nevertheless.</p>
<p>jrp</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/optimization-of-gate-are-the-signal-disabled/#post-145497</guid>
					<title><![CDATA[Re: Optimization of gate~ : are the signal disabled?]]></title>
					<link>http://cycling74.com/forums/topic/optimization-of-gate-are-the-signal-disabled/#post-145497</link>
					<pubDate>Fri, 21 Nov 2008 18:48:31 +0000</pubDate>
					<dc:creator>Jean-Francois Charles</dc:creator>

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

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/optimization-of-gate-are-the-signal-disabled/#post-145498</guid>
					<title><![CDATA[Re: Optimization of gate~ : are the signal disabled?]]></title>
					<link>http://cycling74.com/forums/topic/optimization-of-gate-are-the-signal-disabled/#post-145498</link>
					<pubDate>Fri, 21 Nov 2008 19:47:51 +0000</pubDate>
					<dc:creator>Luca</dc:creator>

					<description>
						<![CDATA[
						<p>Ok,<br />
I will study poly.</p>
<p>Thank you very much!</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/optimization-of-gate-are-the-signal-disabled/#post-145499</guid>
					<title><![CDATA[Re: Optimization of gate~ : are the signal disabled?]]></title>
					<link>http://cycling74.com/forums/topic/optimization-of-gate-are-the-signal-disabled/#post-145499</link>
					<pubDate>Fri, 21 Nov 2008 20:49:13 +0000</pubDate>
					<dc:creator>jayrope</dc:creator>

					<description>
						<![CDATA[
						<p>> [gate~] does output something on all outlets. </p>
<p>Interesting, Jean-Francois. <br />
What exactly is it, that [gate~] puts out on inactive outlets? in fact a zero signal? This would mean, that having 8 outlets would use 8 times the amount of data *eventually even in 32-bit??) of that single outlet used?<br />
Would it eventually help to cable only the active outlet using a script?</p>
<p>Thanx for the hint with poly~ in any case.</p>
<p>jrp</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/optimization-of-gate-are-the-signal-disabled/#post-145500</guid>
					<title><![CDATA[Re: Optimization of gate~ : are the signal disabled?]]></title>
					<link>http://cycling74.com/forums/topic/optimization-of-gate-are-the-signal-disabled/#post-145500</link>
					<pubDate>Fri, 21 Nov 2008 21:12:29 +0000</pubDate>
					<dc:creator>Jean-Francois Charles</dc:creator>

					<description>
						<![CDATA[
						<p>>> [gate~] does output something on all outlets.<br />
> <br />
> Interesting, Jean-Francois.<br />
> What exactly is it, that [gate~] puts out on inactive outlets? in fact a zero<br />
> signal? This would mean, that having 8 outlets would use 8 times the amount of<br />
> data *eventually even in 32-bit??) of that single outlet used?</p>
<p>Actually, in an audio network in MSP, there is no such thing as an<br />
&#8220;inactive&#8221; outlet (I ignore things like begin~ / exceptions). If things are<br />
connected, they are part of the network, and MSP evaluates the network as a<br />
whole, every time it needs (defined by signal vector size).</p>
<p>> Would it eventually help to cable only the active outlet using a script?</p>
<p>No, because when you disconnect / connect audio cables, there is a click<br />
because MSP has to learn a completely new network to evaluate. Try it. You<br />
should hear clicks.</p>
<p>> Thanx for the hint with poly~ in any case.</p>
<p>Yes, what is inside a poly~ can be turned off, really turned &#8220;inactive&#8221;.<br />
Good luck, and beware: [poly~] make take quite some<br />
time/effort/tutorial/examples/trials until you are comfortable with it.<br />
Jean-Francois.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/optimization-of-gate-are-the-signal-disabled/#post-145501</guid>
					<title><![CDATA[Re: Optimization of gate~ : are the signal disabled?]]></title>
					<link>http://cycling74.com/forums/topic/optimization-of-gate-are-the-signal-disabled/#post-145501</link>
					<pubDate>Fri, 21 Nov 2008 21:23:33 +0000</pubDate>
					<dc:creator>mattyo</dc:creator>

					<description>
						<![CDATA[
						<p>This is true of _all_ MSP signals. when the DSP is on, all MSP objects  <br />
are in constant communication, and  every little yellow patchcord is  <br />
sending 44100 zeroes per second if &#8220;nothing&#8221; is coming through it.   <br />
Please look at &#8221; How MSP Works &#8211; Max patches and the MSP Signal  <br />
Network&#8221; in the MSP tutorials for further clarification.</p>
<p>M</p>
<p>
On Nov 21, 2008, at 15:49, jayrope wrote:</p>
<p>><br />
>> [gate~] does output something on all outlets.<br />
><br />
> Interesting, Jean-Francois.<br />
> What exactly is it, that [gate~] puts out on inactive outlets? in  <br />
> fact a zero signal? This would mean, that having 8 outlets would use  <br />
> 8 times the amount of data *eventually even in 32-bit??) of that  <br />
> single outlet used?<br />
> Would it eventually help to cable only the active outlet using a  <br />
> script?<br />
><br />
> Thanx for the hint with poly~ in any case.<br />
><br />
> jrp<br />
> &#8211;<br />
> &#8212;<br />
> fiction-induced heat<br />
> in too many places to name.<br />
> mood description: audiotic.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/optimization-of-gate-are-the-signal-disabled/#post-145502</guid>
					<title><![CDATA[Re: Optimization of gate~ : are the signal disabled?]]></title>
					<link>http://cycling74.com/forums/topic/optimization-of-gate-are-the-signal-disabled/#post-145502</link>
					<pubDate>Fri, 21 Nov 2008 21:35:23 +0000</pubDate>
					<dc:creator>jayrope</dc:creator>

					<description>
						<![CDATA[
						<p>That is very interesting! Thank you very much. <br />
This actually means, that one can save LOADS of CPU by using scripting.</p>
<p>Thanx again, jrp</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/optimization-of-gate-are-the-signal-disabled/#post-145503</guid>
					<title><![CDATA[Re: Optimization of gate~ : are the signal disabled?]]></title>
					<link>http://cycling74.com/forums/topic/optimization-of-gate-are-the-signal-disabled/#post-145503</link>
					<pubDate>Fri, 21 Nov 2008 21:46:55 +0000</pubDate>
					<dc:creator>mattyo</dc:creator>

					<description>
						<![CDATA[
						<p>when you script MSP objects in and out, you will force the DSP chain  <br />
to recreate itself, meaning it turns itself on &#038; off again throughout  <br />
your patch, so not really so great.  poly~ is really your friend here.</p>
<p>M</p>
<p>On Nov 21, 2008, at 16:35, jayrope wrote:</p>
<p>><br />
> That is very interesting! Thank you very much.<br />
> This actually means, that one can save LOADS of CPU by using  <br />
> scripting.<br />
><br />
> Thanx again, jrp<br />
> &#8211;<br />
> &#8212;<br />
> fiction-induced heat<br />
> in too many places to name.<br />
> mood description: audiotic.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/optimization-of-gate-are-the-signal-disabled/#post-145504</guid>
					<title><![CDATA[Re: Optimization of gate~ : are the signal disabled?]]></title>
					<link>http://cycling74.com/forums/topic/optimization-of-gate-are-the-signal-disabled/#post-145504</link>
					<pubDate>Fri, 21 Nov 2008 22:11:28 +0000</pubDate>
					<dc:creator>Nick Inhofe</dc:creator>

					<description>
						<![CDATA[
						<p>on the subject of begin~&#8230;. I like it! I find it very convenient and don&#8217;t want it to leave. I understand that mute~ might be more flexible but I don&#8217;t see the need for begin~&#8217;s planned obsolescence</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/optimization-of-gate-are-the-signal-disabled/#post-145505</guid>
					<title><![CDATA[Re: Optimization of gate~ : are the signal disabled?]]></title>
					<link>http://cycling74.com/forums/topic/optimization-of-gate-are-the-signal-disabled/#post-145505</link>
					<pubDate>Sat, 22 Nov 2008 06:41:00 +0000</pubDate>
					<dc:creator>stefantiedje</dc:creator>

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

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/optimization-of-gate-are-the-signal-disabled/#post-145506</guid>
					<title><![CDATA[Re: Optimization of gate~ : are the signal disabled?]]></title>
					<link>http://cycling74.com/forums/topic/optimization-of-gate-are-the-signal-disabled/#post-145506</link>
					<pubDate>Sat, 22 Nov 2008 20:07:42 +0000</pubDate>
					<dc:creator>Luca</dc:creator>

					<description>
						<![CDATA[
						<p>Dear all,<br />
I post this patch in oreder to have feedback from you.</p>
<p>I use poly~ to control the amount of CPU for the outlets of gate~.<br />
As you see in the patch I use a select object control the appropriate thispoly~ object. In particular I send the &#8220;mute 0&#8243; message to the subpatch relative to the outlet enabled by gate~ and the &#8220;mute 1&#8243; message to all the other subpatch relative to the outlets disabled.</p>
<p>My question is: instead of using the mute messages can I control <br />
thispoly~ with the same signal that is outlet of gate~?</p>
<p>Indeed when the outlet of gate~ is disabled a zero signal is sent; I ask if such a zero signal put as input of  thispoly~ has <br />
the effect of disabling the subpatch (and so saving CPU!!!).</p>
<p>I made some test with these 2 approaches, and I controlled the CPU usage. I have not notice any difference.</p>
<p>HELP!!!!</p>
<p>Thanks in advance</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/optimization-of-gate-are-the-signal-disabled/#post-145507</guid>
					<title><![CDATA[Re: Optimization of gate~ : are the signal disabled?]]></title>
					<link>http://cycling74.com/forums/topic/optimization-of-gate-are-the-signal-disabled/#post-145507</link>
					<pubDate>Sun, 23 Nov 2008 03:31:20 +0000</pubDate>
					<dc:creator>Jean-Francois Charles</dc:creator>

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

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/optimization-of-gate-are-the-signal-disabled/#post-145508</guid>
					<title><![CDATA[Re: Optimization of gate~ : are the signal disabled?]]></title>
					<link>http://cycling74.com/forums/topic/optimization-of-gate-are-the-signal-disabled/#post-145508</link>
					<pubDate>Sun, 23 Nov 2008 14:52:12 +0000</pubDate>
					<dc:creator>Luca</dc:creator>

					<description>
						<![CDATA[
						<p>Hi!<br />
I have no word to thank you!</p>
<p>Now all it works. Please have a look to the new version of the <br />
patch and please tell if this is the best way to do reach my goal.</p>
<p>I eliminated all the thispoly~ objects.</p>
<p>&#8230;so, I have to conclude that when I use the gate~ object I also have to use a select object to enable/disable poly~ in order to save CPU. Is this right? Is there another solution?</p>
<p>Thanks in advance.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/optimization-of-gate-are-the-signal-disabled/#post-145509</guid>
					<title><![CDATA[Re: Optimization of gate~ : are the signal disabled?]]></title>
					<link>http://cycling74.com/forums/topic/optimization-of-gate-are-the-signal-disabled/#post-145509</link>
					<pubDate>Mon, 24 Nov 2008 09:47:52 +0000</pubDate>
					<dc:creator>stefantiedje</dc:creator>

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

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/optimization-of-gate-are-the-signal-disabled/#post-145510</guid>
					<title><![CDATA[Re: Optimization of gate~ : are the signal disabled?]]></title>
					<link>http://cycling74.com/forums/topic/optimization-of-gate-are-the-signal-disabled/#post-145510</link>
					<pubDate>Mon, 24 Nov 2008 11:45:22 +0000</pubDate>
					<dc:creator>Luca</dc:creator>

					<description>
						<![CDATA[
						<p>Hello,<br />
thank you for the suggestions.</p>
<p>I am not speaking about the gate~ inside the<br />
filters. My question is relative to the gate~ that<br />
select one filter rather than one.</p>
<p>I&#8217;d only want to know if it is right to use gate~ and<br />
select together in order to save CPU.</p>
<p>What do you think?</p>
<p>Thanks in advance</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/optimization-of-gate-are-the-signal-disabled/#post-145511</guid>
					<title><![CDATA[Re: Optimization of gate~ : are the signal disabled?]]></title>
					<link>http://cycling74.com/forums/topic/optimization-of-gate-are-the-signal-disabled/#post-145511</link>
					<pubDate>Mon, 24 Nov 2008 13:59:52 +0000</pubDate>
					<dc:creator>Jean-Francois Charles</dc:creator>

					<description>
						<![CDATA[
						<p>Think design first. Then CPU performance.<br />
What about making the same patch without the outside poly~? Just the 2<br />
functional poly~, but at MAIN level?<br />
J-F.</p>
<p>> <br />
> Hello,<br />
> thank you for the suggestions.<br />
> <br />
> I am not speaking about the gate~ inside the<br />
> filters. My question is relative to the gate~ that<br />
> select one filter rather than one.<br />
> <br />
> I&#8217;d only want to know if it is right to use gate~ and<br />
> select together in order to save CPU.<br />
> <br />
> What do you think?<br />
> <br />
> Thanks in advance</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/optimization-of-gate-are-the-signal-disabled/#post-145512</guid>
					<title><![CDATA[Re: Optimization of gate~ : are the signal disabled?]]></title>
					<link>http://cycling74.com/forums/topic/optimization-of-gate-are-the-signal-disabled/#post-145512</link>
					<pubDate>Mon, 24 Nov 2008 16:32:50 +0000</pubDate>
					<dc:creator>Luca</dc:creator>

					<description>
						<![CDATA[
						<p>Hi,<br />
thanks for replying.</p>
<p>I intend what do you want to say and you are right.<br />
I agree with your suggestion of thinking first of all<br />
to the design of the patch.<br />
However that patch I posted was only an example.</p>
<p>Now imagine a subpatch where there are 20 outlets for gate~ each <br />
one process the sound with a different type of fft filter (put <br />
inside a poly~). </p>
<p>The question is if the right way to use gate~ and to save CPU<br />
is using it with the addition of a select object that enable the <br />
DSP in the poly~ in which the gate~ pass the signal.</p>
<p>I was wondering if there is another solution.</p>
<p>
Best regards</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/optimization-of-gate-are-the-signal-disabled/#post-145513</guid>
					<title><![CDATA[Re: Optimization of gate~ : are the signal disabled?]]></title>
					<link>http://cycling74.com/forums/topic/optimization-of-gate-are-the-signal-disabled/#post-145513</link>
					<pubDate>Tue, 25 Nov 2008 21:20:48 +0000</pubDate>
					<dc:creator>stefantiedje</dc:creator>

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

					
					
				</item>

					
		
	</channel>
	</rss>

