Calculating Difference
Hi I'm new to max msp. However, I've gone through all the tutorials, and searched on maxobjects.com, but I'm still unsure if there is a max object that allows you to calculate the difference between the current value and the previous value. I looked at "delta" but this seems to only work for signals, rather than Ints or floats!
A
Adam,
A combination of [float ], [trigger ] and [- ] will see you right,
although it's left to you to work out how (this is foundational stuff).
There are objects out there that will do this, but this is the way to
learn (having every third-party object in existence won't do you any
good if you don't understand how to put them together).
--
Owen
Adam wrote:
> Hi I'm new to max msp. However, I've gone through all the tutorials,
> and searched on maxobjects.com, but I'm still unsure if there is a
> max object that allows you to calculate the difference between the
> current value and the previous value. I looked at "delta" but this
> seems to only work for signals, rather than Ints or floats!
On 3 Mar 2008, at 10:37, Adam wrote:
> However, I've gone through all the tutorials, and searched on
> maxobjects.com, but I'm still unsure if there is a max object that
> allows you to calculate the difference between the current value and
> the previous value.
Current value and previous value of ... what? If you're talking about
messages containing ints or floats (rather than signals) coming into
on the same patch cord, then it'll require a bit of DIY, but it can be
done with a pretty simple combination of [int] and [-]. There's stuff
like this in the tutorials.
-- N.
Nick Rothwell / Cassiel.com Limited
www.cassiel.com
www.myspace.com/cassieldotcom
www.last.fm/music/cassiel
www.reverbnation.com/cassiel
www.linkedin.com/in/cassiel
www.loadbang.net
You should really try to figure stuff like this out by yourself. It will teach you the ways you can use all the (basic) objects and make you a better Maxer allround.
But if you're short on time:
Quote: spondoo@hotmail.com wrote on Mon, 03 March 2008 02:37
----------------------------------------------------
> Hi I'm new to max msp. However, I've gone through all the tutorials, and searched on maxobjects.com, but I'm still unsure if there is a max object that allows you to calculate the difference between the current value and the previous value. I looked at "delta" but this seems to only work for signals, rather than Ints or floats!
----------------------------------------------------
Non-signal delta:
Worth looking inside the patch to see how it ticks.
mz