<div dir="ltr"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span style="font-size:13px">I don't understand how this will report a wrong value. If you start Pd and turn the DSP on, then [f ] will hold 1, right? If you bang it, it will output 1, which is the DSP state. And if you turn the DSP off, it will hold 0. How is that wrong? </span></blockquote><div><br></div>If the abstraction/patch is instantiated <i>after</i> DSP has been turned on then the [f ] object (within the respective abstraction) will not hold the correct value as it never received a change. I think this is case with respect to Katja's original problem when opening help patches.</div><div class="gmail_extra"><br><div class="gmail_quote">On 12 January 2015 at 15:28, Alexandros Drymonitis <span dir="ltr"><<a href="mailto:adrcki@gmail.com" target="_blank">adrcki@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Mon, Jan 12, 2015 at 5:11 PM, IOhannes m zmölnig <span dir="ltr"><<a href="mailto:zmoelnig@iem.at" target="_blank">zmoelnig@iem.at</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>On 01/12/2015 09:49 AM, Alexandros Drymonitis wrote:<br>
> Why not store what [r pd] -> [route dsp] outputs to [f ]'s right inlet, and<br>
> bang the left inlet whenever you want to know the dsp state?<br>
<br>
</span>maybe because it reports the wrong value if you:<br>
- start Pd<br>
- turn DSP on<br>
- query your [dspstate] abstraction (that implements your suggestion)<br></blockquote></div></div><div>I don't understand how this will report a wrong value. If you start Pd and turn the DSP on, then [f ] will hold 1, right? If you bang it, it will output 1, which is the DSP state. And if you turn the DSP off, it will hold 0. How is that wrong? <br></div></div></div></div>
<br>_______________________________________________<br>
<a href="mailto:Pd-list@lists.iem.at">Pd-list@lists.iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -> <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Follow me on Twitter @diplojocus</div>
</div>