It seems that Max objects are generally not designed to handle "recursive calls", but the behavior can be simulated by using multiple instances of the object. Do you think that’s a serious limitation in practice?
– Pasted Max Patch, click to expand. –
Copy all of the following text. Then, in Max, select New From Clipboard.
The example above is just a simplification. My actual goal here is to generate a list of all devices on the track, including those in all chains, by traversing the track’s device hierarchy recursively. I don’t know the depth of the hierarchy beforehand.
Right now I’m trying to simulate using [zl stack], but having trouble. :(