<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Reading a full inbox in a
      non-parallelized fashion leads to cross posting. Sorry for the
      repost, but this belongs on this thread.<br>
      <br>
      Yeah, but the problem here (automatic compute resource
      distribution) isn't just with the actual distribution. Control
      timing is a huge issue too. If you have multiple voices of the
      same synth on different threads, good luck playing a chord. It
      will frequently be an arpeggio. If there are very strict,
      predictable rules about the order of when each voice computes and
      when it sleeps in order to wait for new samples and control
      signals, this problem vanishes, but then you are no longer
      computing in parallel, and you might as well have everything on
      one thread anyway. <br>
      <br>
      This is a <i>really</i> interesting problem. If someone can solve
      it, she deserves the nobel prize in computer music.<br>
      <br>
      On 2/24/16 5:59 AM, Christof Ressi wrote:<br>
    </div>
    <blockquote
cite="mid:trinity-1cc02257-e3ba-4731-8def-f1cf47c6354a-1456322370046@3capp-gmx-bs36"
      type="cite">
      <pre wrap="">Another possibility for at least some degree of parallel audio processing, I guess, is to use streaming objects + several instances of Pd.  I tried out [udpsend~] and [udpreceive~] (taken from the "net" library in Pd extended) and they seem to work reliably. Of course there is some latency envolved and it's no practical solution for our future 100 core machines :-p.

What are in your experience the best methods for sharing audio via different Pd instances?
And does anyone know the current status of "Audio over OSC"? I found this paper from 2010 <a class="moz-txt-link-freetext" href="http://iem.kug.ac.at/fileadmin/media/iem/projects/2010/jaeger.pdf">http://iem.kug.ac.at/fileadmin/media/iem/projects/2010/jaeger.pdf</a> 
 
Christof



</pre>
      <blockquote type="cite">
        <pre wrap="">Gesendet: Mittwoch, 24. Februar 2016 um 11:12 Uhr
Von: Jack <a class="moz-txt-link-rfc2396E" href="mailto:jack@rybn.org"><jack@rybn.org></a>
An: <a class="moz-txt-link-abbreviated" href="mailto:pd-list@lists.iem.at">pd-list@lists.iem.at</a>
Betreff: Re: [PD] How's Pd limited?

Hello,

Le 24/02/2016 00:19, Matt Barber a écrit :
</pre>
        <blockquote type="cite">
          <pre wrap="">Can anyone explain more why [pd~] doesn't fulfill the desire for
parallel processing, and maybe provide an example of something outside
of Pd that does? I don't feel like I have a great handle on the design.
As Jonathan said, it seems like Pd's determinism constraint is a big
hurdle to clear, though it's already relaxed a bit with netsend/receive.
What are the main differences between running an instance of Pd as a
[pd~] slave to another instance, and running two instances that
communicate via netsend/receive and jack?
</pre>
        </blockquote>
        <pre wrap="">
I think, the main difference is :
- with [pd~] your communication is synchronous
- with [netsend]/[netreceive] your communication is asynchronous

So (if i am right), if something is heavy to compute (more than 100% of
your CPU) in your subprocess with [pd~], your parent have to wait the
end of this computation. This is not the case with [netsend]/[netreceive].
++

Jack


</pre>
        <blockquote type="cite">
          <pre wrap="">
On Tue, Feb 23, 2016 at 5:45 PM, David Medine <<a class="moz-txt-link-abbreviated" href="mailto:dmedine@ucsd.edu">dmedine@ucsd.edu</a>
<a class="moz-txt-link-rfc2396E" href="mailto:dmedine@ucsd.edu"><mailto:dmedine@ucsd.edu></a>> wrote:

    I think we all need to learn more about multi-threading if we want
    to run real-time, modular, digital signal processing algorithms on
    multi-core machines. I, for one, can not think of any general,
    robust way to do this. In that sense, Pd's adherence to single
    threading is actually a very elegant solution to the problem.


    On 2/23/2016 12:25 PM, martin brinkmann wrote:

        On 22/02/16 02:49, Matti Viljamaa wrote:

            How do you think Pure Data is limited?

        for me the only real and important (i can think of at the
        moment) limitation is the block-based audio processing.
        to me this seems quite unnatural and inconvenient when dealing with
        digital audio. it kept me for a couple of years from using pd,
        though it
        is only a 'showstopper' in rather few cases, i found out.
        feedback in large/complex patches for example, since it
        is not very practical (or possible at all) to re-block
        everything to 1...

        what i tried but couldn't (yet): build a decent piano-roll
        editor (vanilla).

        and i believe too, pd has to 'learn' better multithreading to run
        adequately on our future machines with hundreds or even thousands of
        arm-cores...

        _______________________________________________
        <a class="moz-txt-link-abbreviated" href="mailto:Pd-list@lists.iem.at">Pd-list@lists.iem.at</a> <a class="moz-txt-link-rfc2396E" href="mailto:Pd-list@lists.iem.at"><mailto:Pd-list@lists.iem.at></a> mailing list
        UNSUBSCRIBE and account-management ->
        <a class="moz-txt-link-freetext" href="http://lists.puredata.info/listinfo/pd-list">http://lists.puredata.info/listinfo/pd-list</a>



    _______________________________________________
    <a class="moz-txt-link-abbreviated" href="mailto:Pd-list@lists.iem.at">Pd-list@lists.iem.at</a> <a class="moz-txt-link-rfc2396E" href="mailto:Pd-list@lists.iem.at"><mailto:Pd-list@lists.iem.at></a> mailing list
    UNSUBSCRIBE and account-management ->
    <a class="moz-txt-link-freetext" href="http://lists.puredata.info/listinfo/pd-list">http://lists.puredata.info/listinfo/pd-list</a>




_______________________________________________
<a class="moz-txt-link-abbreviated" href="mailto:Pd-list@lists.iem.at">Pd-list@lists.iem.at</a> mailing list
UNSUBSCRIBE and account-management -> <a class="moz-txt-link-freetext" href="http://lists.puredata.info/listinfo/pd-list">http://lists.puredata.info/listinfo/pd-list</a>

</pre>
        </blockquote>
        <pre wrap="">

_______________________________________________
<a class="moz-txt-link-abbreviated" href="mailto:Pd-list@lists.iem.at">Pd-list@lists.iem.at</a> mailing list
UNSUBSCRIBE and account-management -> <a class="moz-txt-link-freetext" href="http://lists.puredata.info/listinfo/pd-list">http://lists.puredata.info/listinfo/pd-list</a>

</pre>
      </blockquote>
      <pre wrap="">
_______________________________________________
<a class="moz-txt-link-abbreviated" href="mailto:Pd-list@lists.iem.at">Pd-list@lists.iem.at</a> mailing list
UNSUBSCRIBE and account-management -> <a class="moz-txt-link-freetext" href="http://lists.puredata.info/listinfo/pd-list">http://lists.puredata.info/listinfo/pd-list</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>