Forums > MaxMSP

maxlink processing sending integers to max patch

Mar 01 2010 | 12:48 pm


I am very new to Max MSP and I have opened the processing maxlink to max MSP example called "bouncer."

The example sends a choice of two words from processing to max to a "sel" object that has the two words after it that have two output ports to two different bangs that trigger a different sound effect for each word.

I have researched it but I can’t seem to send an integer from processing to for example increase or decrease a value in a max patch.

I have tried a +1 object attached to a flonum object that when banged increases the nubmer by 1 but this does not work and I am getting a "stack overflow" error.

The processing code sending the word is:

However, if I replace this with an integer or float number – what do I need in Max to bring this in to affect the patch.

Thank you

Mar 01 2010 | 1:47 pm

If you can get the word into Max OK, you can use [sel] to determine which it is. Then look to [incdec] to increase/decrease a number in Max, it’s better than trying to do it with a [+ 1] which can cause the stack overflow (endless loop somewhere).

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

Forums > MaxMSP