<?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[pack s s s  , pak s s s]]></title><description><![CDATA[<p>Firstof all , I 'd like to say that is the second forum I am posting this on because it is doing my head in .<br />
If I have a pak object (PAK ) with s s s  as arguments , it accepts and outputs a list , but I can not conclude if these are considered symbols or not ( see next )<br />
Like this <img src="/uploads/files/1746646500087-1.jpg" alt="1.jpg" class="img-responsive img-markdown" /><br />
If I use a pack ( PACK ) with s s s , the messages 'x ' and  '-' in the second and third inlet ,  need to be converted to symbols in order for the pack object to work , the first inlet does not need it<br />
Like this<br />
<img src="/uploads/files/1746646671979-2.jpg" alt="2.jpg" class="img-responsive img-markdown" /></p>
<p>Now have a look at pack without the symbol boxes ,<br />
<img src="/uploads/files/1746647050624-3.jpg" alt="3.jpg" class="img-responsive img-markdown" /><br />
When pressing the second and third toggle , the console says : expected symbol but got &quot;x&quot; or &quot;-&quot;  ( there is no symbol box involved ) .<br />
When pressing the first toggle , the &quot;- &quot;or &quot;x&quot; is send and received  , does the pack see this as a symbol ? (  if so how can we examine this )<br />
Furthermore  , why doesn't it see the second and third as a symbol  ?<br />
This is were it's so cumbersome to actually see what's going on under the hood ..<br />
<img src="/uploads/files/1746647350463-4.jpg" alt="4.jpg" class="img-responsive img-markdown" /><br />
Now I  change the first argument of pack to integer , so pack =  i s s , then the console says : Pack_symbol wrong type<br />
From this I can conclude that the first message is indeed interpreted as a symbol  (and rejected because it expected an integer )  , so why do the next and third inlet need an explicit symbol box , and why doesn't PAK need any at all ?</p>
<p>Just when I got the hang of lists and it's selectors ,  I bump into new issues</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/15115/pack-s-s-s-pak-s-s-s</link><generator>RSS for Node</generator><lastBuildDate>Fri, 11 Sep 2026 02:00:22 GMT</lastBuildDate><atom:link href="http://forum.pdpatchrepo.info/topic/15115.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 07 May 2025 19:50:15 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to pack s s s  , pak s s s on Wed, 07 May 2025 20:25:01 GMT]]></title><description><![CDATA[<p>Firstof all , I 'd like to say that is the second forum I am posting this on because it is doing my head in .<br />
If I have a pak object (PAK ) with s s s  as arguments , it accepts and outputs a list , but I can not conclude if these are considered symbols or not ( see next )<br />
Like this <img src="/uploads/files/1746646500087-1.jpg" alt="1.jpg" class="img-responsive img-markdown" /><br />
If I use a pack ( PACK ) with s s s , the messages 'x ' and  '-' in the second and third inlet ,  need to be converted to symbols in order for the pack object to work , the first inlet does not need it<br />
Like this<br />
<img src="/uploads/files/1746646671979-2.jpg" alt="2.jpg" class="img-responsive img-markdown" /></p>
<p>Now have a look at pack without the symbol boxes ,<br />
<img src="/uploads/files/1746647050624-3.jpg" alt="3.jpg" class="img-responsive img-markdown" /><br />
When pressing the second and third toggle , the console says : expected symbol but got &quot;x&quot; or &quot;-&quot;  ( there is no symbol box involved ) .<br />
When pressing the first toggle , the &quot;- &quot;or &quot;x&quot; is send and received  , does the pack see this as a symbol ? (  if so how can we examine this )<br />
Furthermore  , why doesn't it see the second and third as a symbol  ?<br />
This is were it's so cumbersome to actually see what's going on under the hood ..<br />
<img src="/uploads/files/1746647350463-4.jpg" alt="4.jpg" class="img-responsive img-markdown" /><br />
Now I  change the first argument of pack to integer , so pack =  i s s , then the console says : Pack_symbol wrong type<br />
From this I can conclude that the first message is indeed interpreted as a symbol  (and rejected because it expected an integer )  , so why do the next and third inlet need an explicit symbol box , and why doesn't PAK need any at all ?</p>
<p>Just when I got the hang of lists and it's selectors ,  I bump into new issues</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/15115/pack-s-s-s-pak-s-s-s</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/15115/pack-s-s-s-pak-s-s-s</guid><dc:creator><![CDATA[gentleclockdivider]]></dc:creator><pubDate>Wed, 07 May 2025 20:25:01 GMT</pubDate></item><item><title><![CDATA[Reply to pack s s s  , pak s s s on Wed, 07 May 2025 22:30:30 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/gentleclockdivider">@gentleclockdivider</a> First inlet of [pack] and many objects treats everything on the first inlet as a list which it unpacks and fans out to the other inlets in order, a symbol or float is just a list of one element in this case.<br />
<img src="/uploads/files/1746651306079-untitled.png" alt="Untitled.png" class="img-responsive img-markdown" /><br />
This is standard behavior for vanilla objects. [pak] is not vanilla and many external objects go against vanillas standard behavior.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/15115/pack-s-s-s-pak-s-s-s/2</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/15115/pack-s-s-s-pak-s-s-s/2</guid><dc:creator><![CDATA[oid]]></dc:creator><pubDate>Wed, 07 May 2025 22:30:30 GMT</pubDate></item><item><title><![CDATA[Reply to pack s s s  , pak s s s on Wed, 07 May 2025 22:07:34 GMT]]></title><description><![CDATA[<p>Thanks , but dont you mean &quot;many NON vanilla objects go against vanillas standard behaviour ? &quot;</p>
<p>But what if the first inlet is not a list it unpacks, like in my examples ?</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/15115/pack-s-s-s-pak-s-s-s/3</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/15115/pack-s-s-s-pak-s-s-s/3</guid><dc:creator><![CDATA[gentleclockdivider]]></dc:creator><pubDate>Wed, 07 May 2025 22:07:34 GMT</pubDate></item><item><title><![CDATA[Reply to pack s s s  , pak s s s on Wed, 07 May 2025 22:37:14 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/gentleclockdivider">@gentleclockdivider</a> Yeah, will fix that error. The first inlet in the case of [pack] is always a list, a float or symbol is just a list of one element list. Internally [pack] works like this:<br />
<img src="/uploads/files/1746657298606-untitled1.png" alt="Untitled1.png" class="img-responsive img-markdown" /><br />
So left inlet will always add the appropriate selector even if it is a single element.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/15115/pack-s-s-s-pak-s-s-s/4</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/15115/pack-s-s-s-pak-s-s-s/4</guid><dc:creator><![CDATA[oid]]></dc:creator><pubDate>Wed, 07 May 2025 22:37:14 GMT</pubDate></item><item><title><![CDATA[Reply to pack s s s  , pak s s s on Wed, 07 May 2025 22:53:08 GMT]]></title><description><![CDATA[<p>the '-' and 'X' are 'anything's in terms of pd types</p>
<p>the cold inlets are generic and expect symbols, not 'anything's. That's why you have to convert them to symbols with <code>[symbol]</code>.</p>
<p>However, the 'hot' (leftmost) inlet does accept 'anything's, and converts them to symbols</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/15115/pack-s-s-s-pak-s-s-s/5</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/15115/pack-s-s-s-pak-s-s-s/5</guid><dc:creator><![CDATA[seb-harmonik.ar]]></dc:creator><pubDate>Wed, 07 May 2025 22:53:08 GMT</pubDate></item><item><title><![CDATA[Reply to pack s s s  , pak s s s on Wed, 07 May 2025 23:10:03 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/seb-harmonik-ar">@seb-harmonik.ar</a><br />
That's exactly what  thought<br />
Is there any way how to actually see how pack works internally , or any other object for that matter . ?</p>
<p>@ oid , interesting<br />
How did you find out that pack works like that ,(  not that I doubt your expertise at all ) ?</p>
<p>Max has this wonderfull object in the pack family called join ( not zl - join ) it accepts everything no matter the selector .<br />
You just give it the nr of input arguments and the hot inlet port ( all if needed )<br />
Really wish pd has someting like that</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/15115/pack-s-s-s-pak-s-s-s/6</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/15115/pack-s-s-s-pak-s-s-s/6</guid><dc:creator><![CDATA[gentleclockdivider]]></dc:creator><pubDate>Wed, 07 May 2025 23:10:03 GMT</pubDate></item><item><title><![CDATA[Reply to pack s s s  , pak s s s on Wed, 07 May 2025 23:16:58 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/gentleclockdivider">@gentleclockdivider</a> of course, you can look at the code.</p>
<pre><code>static void pack_anything(t_pack *x, t_symbol *s, int ac, t_atom *av)
{
    t_atom *av2 = (t_atom *)alloca((ac + 1) * sizeof(t_atom));
    int i;
    for (i = 0; i &lt; ac; i++)
        av2[i + 1] = av[i];
    SETSYMBOL(av2, s);
    obj_list(&amp;x-&gt;x_obj, 0, ac + 1, av2);
}
</code></pre>
<p>you have to get into a few functions, but basically the argument 's' is the 'selector' (in this case '-' or 'X'), 'ac' is the count of items in the list (after the selector) and *av is the pointer to the atoms that make it up.</p>
<p>first, it allocates a new list of atoms of length of the input elements (elements after the selector, in this case 0) + 1 = 1</p>
<p>then it shifts all the input elements up by 1, and inserts the selector as a symbol in the first element<br />
Then obj_list will distribute all the elements of that list to the inlets of pack, from right to left which will set the atoms that pack is storing for those inlets<br />
when obj_list lastly reaches/distributes to the leftmost it will call pack_symbol, which will call pack_bang which triggers the atoms pack has stored to be output as another new list</p>
<p>binding pack_anything to anythings coming into the first inlet is done by calling class_addanything in pack_setup method</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/15115/pack-s-s-s-pak-s-s-s/7</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/15115/pack-s-s-s-pak-s-s-s/7</guid><dc:creator><![CDATA[seb-harmonik.ar]]></dc:creator><pubDate>Wed, 07 May 2025 23:16:58 GMT</pubDate></item><item><title><![CDATA[Reply to pack s s s  , pak s s s on Wed, 07 May 2025 23:28:11 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/gentleclockdivider">@gentleclockdivider</a> manual or help files or here on the forum, too long ago to recall. Seb gives the full answer above, I put it in pd terms since most (including myself) find pd far easier to understand than pd's dense C.</p>
<p>Regarding Max's join, make it, just an abstraction away. [list store] mostly does that and a great deal more.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/15115/pack-s-s-s-pak-s-s-s/8</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/15115/pack-s-s-s-pak-s-s-s/8</guid><dc:creator><![CDATA[oid]]></dc:creator><pubDate>Wed, 07 May 2025 23:28:11 GMT</pubDate></item><item><title><![CDATA[Reply to pack s s s  , pak s s s on Wed, 07 May 2025 23:54:48 GMT]]></title><description><![CDATA[<p>True to that , some of pd modules are more flexible<br />
List store appart from storing lists can also be used as a lookup  ( get $1 ) , in max you need zl lookup etc..<br />
Will try , thanks guys for the answers</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/15115/pack-s-s-s-pak-s-s-s/9</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/15115/pack-s-s-s-pak-s-s-s/9</guid><dc:creator><![CDATA[gentleclockdivider]]></dc:creator><pubDate>Wed, 07 May 2025 23:54:48 GMT</pubDate></item><item><title><![CDATA[Reply to pack s s s  , pak s s s on Thu, 08 May 2025 05:23:31 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/gentleclockdivider">@gentleclockdivider</a> said:</p>
<blockquote>
<p>Is there any way how to actually see how pack works internally , or any other object for that matter</p>
</blockquote>
<p>well, it's open source, you can look at the code. Help file also tells you how it works. The help file of [pack] clearly states that the left inlet allows &quot;anythings&quot;</p>
<blockquote>
<p>Really wish pd has someting like that</p>
</blockquote>
<p>Pd is not MAX, it doesn't work like MAX. Having said all that... Pd has Cyclone, and Cyclone has [zl join].... (and all other [zl] thingies).</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/15115/pack-s-s-s-pak-s-s-s/10</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/15115/pack-s-s-s-pak-s-s-s/10</guid><dc:creator><![CDATA[porres]]></dc:creator><pubDate>Thu, 08 May 2025 05:23:31 GMT</pubDate></item><item><title><![CDATA[Reply to pack s s s  , pak s s s on Thu, 08 May 2025 05:59:52 GMT]]></title><description><![CDATA[<p>oh, you said it's [join] and not [zl.join]...</p>
<p>well... cyclone also has [join] <img class="emoji emoji-extended" src="http://forum.pdpatchrepo.info/plugins/nodebb-plugin-emoji-extended/images/grinning.png" title=":)" alt=":)" /></p>
<p>and ELSE has [merge], which is basically the same...</p>
<p>so yeah, you have many options.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/15115/pack-s-s-s-pak-s-s-s/11</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/15115/pack-s-s-s-pak-s-s-s/11</guid><dc:creator><![CDATA[porres]]></dc:creator><pubDate>Thu, 08 May 2025 05:59:52 GMT</pubDate></item><item><title><![CDATA[Reply to pack s s s  , pak s s s on Thu, 08 May 2025 22:17:55 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/porres">@porres</a><br />
Wow , amazed  that Cyclone has join .<br />
Sadly unjoin it not behaving as it should when unjoining characters-symbols</p>
<p><img src="/uploads/files/1746742530458-image.png" alt="image.png" class="img-responsive img-markdown" /></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/15115/pack-s-s-s-pak-s-s-s/12</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/15115/pack-s-s-s-pak-s-s-s/12</guid><dc:creator><![CDATA[gentleclockdivider]]></dc:creator><pubDate>Thu, 08 May 2025 22:17:55 GMT</pubDate></item><item><title><![CDATA[Reply to pack s s s  , pak s s s on Thu, 08 May 2025 22:19:26 GMT]]></title><description><![CDATA[<p>What is the issue? Can you report?</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/15115/pack-s-s-s-pak-s-s-s/13</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/15115/pack-s-s-s-pak-s-s-s/13</guid><dc:creator><![CDATA[porres]]></dc:creator><pubDate>Thu, 08 May 2025 22:19:26 GMT</pubDate></item><item><title><![CDATA[Reply to pack s s s  , pak s s s on Thu, 08 May 2025 22:22:47 GMT]]></title><description><![CDATA[<p>Unjoing a symbol<br />
Join 3 where third inlet is symbol<br />
Then unjoin 3  , third outlet is a decimal : 1.91027e-20<br />
Unmerge otoh is working correctly<br />
<img src="/uploads/files/1746742938116-image.png" alt="image.png" class="img-responsive img-markdown" /></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/15115/pack-s-s-s-pak-s-s-s/14</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/15115/pack-s-s-s-pak-s-s-s/14</guid><dc:creator><![CDATA[gentleclockdivider]]></dc:creator><pubDate>Thu, 08 May 2025 22:22:47 GMT</pubDate></item><item><title><![CDATA[Reply to pack s s s  , pak s s s on Thu, 08 May 2025 22:33:23 GMT]]></title><description><![CDATA[<p>Either way , else merge -unmerge is great , good job !<br />
I don't see any benefit in using pack anymore when combining floats - symbols .<br />
Thanks !</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/15115/pack-s-s-s-pak-s-s-s/15</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/15115/pack-s-s-s-pak-s-s-s/15</guid><dc:creator><![CDATA[gentleclockdivider]]></dc:creator><pubDate>Thu, 08 May 2025 22:33:23 GMT</pubDate></item><item><title><![CDATA[Reply to pack s s s  , pak s s s on Thu, 08 May 2025 23:04:06 GMT]]></title><description><![CDATA[<p>I also encountered another issue with merge<br />
When I unpack an Array get into 16 floats ( converting to symbols ) into a merge 16 , the object prints twice<br />
<a href="/uploads/files/1746744296419-9_05.pd">9_05.pd</a><br />
<img src="/uploads/files/1746744313398-image.png" alt="image.png" class="img-responsive img-markdown" /><br />
If you click on one of messages (-,x)  in the first inlet of merge 16 it will output a list as expected becauseit's hot , but so does the 13 th input ..which is weird</p>
<p>@ porres , If you don't mind I will post this on the discord/else forum since it's out of the scope of this topic .<br />
Thanks everybody for the suggestions .</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/15115/pack-s-s-s-pak-s-s-s/16</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/15115/pack-s-s-s-pak-s-s-s/16</guid><dc:creator><![CDATA[gentleclockdivider]]></dc:creator><pubDate>Thu, 08 May 2025 23:04:06 GMT</pubDate></item><item><title><![CDATA[Reply to pack s s s  , pak s s s on Fri, 09 May 2025 01:28:43 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/gentleclockdivider">@gentleclockdivider</a> said:</p>
<blockquote>
<p>Join 3 where third inlet is symbol<br />
Then unjoin 3 , third outlet is a decimal : 1.91027e-20</p>
</blockquote>
<p>Holy fucking shit, how did that get by?</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/15115/pack-s-s-s-pak-s-s-s/17</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/15115/pack-s-s-s-pak-s-s-s/17</guid><dc:creator><![CDATA[porres]]></dc:creator><pubDate>Fri, 09 May 2025 01:28:43 GMT</pubDate></item><item><title><![CDATA[Reply to pack s s s  , pak s s s on Fri, 09 May 2025 01:36:23 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/gentleclockdivider">@gentleclockdivider</a> said:</p>
<blockquote>
<p>in the first inlet of merge 16 it will output a list as expected becauseit's hot , but so does the 13 th input ..which is weird</p>
</blockquote>
<p>yup, can reproduce such weird as hell thing</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/15115/pack-s-s-s-pak-s-s-s/18</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/15115/pack-s-s-s-pak-s-s-s/18</guid><dc:creator><![CDATA[porres]]></dc:creator><pubDate>Fri, 09 May 2025 01:36:23 GMT</pubDate></item><item><title><![CDATA[Reply to pack s s s  , pak s s s on Fri, 09 May 2025 01:36:44 GMT]]></title><description><![CDATA[<p>This oughta do what you want...</p>
<p><img src="/uploads/files/1746754595178-screenshot-2025-05-08-at-22.35.47.png" alt="Screenshot 2025-05-08 at 22.35.47.png" class="img-responsive img-markdown" /></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/15115/pack-s-s-s-pak-s-s-s/19</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/15115/pack-s-s-s-pak-s-s-s/19</guid><dc:creator><![CDATA[porres]]></dc:creator><pubDate>Fri, 09 May 2025 01:36:44 GMT</pubDate></item><item><title><![CDATA[Reply to pack s s s  , pak s s s on Fri, 09 May 2025 03:06:34 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/porres">@porres</a> said:</p>
<blockquote>
<p>yup, can reproduce such weird as hell thing</p>
</blockquote>
<p>fixed in master</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/15115/pack-s-s-s-pak-s-s-s/20</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/15115/pack-s-s-s-pak-s-s-s/20</guid><dc:creator><![CDATA[porres]]></dc:creator><pubDate>Fri, 09 May 2025 03:06:34 GMT</pubDate></item><item><title><![CDATA[Reply to pack s s s  , pak s s s on Fri, 09 May 2025 03:36:05 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/porres">@porres</a> said:</p>
<blockquote>
<p>Holy fucking shit, how did that get by?</p>
</blockquote>
<p>also fixed</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/15115/pack-s-s-s-pak-s-s-s/21</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/15115/pack-s-s-s-pak-s-s-s/21</guid><dc:creator><![CDATA[porres]]></dc:creator><pubDate>Fri, 09 May 2025 03:36:05 GMT</pubDate></item><item><title><![CDATA[Reply to pack s s s  , pak s s s on Fri, 09 May 2025 17:19:06 GMT]]></title><description><![CDATA[<p>Awesome</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/15115/pack-s-s-s-pak-s-s-s/22</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/15115/pack-s-s-s-pak-s-s-s/22</guid><dc:creator><![CDATA[gentleclockdivider]]></dc:creator><pubDate>Fri, 09 May 2025 17:19:06 GMT</pubDate></item></channel></rss>