I'm trying to make a simple buffer-based lookup table using gen~, but there are two main issues making it difficult.
First, am I not supposed to be able to add and remove objects in a gen~ patcher while audio is turned on? I have crashed Max 6.0.4 half a dozen times in the past half hour just in the process of creating and removing blocks in a gen~ patcher. Max locks up and goes unresponsive.
Second, how do I refresh a buffer inside a gen~ patcher when the gen~ patcher is modified? It seems that once I edit a gen~ patcher, I need to close and reopen the parent patcher from scratch in order for the gen~ to reload the buffer contents from the parent. I say "seems" because I am not sure that's exactly what's happening. My lookup table will often start spitting out all zeros after I edit the gen~ patch and until I save and reload the entire patch from scratch. I am not making any changes to the buffer~ in the parent patch.
Here's the current patch, for a reference:
I'm on Win7 64, by the way.