Sending data From Max to Processing using MaxLink

    Apr 27 2014 | 1:36 pm
    Hi guys,
    I am at a bit of a loss as to how to send a float from processing to max, i have read the various but limited instructions that i have found online but have not offered much help.
    I have built an EEG from Instructables, and it came with a processing sketch which separates the data into the different brainwave categories (alpha, beta etc...). All i want to do is be able to send the data of these six bands into six different flonums in Max so i can process them. Does anyone have any ideas?
    I assume it will be to enter "link.declareInlet("xPosition");" in the part of the code where it says "//Draw un-averaged frequency bands of signal."
    But i am new to processing and fairly new to Max and cant work out where i would put it and how i would get Max to recognise it using Maxlink.
    I know im probably asking a lot, but i will be grateful for any type of feedback.