enable $1 inside [poly~]

Dg's icon

Hello,

I can't get the enable message to [jit.gl.videoplane] nor gridshape working inside [poly~].
The other messages like position or poly_mode work fine.

Any idea?

below the two patches.

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

2.93 Ghz intel core 2 duo
4 Go 1067 Mhz DDR3
NVIDIA GeForce 9400M
NVIDIA GeForce 9600M GT
OSX 10.5.8
Max 5.1.0

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

____________save as "simple_test.maxpat"____________

Rob Ramirez's icon

i've noticed this before. not sure why that is, but easiest solution is to choose a different message to mean enable, and use [substitute newmessage enable] inside the poly abstraction.

AlexHarker's icon

You can't send messages directly into a poly~ which have some meaning for the poly~ object. As the poly~ object responds to the enable message the poly~ receives the message, not the in object inside it.

The solution is either to do as robtherich suggests, or to prepend a symbol to the front of the message like passmessage (or whatever you like), and then use a route inside the object to remove this symbol.

The same goes for any of the messages that poly~ would responds to.

Hope this clarifies,

Alex

Dg's icon

Ok Alex, thanks.
But I do not see any "enable" message available for [poly~], so there is a bug somewhere.

Emmanuel Jourdan's icon

enable is a generic message for dsp objects. It's the old way for disabling the audio process done in an object. So you can't receive the enable message in the poly~, using Robert's trick is the way to go.