Weighted averages for spectral descriptors

That would definitely be useful in terms of general buffery/wuffery stuff, but it would be great to have some kind of native way to weigh spectral stats via loudness as there are often “secret sauce” things that can make a difference for matching (like you pointed out in the other thread with regards to @tutschku experiments with MFCCs and Orchidea)

(I was trying to brainstorm a @weightings feature request thread in the shower, but it would be quite brittle as an attribute since it wouldn’t work without the same amount of frames across both analyses, and making sure to point them to the descriptor you want to use for weighting (generally loudness I suppose), and then what you want to apply it to. I guess the convention could be that it’s up to you to make sure you’ve pre-fluid.bufcompose~'d anything you want to do this to, if you don’t want to apply it across the board, but it isn’t so clean cut since loudness and spectralshape are completely independent processes.)