< Back to IRCAM Forum

Imubu text cells and other types and resizing in Matrix view

Dear list,

A few questions about the use of imubu in matrix view.

I have seen that it is possible to resize columns in the summary tutorial (view 1 columnsizes etcetera). That does not happen automatically though. Is there another setting involved as well? I could not find it yet. And I also see that rowsizes is not a viable property.

Is it possible to have columns with other types than floats? I see that filepath and such can be automatically filled in their own syntax but I don’t see how to do such manually. Lists for example (that I want to view in the editor not hidden in a matrix) or other texts (with more words) than label. According to the helpfile of mubu that is not possible but I am confused because of what I see in the iMubu helpfile with filepaths, filenames and such.

This would be easy in ftm.editor when using [mat] although that seems to miss the opportunity to resize individual columns and rows from outside the editor (or I miss that) and/or does not keep its configuration upon saving.

Jit.cellmatrix can do all of the above as well, but has a horrible way of inputting and outputting the data. It is more or less peeking and poking individual cells.

Best, Hans.

Hi Hans,

Summary and Matrix are two different editors, but they have common properties. Like the size of columns and rows. I see that there is indeed a bug in manually resizing columns in Matrix, while it works in Summary. It will be fixed in the next release. But I don’t understand when you say that though does not happen automatically. Can you clarify this?

Regarding the types of data in the Matrix editor, it must be said that the Matrix reflects the contents of a track, and the track has float data, eccepted extradata which are symbols, and the info table which can contains key/value pairs of different types.

Matrix and Summary are different editors and Summary does not show the content of the track but its global status. So no, in Matrix you cannot put data other than float, labels and key/value pairs.

Mat of FTM was a matrix of atoms, which does not exist in Mubu. By now FTM is no longer supported and so these resize options are absent from the latest version.

Best,
Riccardo

Thanks for the quick reply.

What you answered is what I was looking for. I wasn’t aware that there were two separate representations ‘summary’ and ‘matrix’ but now that I know it is completely clear what summary does. I never used it before, so I wasn’t aware I was not looking at matrix until now. So I guess resizing column sizes in the matrix presentation will be available in the next release? And that is also possible through messages?

What would your advise be for a resizeable (with messages) editable table representation in MAX capable of accepting diverse data types that exports in a logical way?

Best, Hans.

The resizing of columns and rows is already partly available in Matrix (by mouse interaction and messages), but it needs to be finalised and cleaned up. I will try to do this for the next release.

I think jit.cellblock fits your needs in its own way. It displays various types of data, can be resized by message, exports and imports text files. It lacks mouse interaction for resize, and different sizes for each column, but otherwise it seems to be an acceptable solution.

best

Thanks.

The big problem with cell-block, is that it is not a data structure. You can couple it with a coll but then it will see the different rows of the cellblock as a single list and won’t notice empty cells or lists that should go in one cell. So you don’t actually know positions.
As said, it only works when you treat each cell individually.
Sort of frustrating that all the features I want are present in ftm.editor, imubu and cellblock but none of those has all of them represented…
I probably go for an imubu and bach.score combination for representation in the score and use ftm.editor for editing purposes only. I only seem to miss marker thickness in imubu (like you have with cursor) for implementing that idea.
Do you know whether the latest SDK and source code of FTM can be found somewhere on the WEB or should I ask somebody else, Diemo perhaps?

Thanks in advance.

Best, Hans.

ok, now I understand. I can try to recompile ftm.editor with the latest interface version (the interface sources are the same for mubu and ftm.editor). But the last compilation was years ago, so it probably won’t be easy. I’ll let you know.

Hi Hans, FTM is living happily in its retirement home at FTM | Ircam Forum. I still use it without issues on an M3 MBP. Maybe it is not the version with the user-settable column width, though.

The ftm core is open source at FTM / Code / [r3805] /trunk, but the editor isn’t, for the moment.

Hi Hans,

I just put on the forum site a new release of FTM that contains the resize features of matrix columns/rows. You can find it here : FTM | Ircam Forum

Tell me if it works for you,

Best