Forums > MaxMSP

Is it possible to have more than one arguement in the name of a value object?

Dec 11 2010 | 3:49 pm


Working on a Max4Live device that gets and stores all the IDs in a Live Set. Then sets up observers for all the functions.

I’ve got my naming system down and everything abstracted out. So I’ve got subpatches which use say a Device ID and set-up functions to you can call on the device. I’ve got 4 devices set up so one argument 0, one arguement 2, one arguement 3. Send, receive and value objects within the abstractions are then named things like (value —_#1_device_name). This works great at this level.

However, with devices you need to go down a further level as it were and put subpatches in for the parameters. So, what I’d like to have within the above mentioned device subpatch would be 8 copies of a parameter subpatch set with two arguements the first the device number, the second the parameter number. Value objects could then be named something like (value —_#1_#2_parameter_name).

This doesn’t seem to work though. I can’t seem to get a value, send or receive object to load up with more than one arguement in it’s name.

I’m I missing something obvious? Has anyone figured out any work arounds for such things?

Dec 12 2010 | 3:18 pm


Dec 13 2010 | 9:22 pm

some workaround like this might do the trick… that is if I understand the problem correctly. I don’t use M4L myself so I used #0 rather than "—":

-- Pasted Max Patch, click to expand. --

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

Forums > MaxMSP