yucongj / piano-precision

GNU General Public License v2.0
9 stars 1 forks source link

Handle plugin outputs that now lack values #39

Closed cannam closed 8 months ago

cannam commented 8 months ago

This change follows the aligner plugin update that removes the values from returned onset features. Those features now go into a time-instant layer rather than a time-value layer, and the host needs to be aware of this and to refer to the proper layer appropriately.

Note that the onsets are now displayed in a different colour from before - this is just the default behaviour of the time-instant layer. It can be changed in Session::setOnsetsLayerProperties with a call to onsetsLayer->setBaseColour - search the file for other references to setBaseColour to see examples if you would like to do this. I don't think we ever actually specified a colour for the previous time-value layer, I think that was also just the default (but with a different default in that layer).