Group Admins

  • Profile picture of Norbert Schnell

Group Mods

  • Profile picture of Frederic Bevilacqua
  • Profile picture of schwarz
  • Profile picture of borghesi

MuBu for Max

Public Group active 1 week, 1 day ago

MuBu for Max user group.

Column write/add operations on track matrices

Author 2 Subscribed Users |
Profile photo of Kai Yves Linden
kyl

Is it possible
a. to add (append) a column to the matrix of a track?
b. to copy a column from a track matrix to another?
c. combine two tracks by integrating all columns of their matrices in a new track (matrix)?

Combine is meant here as a set operation which doesn’t change cell values (as distinguished from the merge and join messages which create new cell values). I’d like to have a mubu.knn use information from different tracks, e.g. the result of an onseg process and the result of a descriptor analysis, mapped to the segments of the first. (Admittedly, that’s just an idea.)

I didn’t find any indication for either a, b, or c in the documentation (help patches, reference). Does this mean that I overlooked it or that any of these possibilities do not exist?

Happy new year to all!

January 5, 2018 at 15:33 #24761
Profile photo of Kai Yves Linden
kyl

As there are no replies to my question: Is it thus not possible to add a column to a MuBu track matrix or to change an existing one?

January 12, 2018 at 18:50 #24826
Profile photo of schwarz
schwarz

Hi Kyl, did you see the matrixcols` message to mubu.track?
In an anaysls context, pipo.const does add a named column, too.
For combining data from different tracks, either the loopback function of mubu.process, or manual iteration would do it.
HTH

January 13, 2018 at 11:20 #24831
Profile photo of Kai Yves Linden
kyl

Great! These hints help a lot. It seems the information is all there, in the help and tutorial patches, it’s only sometimes difficult to find it. Now I had the idea to search the files with grep on the command line, which is possible because Max patcher files actually are text files.

e.g.
$ find ./MuBuForMax -type f -exec grep -l "matrixcols" {} \;
finds a lot of files, among these MuBu-howto-data-access.maxpat (with the 3-adding-data-with-mubu.record sub-patch)

Diemo, many thanks

January 14, 2018 at 15:15 #24832

You must be logged in to reply to this topic.

Log in now