<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Loadbang in a subpatch doesn&#x27;t work]]></title><description><![CDATA[<p>I am using the obj from the pd messages listed in <a href="https://puredata.info/docs/tutorials/TipsAndTricks#undocumented-pd-internal-messages" rel="nofollow">https://puredata.info/docs/tutorials/TipsAndTricks#undocumented-pd-internal-messages</a> to create new subpatches on fly. Inside of my subpatch i have a loadbang which should send a bang write on creation, but it omits no bang. I am sure this has to do with using the obj message, since creating a new subpatch instace per hand i get the loadbang.</p>
<p>This is how i create the new subpatch instances (apple):</p>
<p><img src="/uploads/files/1544911257984-obj.png" alt="obj.png" class="img-responsive img-markdown" /></p>
<p>And inside each subpatch:</p>
<p><img src="/uploads/files/1544911286016-apple.png" alt="apple.png" class="img-responsive img-markdown" /></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/11821/loadbang-in-a-subpatch-doesn-t-work</link><generator>RSS for Node</generator><lastBuildDate>Sun, 19 Jul 2026 15:41:10 GMT</lastBuildDate><atom:link href="http://forum.pdpatchrepo.info/topic/11821.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 15 Dec 2018 22:01:32 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Loadbang in a subpatch doesn&#x27;t work on Sat, 15 Dec 2018 22:01:32 GMT]]></title><description><![CDATA[<p>I am using the obj from the pd messages listed in <a href="https://puredata.info/docs/tutorials/TipsAndTricks#undocumented-pd-internal-messages" rel="nofollow">https://puredata.info/docs/tutorials/TipsAndTricks#undocumented-pd-internal-messages</a> to create new subpatches on fly. Inside of my subpatch i have a loadbang which should send a bang write on creation, but it omits no bang. I am sure this has to do with using the obj message, since creating a new subpatch instace per hand i get the loadbang.</p>
<p>This is how i create the new subpatch instances (apple):</p>
<p><img src="/uploads/files/1544911257984-obj.png" alt="obj.png" class="img-responsive img-markdown" /></p>
<p>And inside each subpatch:</p>
<p><img src="/uploads/files/1544911286016-apple.png" alt="apple.png" class="img-responsive img-markdown" /></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/11821/loadbang-in-a-subpatch-doesn-t-work</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/11821/loadbang-in-a-subpatch-doesn-t-work</guid><dc:creator><![CDATA[amirt]]></dc:creator><pubDate>Sat, 15 Dec 2018 22:01:32 GMT</pubDate></item><item><title><![CDATA[Reply to Loadbang in a subpatch doesn&#x27;t work on Sat, 15 Dec 2018 23:32:57 GMT]]></title><description><![CDATA[<p>@amirteymuri Hi, you can send a loadbang to a subpatch with the message &quot;loadbang&quot; sent to the subpatch:</p>
<pre><code>[;                (
[pd-apple loadbang(
</code></pre>
]]></description><link>http://forum.pdpatchrepo.info/topic/11821/loadbang-in-a-subpatch-doesn-t-work/2</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/11821/loadbang-in-a-subpatch-doesn-t-work/2</guid><dc:creator><![CDATA[seb-harmonik.ar]]></dc:creator><pubDate>Sat, 15 Dec 2018 23:32:57 GMT</pubDate></item><item><title><![CDATA[Reply to Loadbang in a subpatch doesn&#x27;t work on Sat, 15 Dec 2018 23:47:31 GMT]]></title><description><![CDATA[<p>Since you are using an abstraction, I think the way to do it would make a receive with the &quot;number&quot; of apple in the name, then immediately send the receive a bang when you create it<br />
edit: see this thread <a href="https://lists.puredata.info/pipermail/pd-list/2011-02/086968.html" rel="nofollow">https://lists.puredata.info/pipermail/pd-list/2011-02/086968.html</a><br />
another option is to use initbang instead apparently (currently in iemguts)</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/11821/loadbang-in-a-subpatch-doesn-t-work/3</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/11821/loadbang-in-a-subpatch-doesn-t-work/3</guid><dc:creator><![CDATA[seb-harmonik.ar]]></dc:creator><pubDate>Sat, 15 Dec 2018 23:47:31 GMT</pubDate></item><item><title><![CDATA[Reply to Loadbang in a subpatch doesn&#x27;t work on Sun, 16 Dec 2018 00:04:16 GMT]]></title><description><![CDATA[<p>Hi <a href="http://seb-harmonik.ar" rel="nofollow">seb-harmonik.ar</a>, i can't send loadbangs to the subpatches since the have a $1 in their names, and i think it is not possible to write such a name to a pd message?</p>
<pre><code>[;                            (
[pd-apple Some-Number loadbang(
</code></pre>
<p>And since those $1 are created dynamically i also can't create a receive object with a $1 as argument. How would it be possible to write such a receive:</p>
<pre><code>[receive $1(
</code></pre>
<p>Is it a pd-version matter? I am using pd-vanilla which also hasn't initbang</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/11821/loadbang-in-a-subpatch-doesn-t-work/4</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/11821/loadbang-in-a-subpatch-doesn-t-work/4</guid><dc:creator><![CDATA[amirt]]></dc:creator><pubDate>Sun, 16 Dec 2018 00:04:16 GMT</pubDate></item><item><title><![CDATA[Reply to Loadbang in a subpatch doesn&#x27;t work on Sun, 16 Dec 2018 00:19:08 GMT]]></title><description><![CDATA[<p>for instance, inside your <code>[apple]</code> abstraction you have <code>[receive $1-anapple]</code> that will<br />
send your loadbang<br />
then when you create each abstraction dynamically you do the same as before but add<br />
a second line to your message box you are sending from that sends to this receive:</p>
<pre><code>[;                                  (
[pd-apples-ch1 obj 100 100 apple $1;(
[$1-anapple bang                    (
</code></pre>
]]></description><link>http://forum.pdpatchrepo.info/topic/11821/loadbang-in-a-subpatch-doesn-t-work/5</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/11821/loadbang-in-a-subpatch-doesn-t-work/5</guid><dc:creator><![CDATA[seb-harmonik.ar]]></dc:creator><pubDate>Sun, 16 Dec 2018 00:19:08 GMT</pubDate></item><item><title><![CDATA[Reply to Loadbang in a subpatch doesn&#x27;t work on Sun, 16 Dec 2018 00:28:42 GMT]]></title><description><![CDATA[<p>Perfect! This was exactly what i was looking for! Many Thanks! <img class="emoji emoji-extended" src="http://forum.pdpatchrepo.info/plugins/nodebb-plugin-emoji-extended/images/%2B1.png" title="+1" alt=":+1:" /></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/11821/loadbang-in-a-subpatch-doesn-t-work/6</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/11821/loadbang-in-a-subpatch-doesn-t-work/6</guid><dc:creator><![CDATA[amirt]]></dc:creator><pubDate>Sun, 16 Dec 2018 00:28:42 GMT</pubDate></item></channel></rss>