logarithmic scale

Dec 7, 2010 at 3:18pm

logarithmic scale

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. : )

#53769
Dec 7, 2010 at 3:30pm

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

#193409
Dec 7, 2010 at 4:16pm

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

#193410
Dec 7, 2010 at 4:29pm

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

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

#193411
Dec 7, 2010 at 5:24pm

Hi teqy,

Here’s an abstraction that you may find helpful.

best,
Zachary

Attachments:
  1. z.scale.zip
#193412
Dec 14, 2010 at 3:03pm

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

#193413
Jan 17, 2011 at 5:35pm

about time that scale object got patched. tanx alot!

#193414
Jan 17, 2011 at 7:36pm

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

#193415
Jun 13, 2013 at 8:44pm

Thank you Zachary for the abstractions!

#252708
Jun 14, 2013 at 1:23am

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

#252720
Feb 9, 2014 at 7:57am

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

#280481

You must be logged in to reply to this topic.