<div dir="ltr">> <span style="font-size:12.8000001907349px">the object you describe sounds to me identical to [maxlib/scale]</span><div><span style="font-size:12.8000001907349px"><br></span></div><div><span style="font-size:12.8000001907349px">it almost is, but in maxlib you just turn the mapping to log on or off, in max you specify a log parameter.</span></div><div><span style="font-size:12.8000001907349px"><br></span></div><div><span style="font-size:12.8000001907349px">I did share a patch in text and attached. Not sure if everyone gets the attachment so I sent the text file as well, but here's the attached file to you again, and I'm also sharing a downloadable link</span></div><div><span style="font-size:12.8000001907349px"><br></span></div><div><span style="font-size:12.8000001907349px"><a href="https://drive.google.com/file/d/0B3AoiT0xk8fnRGphNTlTdFNxQ2c/view?usp=sharing">https://drive.google.com/file/d/0B3AoiT0xk8fnRGphNTlTdFNxQ2c/view?usp=sharing</a></span><br></div><div><span style="font-size:12.8000001907349px"><br></span></div><div><span style="font-size:12.8000001907349px">by the way, I'm pretty sure I'm not doing anything wrong, and the given equation in Max just seems to be wrong</span></div><div><span style="font-size:12.8000001907349px"><br></span></div><div><span style="font-size:12.8000001907349px">cheers</span></div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-06-19 19:53 GMT-03:00 Gilberto Agostinho via Pd-list <span dir="ltr"><<a href="mailto:pd-list@lists.iem.at" target="_blank">pd-list@lists.iem.at</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Alexandre,<span class=""><br>
<br>
On 20/06/15 00:39, <a href="mailto:pd-list-request@lists.iem.at" target="_blank">pd-list-request@lists.iem.at</a> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Here's my patch with that formula into expr. The output with the parameters<br>
I have should be -0.997347 - as that's the output I get in Max. But<br>
instead, it's giving -0.994694...<br>
</blockquote>
<br></span>
Would you care to share your parameters so we can test your abstraction?<br>
<br>
Also, I haven't been reading this list very attentively lately (busy days, you know) so I may have lost quite a lot of discussions lately, but the object you describe sounds to me identical to [maxlib/scale], which takes 5 arguments: input low, input high, output low, output high, coefficient (linear or log).<br>
<br>
Cheers,<br>
Gilberto<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="http://lists.puredata.info/listinfo/pd-list" rel="noreferrer" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
</blockquote></div><br></div>