Forums > MaxMSP

logarithmic scale

December 7, 2010 | 3:18 pm

hello : )

I have used the ‘scale’ object before which is great, but I wonder if there is a logarithmic scale object under another name i have missed that has preset response curves or a curve that can be plotted on a graph by the user allowing for a scale result that is not so linear.

The other alternative I see is to make lots of individual splits and scale objects to create a logarithmic result, but I was hoping for a more efficient and tidy solution.perhaps someone has done something like this before?

thanks for any help. : )


December 7, 2010 | 3:30 pm

Hello teqy,

the [scale] object, can use an exponential base to have a more "curved" effect other than a linear output! may you could use it for what you want!

Nickolas


December 7, 2010 | 4:16 pm

There are a few Max objects that will ‘do’ log maths, the simplest being [scale], [pow] and [expr]:

– Pasted Max Patch, click to expand. –

Brendan


December 7, 2010 | 4:29 pm

[expr] also has log10 and log (natural log).

If you want to draw your mapping by hand you can use [table].


December 7, 2010 | 5:24 pm

Hi teqy,

Here’s an abstraction that you may find helpful.

best,
Zachary

Attachments:
  1. z.scale.zip


srs
December 14, 2010 | 3:03 pm

Zachary – this object is great. Thanks for sharing..



dtr
January 17, 2011 | 5:35 pm

about time that scale object got patched. tanx alot!


January 17, 2011 | 7:36 pm

Thanks srs and dtr. Glad you like it. I have a similar version of zmap, and other abstractions here: http://www.zacharyseldess.com/z.abstractions.html

best,
Zachary


June 13, 2013 | 8:44 pm

Thank you Zachary for the abstractions!


June 14, 2013 | 1:23 am

FYI, there is a thread that has been started a while ago with the intention of summmarizing simple mapping methods that maxers know about: http://cycling74.com/forums/topic/re-mapping-a-range-of-numbers-add-your-tricks-here

Cheers,
Ádám


February 9, 2014 | 7:57 am

Thank you Zachary, just what I needed! A newbie question: are these objects written in C?


Viewing 11 posts - 1 through 11 (of 11 total)