<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>
      <blockquote type="cite">
        <pre class="moz-quote-pre" wrap="">about the bug with [bang~]
only working after creation when the dsp graph is rebuilt</pre>
      </blockquote>
      Yes, it's quite a long-standing bug and I agree this should be
      fixed. The problem is that Pd only updates the DSP graph when you
      connect the signal inlet/outlet of a DSP object, not when you
      create it. You can also observe this bug with [env~], for example:
      create a new [env~] object and connect the message outlet to a
      [print] - it won't print anything because no signal inlet/outlet
      was involved. Now toggle DSP and it will start printing.</p>
    <p>This could be fixed easily inside "<span style=" color:#000000;">canvas_obj()".
        I might do a PR.</span></p>
    <p><span style=" color:#000000;">Christof<br>
      </span></p>
    <div class="moz-cite-prefix">On 18.02.2020 23:53, Peter P. wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:20200218225353.a4hlzpj7zyv2bfkl@fastmail.com">
      <pre class="moz-quote-pre" wrap="">* IOhannes m zmölnig <a class="moz-txt-link-rfc2396E" href="mailto:zmoelnig@iem.at"><zmoelnig@iem.at></a> [2020-02-18 23:28]:
</pre>
      <blockquote type="cite">
        <pre class="moz-quote-pre" wrap="">On 2/18/20 10:21 PM, ffdd cchh wrote:
</pre>
        <blockquote type="cite">
          <pre class="moz-quote-pre" wrap="">The bug/feature with [r pd-dsp-started] is that you'll get a bang
every time you save the patch, 
</pre>
        </blockquote>
        <pre class="moz-quote-pre" wrap="">

it's neither a bug nor a feature.
the DSP-graph is re-built when the patch is saved, and so the
"pd-dsp-started" is emitted.

</pre>
        <blockquote type="cite">
          <pre class="moz-quote-pre" wrap="">so it's not very useful while patching
</pre>
        </blockquote>
        <pre class="moz-quote-pre" wrap="">
how so?

(a [metro] will also send bangs while patching, and yet it is useful in
live-coding contexts.)
</pre>
      </blockquote>
      <pre class="moz-quote-pre" wrap="">After a moment of thinking about this, and about the bug with [bang~]
only working after creation when the dsp graph is rebuilt, I must admit
I do find it awkward that certain things in a pd dsp graph only work after
explicitely forcing the dsp grap to be rebuilt by saving the patch.
After all, would anyone be happy with a message object that only works
correctly after having saved a patch? There might be implementations
details I am ignorant of, which prevent other behavior, but as a Pd user
this usefulness does come to certain minds.

looking up for further discussion, 
P



_______________________________________________
<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="https://lists.puredata.info/listinfo/pd-list">https://lists.puredata.info/listinfo/pd-list</a>
</pre>
    </blockquote>
  </body>
</html>