Hi again,<br><br>&quot;use link rigidity (K) in order to make the 2 masses to bounce one on the other.&quot;<br><br>I was under the impression that you had to use interactors so that the masses would bounce off each other (obviously not!)<br>
<br>How would I do that with links (K), is it in an example patch?<br><br>Main problem atm is that I like the sound of the patch on my laptop, even with the technical mistakes, and it just doesn&#39;t sound so good on the Pi:(<br>
<br>I did have GEM for visualisation but that all got ripped out a while ago knowing I would be hopefully porting to the Pi so it&#39;s now very hard to know what&#39;s happening - back to the drawing board.<br><br>Jb<br>
<br><div class="gmail_quote">On 11 March 2013 14:48, Cyrille Henry <span dir="ltr">&lt;<a href="mailto:ch@chnry.net" target="_blank">ch@chnry.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
Le 11/03/2013 14:48, Julian Brooks a écrit :<div class="im"><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Still getting occasional explosions with D &amp; D2 at 32 &amp; 8 respectively. K for both links is now 15.<br>
<br>
If anyone has further suggestions please let me know.<br>
</blockquote></div>
i did find some strange things in your patch.<br>
there is a iCircle while most masses use iSphere, i think they should all use the same interactor in order to have a symetrical interaction.<br>
<br>
also, interactor create force, i would better use link rigidity (K) in order to make the 2 masses to bounce one on the other.<div class="im"><br>
<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
I&#39;m really very curious, Cyrille, what you mean by &#39;accuracy can be the answer&#39;?<br>
</blockquote></div>
well, i wanted to point ou that the accuracy of the math is important.<br>
<br>
if you do abstraction that mimic mass/link, you can do physical model without pmpd. But it has been proven that it&#39;s not as accurate as externals. And this accuracy can create instabilities in some situation (specially when the system is close to an instable point).<br>

<br>
i have no idea why math should be less accurate on the Rpi, but that could be the answer on why your patch was working on a laptop, and not on the Pi.<br>
<br>
cheers<br>
c<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
<br>
I&#39;m very aware that I&#39;ve made all the settings &#39;by ear&#39; so to speak, so I&#39;m not follwing any formulas here.<br>
<br>
Cheers,<br>
<br>
Julian<br>
<br></div><div class="im">
On 11 March 2013 12:47, Julian Brooks &lt;<a href="mailto:jbeezez@gmail.com" target="_blank">jbeezez@gmail.com</a> &lt;mailto:<a href="mailto:jbeezez@gmail.com" target="_blank">jbeezez@gmail.com</a>&gt;&gt; wrote:<br>
<br>
    Hey Cyrille,<br>
<br>
    Many thanks for testing.<br>
<br>
    Good to know pmpd is working on the pi.<br>
<br>
    Thanks for the spot about the link being set too high (D2), I have set it to 15 as per your recommendation.<br>
<br>
    I&#39;m now experimenting with D and D2 to try and get a similar soundworld as per my original patch.  Still getting occasional blow-ups/distortion for no apparent reason but at least something is happening, which is so much better than what I had before.<br>

<br>
    Interestingly it makes absolutely no difference to the resultant sound whether Pd on the Pi is running via vnc and in gui mode or straight from command line with -nogui.<br>
<br>
    Progress though.  Hurrah.<br>
<br>
    Will report back with further progress.<br>
    (if anyone has an inclination to check the patch and offer advice/assistance/<u></u>recommendations I would be hugely grateful)<br>
<br>
    Very best wishes,<br>
<br>
    Julian<br>
<br>
<br>
<br>
<br></div><div class="im">
    On 11 March 2013 11:23, Cyrille Henry &lt;<a href="mailto:ch@chnry.net" target="_blank">ch@chnry.net</a> &lt;mailto:<a href="mailto:ch@chnry.net" target="_blank">ch@chnry.net</a>&gt;&gt; wrote:<br>
<br>
        hello,<br>
<br>
        so, i&#39;ve test your patch on my laptop : it work.<br>
        i compile pmpd on the rpi, test your patch and it don&#39;t run.<br>
        so i can confirm the problem, sending you pmpd binary will not help<br>
