Add dataset name to "naked" fluid.dataset~ printing

First, I want to say I love, love, love this feature! I don’t know when it was added but I sent a print message to a fluid.dataset~ at some point, and saw the contents magically appear in the Max console without having to add route print + print after each dataset (a tedious bit of boilerplate you need everywhere).

What would be even more useful is if it printed the name of the dataset that it came from in the console.

At the moment it spits out this:

fluid.dataset~: 
rows: 11 cols: 4
0    0.35729   0.11369   0.20538   0.50474
1    0.35729   0.11369   0.20538   0.50474
2    0.35729   0.11369   0.20538   0.50474
       ...
8    0.35729   0.11369   0.20538   0.50474
9    0.17197  0.073924  0.099596    0.2532
10   0.036456  0.010909  0.024783  0.051344

So thinking something like named print objects, but it would just take whatever the name of the dataset is in the first place.

Something like this:

fluid.dataset~: #0loudness_dataset_name_256
rows: 11 cols: 4
0    0.35729   0.11369   0.20538   0.50474
1    0.35729   0.11369   0.20538   0.50474
2    0.35729   0.11369   0.20538   0.50474
       ...
8    0.35729   0.11369   0.20538   0.50474
9    0.17197  0.073924  0.099596    0.2532
10   0.036456  0.010909  0.024783  0.051344

that is a good idea indeed, although you should know where it comes from :slight_smile: I’ll add it to the pile

1 Like