Max: Procesing buffer~ with MSP objects (hacking)

It’s also in the MaxAPI doc about newobject_sprintf … Anyway

  • you’ll need to start thinking about multiple inputs and outputs.
  • as you don’t care where the objects are in the patch newobject_fromboxtext might be easier than newobject_sprintf
  • as far as I’m aware there’s no way to make an object in a patch (or about any of box attributes) with typed arguments, and reconverting to text is not nice. The wrapper for framelib demos how to grab the text of your object box (which you’d then need to remove the attributes from and the first bit) - that’s probably the nastiest part of this task.
  • Also gets more complex if your hosted object takes attributes…