<br>
        basic pmpd example works on the Rpi. it&#39;s hard to fully test because most examples need Gem.<br>
<br>
        On the Rpi, the pmpd part of your patch did became unstable. i can see the same behaviors on my laptop if I increase D2 a bit to much.<br>
        So, your patch is quite sensitive, and easily became unstable.<br>
        It look like the pi math is not accurate enough to keep your patch stable.<br>
        when removing few masses, and playing with parameters, i was able to get back to a stable situation.<br>
<br>
        in fact, changing in btch_link_2 rigidity of the link from 125 to 15 is enough to get the patch stable again. (after waiting for few second).<br>
        btw, i did not understand how a link with 125 rigidity connect to mass weight 100 can not be instable.<br>
<br>
<br>
        So although pmpd did not work the same way on my laptop and on the Rpi, i was not able to spot a problem on the Rpi.<br>
<br>
        Accuracy can be the answer.<br>
        I&#39;ll be glad to here from peoples that know more than me on this topic.<br>
<br>
        cheers<br>
        c<br>
<br>
<br>
<br>
<br>
<br>
        Le 11/03/2013 10:31, Julian Brooks a écrit :<br>
<br>
            Bugger- sorry.<br>
<br>
            Attached now<br>
<br>
            BTW - Please be very careful with the audio level if testing on RPi.  It&#39;s very loud!<br>
<br>
            Julian<br>
<br></div><div class="im">
            On 11 March 2013 09:23, Cyrille Henry &lt;<a href="mailto:ch@chnry.net" target="_blank">ch@chnry.net</a> &lt;mailto:<a href="mailto:ch@chnry.net" target="_blank">ch@chnry.net</a>&gt; &lt;mailto:<a href="mailto:ch@chnry.net" target="_blank">ch@chnry.net</a> &lt;mailto:<a href="mailto:ch@chnry.net" target="_blank">ch@chnry.net</a>&gt;&gt;&gt; wrote:<br>

<br>
                 the vanilla-urn is missing.<br>
<br>
                 Le 11/03/2013 10:18, Julian Brooks a écrit :<br>
<br>
                     Hi Cyrille,<br>
<br>
                     Many thanks for assistance...<br>
<br>
                     The simplest solution I think is for me to send you the whole patch.<br>
<br>
                     A simple example of my problem:<br>
<br>
                     Main patch is:<br>
                     &#39;1.BitChime_pd-list.pd&#39;<br>
<br>
                     On my laptop the output going to [s mass1] from within [btch_mass01_sph 0 1 0] in [pd mass_n_link] is between 0-1.<br>
<br>
                     On the RPi the same output is between 1-10000.<br>
<br>
                     Obviously this has some severe effects on the volume as the pmpd collisions are driving the audio.<br>
<br>
                     Apart from pmpd the patch is vanilla.<br>
<br>
                     If anyone else can confirm the same behaviour it would be appreciated.<br>
<br>
                     (Hey Antoine, just spotted your post, thanks for weighing in)<br>
<br>
                     Best wishes,<br>
<br>
                     Julian<br>
<br>
<br>
<br>
<br>
<br></div><div class="im">
                     On 10 March 2013 19:22, Cyrille Henry &lt;<a href="mailto:ch@chnry.net" target="_blank">ch@chnry.net</a> &lt;mailto:<a href="mailto:ch@chnry.net" target="_blank">ch@chnry.net</a>&gt; &lt;mailto:<a href="mailto:ch@chnry.net" target="_blank">ch@chnry.net</a> &lt;mailto:<a href="mailto:ch@chnry.net" target="_blank">ch@chnry.net</a>&gt;&gt; &lt;mailto:<a href="mailto:ch@chnry.net" target="_blank">ch@chnry.net</a> &lt;mailto:<a href="mailto:ch@chnry.net" target="_blank">ch@chnry.net</a>&gt; &lt;mailto:<a href="mailto:ch@chnry.net" target="_blank">ch@chnry.net</a> &lt;mailto:<a href="mailto:ch@chnry.net" target="_blank">ch@chnry.net</a>&gt;&gt;&gt;&gt; wrote:<br>

<br>
<br>
<br>
                          Le 10/03/2013 20:12, Julian Brooks a écrit :<br>
