Nov 18, 2008 at 2:53pm
I cannot seem to get these elements to add, they just switch between the two numbers. Does my code look wonky?
– Pasted Max Patch, click to expand. –
Copy all of the following text.Then, in Max, select New From Clipboard.
Nov 18, 2008 at 3:49pm
From a cursory glance, it looks like the values coming into
Nov 18, 2008 at 4:09pm
Also make sure you are not sending floats to integer versions of objects. 0.5 gets rounded when sent to an integer object.
Nov 18, 2008 at 5:01pm
Thanks. Anything that could be a float is being multiplied to make it an integer.
The closest object I’ve found thats close to what I want to do is counter. My goal is that if the data received fits in any of the if/then statements, then a bang would fire that would add/subtract the amounts specified from the connected slider.
I’m thinking I might be able to achieved this with a counter/uzi combo. My only concern is subtracting values.
Nov 18, 2008 at 6:20pm
On Nov 18, 2008, at 9:01 AM, Nick Snyder wrote:
I would convert all the floating point math to integer math, for
> The closest object I’ve found thats close to what I want to do is
Do you realize that _all_ the if statements are going to fire when
As far as adding and subtracting amounts, I would use accum. It’s
Nov 19, 2008 at 5:49am
Nick Snyder schrieb:
It does not make much sense, I don’t know what you are after.
Why do you have 16 outlets and connect 12 of them to only 3 destinations?
Why don’t you use only 3 outlets instead?
Why don’t you just skip outlets 5 to 16, as they will be overwriten
all your if then else could be done much easier with for example:
[if $i1 == 0 then $i1 else 0] replace with [t -1 1 0 1] and connect
the others I’d do with split and a [t 0]
The last patcher gives a hint that you want to analyse audio. the adc~
It seems you don’t know much about the nature of audio, connect a print
Indeed, very wonky…
You must be logged in to reply to this topic.