[Bug] mtr - bindto on patch startup causes problems

    MaxMSPbugs/issues

    Martin Beck's icon
    Martin Beck's icon
    Martin Beck
    Oct 31 2020 | 10:04 am
    If I load the attached patch the [mtr] seems to have correct binding to the sliders s1 s2 s3, but I am unable to record anything. "bindto" is called via [loadbang]. If you remove the [loadbang] save and load the patch again and perform binding by hand (click the message box with the target scripting names) after patch has loaded it works as expected. Max 8.1.8 Mac MacOS Catalina
    mtr_loadmess_problems.maxpat
    maxpat 14.41 KB
    1) Save patch. 2) Close patch. 3) Load patch and try to record a slider movement.
    Edit: There seem to be some more problems with other patches containing autopattr and pattrstorage , where even the workaround doesn't help.

    • Jean-Francois Charles's icon
      Jean-Francois Charles's icon
      Jean-Francois Charles
      Nov 01 2020 | 2:30 pm
      Indeed, there is a bug here. A delay after the loadbang can serve as a quick fix, but the terrible thing is that with your original patch, things not only don't bind at loadbang, but also don't bind at all even if you give again the bindto messages later!
      Share
    • Martin Beck's icon
      Martin Beck's icon
      Martin Beck
      Nov 01 2020 | 3:41 pm
      don't bind at all even if you give again the bindto messages later!
      Yes, exactly. The only thing to get it working in this state is create a new mtr or change the track count.