<br>
                              Hi all,<br>
<br>
                              Does anyone have a copy of the most recent PMPD compiled for the RPi that they can forward to me please?<br>
<br>
                              I&#39;m having a few issues with a patch that works fine on my laptop but is badly borked on the RPi and I think I&#39;ve narrowed it down to the PMPD lib that I&#39;ve compiled.<br>
<br>
                              The version I&#39;ve compiled seems to have built but it&#39;s not working correctly.<br>
<br>
<br>
                          i dit not compile pmpd but i could if needed. But i don&#39;t think that i will make any diference.<br>
                          could you explain the problem that i can test here?<br>
<br>
                          cheers<br>
                          c<br>
<br>
<br>
<br>
<br>
<br>
                          The patch runs at about 50% on the RPi (10% on my laptop) so I&#39;m hoping that should be ok.<br>
<br>
<br>
                              Will report back after further testing.<br>
<br>
                              Many thanks in advance,<br>
<br>
                              Julian<br>
<br>
<br></div>
                              ______________________________<u></u>_______________________<br>
            <a href="mailto:Pd-list@iem.at" target="_blank">Pd-list@iem.at</a> &lt;mailto:<a href="mailto:Pd-list@iem.at" target="_blank">Pd-list@iem.at</a>&gt; &lt;mailto:<a href="mailto:Pd-list@iem.at" target="_blank">Pd-list@iem.at</a> &lt;mailto:<a href="mailto:Pd-list@iem.at" target="_blank">Pd-list@iem.at</a>&gt;&gt; &lt;mailto:<a href="mailto:Pd-list@iem.at" target="_blank">Pd-list@iem.at</a> &lt;mailto:<a href="mailto:Pd-list@iem.at" target="_blank">Pd-list@iem.at</a>&gt; &lt;mailto:<a href="mailto:Pd-list@iem.at" target="_blank">Pd-list@iem.at</a> &lt;mailto:<a href="mailto:Pd-list@iem.at" target="_blank">Pd-list@iem.at</a>&gt;&gt;&gt; mailing list<br>

                              UNSUBSCRIBE and account-management -&gt; <a href="http://lists.puredata.info/______listinfo/pd-list" target="_blank">http://lists.puredata.info/___<u></u>___listinfo/pd-list</a> &lt;<a href="http://lists.puredata.info/____listinfo/pd-list" target="_blank">http://lists.puredata.info/__<u></u>__listinfo/pd-list</a>&gt; &lt;<a href="http://lists.puredata.info/____listinfo/pd-list" target="_blank">http://lists.puredata.info/__<u></u>__listinfo/pd-list</a> &lt;<a href="http://lists.puredata.info/__listinfo/pd-list" target="_blank">http://lists.puredata.info/__<u></u>listinfo/pd-list</a>&gt;&gt; &lt;<a href="http://lists.puredata.info/____listinfo/pd-list" target="_blank">http://lists.puredata.info/__<u></u>__listinfo/pd-list</a> &lt;<a href="http://lists.puredata.info/__listinfo/pd-list" target="_blank">http://lists.puredata.info/__<u></u>listinfo/pd-list</a>&gt; &lt;<a href="http://lists.puredata.info/__listinfo/pd-list" target="_blank">http://lists.puredata.info/__<u></u>listinfo/pd-list</a> &lt;<a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/<u></u>listinfo/pd-list</a>&gt;&gt;&gt;<br>

<br>
<br>
<br>
<br>
<br>
            ______________________________<u></u>___________________<div class="im"><br>
            <a href="mailto:Pd-list@iem.at" target="_blank">Pd-list@iem.at</a> &lt;mailto:<a href="mailto:Pd-list@iem.at" target="_blank">Pd-list@iem.at</a>&gt; mailing list<br></div>
            UNSUBSCRIBE and account-management -&gt; <a href="http://lists.puredata.info/__listinfo/pd-list" target="_blank">http://lists.puredata.info/__<u></u>listinfo/pd-list</a> &lt;<a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/<u></u>listinfo/pd-list</a>&gt;<br>

<br>
<br>
<br>
</blockquote>
</blockquote></div><br>