differences between sampleframes (in perform64 routine) and maxvectorsize (in dsp64 method)

    Apr 03 2020 | 9:42 am
    Dear all, I'm developing a Max external based on C++ code, in which I need to define the block size in a reliable way. The argument sampleframes (in perform64 routine) allows that, but it means transmitting the block size for every frame. On the other hand, the argument maxvectorsize (in dsp64 method), which is fired only once each time the DSP chain is being reconfigured/switched on, seem to provide the same information.
    So my question: is there a case for which sampleframes (in perform64 routine) differs from maxvectorsize (in dsp64 method)? If not, is there a known drawback in using the latter instead of the former? All the best, Alexis

    • Apr 08 2020 | 6:49 pm
      Good question!
      In theory we could add a feature somewhere in the future which would result in the vector size not being equal to the maxvectorsize. In practice they are always, and have always been, the same. Even the introduction of MC didn't change that.
    • Apr 09 2020 | 6:41 am
      Hi Tim, thanks for the answer, it's clear. Best