waveform~ display crashing every time

phiol's icon

hi all

I've managed to isolate a section of a patch that makes max crashes on my computer every time.
I know I've written not long ago, of pattrstorage making max crash but this time it concerns the waveform display object.

I have no idea why it crashes. Maybe it would obvious to any of you?

Here is the isolated section.

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

Thanks to all

phil

Johnny's icon

Most likely some kind of feedback loop problem. I've no clear answer, but the basic process of your patch is
-
Bang
(Cat end) sent to (Dog start)
(Dog start) sent to (Cat end)
-
Max is trying to set an end value for cat with itself, over and over again. I don't think you can do it this way, whatever it is you want, and I don't believe it's anything to do with message order.

If I'm way off I blame lack of sleep, please don't tell my lecturers.

Sam Thursfield's icon

Try putting a 'change 0.1' object before the inlets you're connecting. This should break up the infinate loop you have going on.

phiol's icon

Hi ssam.

Wow your change 0.1 suggestion seems to have fixed it! For now anyways.

The point of my patch is to have 4 or 5 waveform filled with the same sample, displaying different parts of the same sample being read by a multislider.
So my goal is to load a Drum beat sample, and have the multislider randomly read different parts of the sample , constantly altering it's playback result.

Maybe , there 's a better to do this with using say 4 or 5 buffer~ groove~ objects . But that 's the way I figured it out for now .

thanks

phil