the object you describe sounds to me identical to [maxlib/scale]
it almost is, but in maxlib you just turn the mapping to log on or off, in max you specify a log parameter.
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
https://drive.google.com/file/d/0B3AoiT0xk8fnRGphNTlTdFNxQ2c/view?usp=sharin...
by the way, I'm pretty sure I'm not doing anything wrong, and the given equation in Max just seems to be wrong
cheers
2015-06-19 19:53 GMT-03:00 Gilberto Agostinho via Pd-list < pd-list@lists.iem.at>:
Hi Alexandre,
On 20/06/15 00:39, pd-list-request@lists.iem.at wrote:
Here's my patch with that formula into expr. The output with the parameters I have should be -0.997347 - as that's the output I get in Max. But instead, it's giving -0.994694...
Would you care to share your parameters so we can test your abstraction?
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).
Cheers, Gilberto
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list