Dynamic editing a patch from outside max

JesterN's icon

Hi i always worked inside max with fixed patches, now i'm conceiving an installation in which i need to create number of objects depending on a external condition. For example there are 10 lights, then 10 synths, 20 lights 20 synths, etc.. max should receive this info from an external software in form of a list of frequencies and amplitudes for example in OSC or MIDI.
Any idea / tutorial i must read?
Alberto

Tj Shredder's icon

Have a look into poly~. It is made for things like that. one poly~ for the lights, one poly~ for the synth voices. You can easily switch on/off hundreds of voices if necessary...

Stefan