Live Control in CataRT (MuBu) Not Working

David Landon's icon

Has anyone had success using Live Control in CataRT?

I'm starting with the tutorial patch "catart-mubu-tutorial 3 live control.maxpat", but even there it doesn't seem to trigger anything. What I get is the same grain repeated at onsets or chop, depending on the segmentation method I have selected.

What I've looked into thus far:
1) The difference in output between triggering a grain in MuBu.Knn via the imubu scatterplot or from the output of "p target-analysis", which comes from a pipo desc:onseg/chop. from imubu, only the XY coordinates are sent prepended with a select message. From pipo, there's a list of 19 floats. I ran a cycle~ object through the real-time analysis and also recorded a snippet of it and ran that through the non-real-time analysis, and I could only find 1 number that corresponded to the outputs, so not sure where to go from there.

2) Range, it looks like there is a scaling function in mubu.knn, and I am wondering if this might be part of the problem. It defaults to off. I've tried setting it to minmax and meanstdev, but it doesn't seem to help. I am wondering if I need to trigger this at a particular point in time, though.

3) Messing with the random selection functions. If I open the radius and k values for mubu.knn, I can get a number of grains to playback, but they do not correlate to the target sounds, since they are randomly selected. This reinforces my belief that either the data being sent from p target-analysis isn't formatted properly for mubu.knn or is out of range.

Any help on this is appreciated!

Thanks,
David

David Landon's icon

Figured it out. Pipo~ was outputting StdDev data along with the descriptors. Filtered it out, and everything works fine now. And for what it's worth, this is now fixed on the Git repository, so download from there and there's no need to filter out the StdDev data.