I was wondering if there is a way to send statistical data into max from another program to control parameters. For example, is there a way to input data to create an equation as a stochastic control, in order to help choose pitch data, without physically typing in the data? In simpler terms is there support to send non-midi data into max?
You can send data via. OSC, I’ve been using Max with a Kinect recently, and as long as you know the port you are receiving the data from, you can use [udpreceive 8000] (8000 being the port number), and then use the route object to filter through messages.
you can also receive data from the serial port using the the [serial] object. I also developed a set of objects that will you let communicate with the world using UDP or TCP (the difference between these objects and the built-in ones is that they don’t use OSC). In a worst-case scenario (that is, if your data source can’t send data through the network or the serial port), you could save your data to a file in the disk (in a text-based format if possible) and then read that file from Max.