Forums > MaxMSP

Max crashes when I start my patch

May 10, 2011 | 11:49 am

I’ve spent a long time building my first patch and trying to condense it using sub patches to make it a little tidier, but now it crashes MAX whenever I turn it on using the toggle. I’ve included a copy of the patch and would appreciate any help you can offer.

Cheers,

Rob

Attachments:
  1. A2final.maxpat

May 10, 2011 | 11:56 am

Stack overflow here -> which appears to result from the rightmost p timesig from what max indicates…


May 10, 2011 | 12:21 pm

Ok, thanks. Any ideas how I fix it? As I said, this is my first patch so I’m still learning as I go.


May 10, 2011 | 12:37 pm

I don’t have time to track down the patch thouroughly at this time, but removing the patchcord from the 3rd inlet of p timesig (the right hand one) to the counter "reset counter to number immediately" input seems to stop this happening. Ata guess: You may need to revise some of the logic connected to the "if $i1==0 then 0 else -1" which may help avoid the issue..


May 10, 2011 | 12:45 pm

Great cheers, I’ll have a look. Feel free to have a play with it when you have time though ;-)


Viewing 5 posts - 1 through 5 (of 5 total)