Scheduling Errors in Max for Live

    Sep 22 2022 | 11:14 am
    Hey, I'm trying to understand a patch that I found which fires clips in live. It detects if a clip is already present, and if so plays it. If it isn't it will launch a new one. This seems to work only intermittently, with there being scheduling errors that create some kind of feedback loop. I looked over an article from about 10 years ago explaining how to fix it, but I found that regardless of the defer/deferlows and delays I put in I can't prevent it. If I remove all the connections and manually send the data around the patch it removes most of the errors, but there are a few that are still present, which are preventing me from operating it properly. Can anyone help me out?

    • Sep 22 2022 | 2:40 pm
      have you tried putting a breakpoint and using the the step debugger? without seeing the actual patch it’s hard to say anything meaningful
    • Sep 23 2022 | 9:45 am
      what you describe can work only once, because as soon as 1 clip is detected, the whole aparatus makes no sense any more. So why not simply loadbang new clip and play it ?