How can I set initial parameters in a patch created via a Bpatcher (like in Pure Data)?

leonardo amico's icon

Hi all,

I'm a PD user moving to Max.

In PD abstractions, I can use "graph on parent" to show UI elements defined in the abstraction patch. When I do so, I can still pass initial parameters to the abstraction (like in the image 0.002, 0.005, 41) that will be used in the abstraction instance (using $1, $2..)

In Max, I can also pass initial parameters to the abstraction. (read in the abstration instance with #1, #2...). But if I use a bpatcher for that abstraction for instance by typing [bpatcher midinotemgr 0.002 0.005 41]. The parameters 0.002, 0.005, 41 don't get passed to the instance.

How can I set initial parameters in a patch created via a Bpatcher (like in Pure Data)?

Pure Data "graph on parent" with initial parameters

11OLSEN's icon

[bpatcher midinotemgr @args 0.002 0.005 41] and access with #1, #2, ...

leonardo amico's icon

Great! Thanks 🙏

Roman Thilenius's icon


or set the patcher arguments in object inspector (as if it would be arguments to the object)

leonardo amico's icon