MAX 9: [gen.codebox~] buffer issue

Michael Reichmann's icon

Reading from a buffer in [gen.codebox~] dosen't work when using the attribute “index = ‘phase’”:
“dsp.gen: [string "-- main2.lua..."]:697: failed to compile genpatcher”

The same code inside of [codebox] within a regular [gen~] works just fine.

When clicking on “Edit” in the action menu of the [gen.codebox~] the [gen~] object inside is revealed, showing that the ‘phase’ attribute is not presented as a string.

Max Patch
Copy patch and select New From Clipboard in Max.

Michael Reichmann's icon

Same problem in [jit.gl.pix.codebox] when using “boundmode = ‘clamp’”.

Joshua Kit Clayton's icon

Thanks for the report. This is will be fixed in 9.0.1