<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Em qui., 1 de jun. de 2023 às 06:49, Peter P. <<a href="mailto:peterparker@fastmail.com">peterparker@fastmail.com</a>> escreveu:</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Thanks Cyrille, that's a good hint! I think it should in fact be<br>
[expr~ atan2($v2, $v1)] to work with signal vectors blockwise.<br></blockquote><div><br></div><div>yup, and that's what [else/car2pol~] does, which I had referred to before as a vanilla solution. </div><div> </div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Now I am wondering if I should/need to unwrap the phases still...<br></blockquote><div><br></div><div>depends on what you're doing and how you are converting things back to cartesian form (else/pol2car~ is vanilla and doesn't need wrapping). you could use wrap~ and just convert to the range from 0-1 in the input and then resize back on the output.</div><div><br></div><div>cheers</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
cheersz, P<br>
<br>
<br>
<br>
_______________________________________________<br>
<a href="mailto:Pd-list@lists.iem.at" target="_blank">Pd-list@lists.iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -> <a href="https://lists.puredata.info/listinfo/pd-list" rel="noreferrer" target="_blank">https://lists.puredata.info/listinfo/pd-list</a><br>
</blockquote></div></div>