History

the patch doesn't crash here, but there are problems with how you are doing it.

If you want to use AudioGraph objects (the ones ending with ≈) you have to be aware that they can not be used interchangeable with MSP objects (the ones ending with ~). MSP has one way of passing signals between objects (compiling the audio chain when you turn audio on), while AudioGraph depends on a totally different system for how to communicate audio between objects.

So whenever you want to use MSP and AudioGraph objects, you'll need to use jcom.pack≈ to translate from MSP to AudioGraph and likewise jcom.unpack≈ to translate back from AudioGraph to MSP. In your patch you seem to try to connect AudioGraph and MSP objects without using jcom.pack≈ in-between.

I'm not sure why you want to use AudioGraph objects at all in this patch. If you want to expand the patch to support multichannel it will make sense. Likewise if you want to build an AudioUnit plugin with Plugtastic. But in the latter case Plugtastic is not quite ready for it yet, and you would have to do further work on your patch, as a Plugtastic patch would need to use AudioGraph and Graph objects only (that's the ones ending with #). Once we have Plugtastic working, I hope to get the time to add some tutorials on how to do this.

Below are two modified versions of the audio part of your patch, showing how you can do it. In this case I would expect the solution that is mixing AudioGraph and MSP objects to be much less efficient than the MSP only solution, and if you are just going to process mono signals in Max, I would suggest staying with MSP and not use AudioGraph.

I hope this help. I'll investigate a bit further to see if I can reproduce the crash, as it could hint at a problem if changing an MSP patch one object a time to become AudioGraph. If so, I'll log it as a new issue.