Input @default Bug ? (or I am missing something?)

bruno's icon

Hi,

inside a GEN patch I create a GEN subpatch. The input number two of this subpatch has assigned the parameter "@default" , in this way :

"in 2 @default 22" , as you can see in the attached .maxpatch file.

In the output , the value of "22" is not considered at all.

The input 2 is unconnected and should have a value of "22", but it has a value of "0".

So the @default parameter does not work for inputs?

THIS BEHAVIOUR HAPPEN IN BOTH "realtime use" (inside max/gen) AND ALSO in the exported c++ file.

in_default_bug.maxpat
Max Patch