delta or diff object?

Jan 12, 2012 at 10:05pm

delta or diff object?

Sort of new to the world of max.

Is there an object that will output the difference between the incoming value on this bang and the last bang?

ie: value@lastbang – value@thisbang

I know I can make it with a couple of objects, just wondering if there is a single object that does it?

Other objects related to derivatives as such?

velocity, acceleration, etc.

Jan 13, 2012 at 12:25am

there should be, but I don’t think there is. if you go to and search for ‘delta’ there’s plenty to choose from…

Jan 13, 2012 at 12:46am


Jan 13, 2012 at 1:36am

Here’s a super-simple (but totally usable) one for ints.

– Pasted Max Patch, click to expand. –
Jan 13, 2012 at 2:08am

Very cool.
What does # indicate?

Jan 13, 2012 at 8:57am

[t f f]
[!- 0.]

something like that should also “delta”

Jan 13, 2012 at 3:13pm


See Arguments and Special Characters in Max, the section on “Using the pound sign (#) in objects and message box objects”.

See also, Max Basic Tutorial 15: Abstractions, the section titled “Using an abstraction with replaceable arguments”.


You must be logged in to reply to this topic.