maxlink processing sending integers to max patch
Hi,
I am very new to Max MSP and I have opened the processing maxlink to max MSP example called "bouncer."
http://jklabs.net/maxlink/
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:
link.output("bing");
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
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).