Loading a session with features extracted from multiplexed inputs
Steps to reproduce:
- Start with a blank session
- Add at least two audio files
- Use a Vamp plugin (I used vamp-example-plugins:powerspectrum) to extract a feature, using "Multiplex of all of the above" as the input material"
- Save the session
- Open the session file
When the session recreates the features, it seems to take the first audio file as the input material.
#1 Updated by Chris Cannam over 4 years ago
Half of a fix is in 239e95ccdbfd, but I'm not going to do the other half yet.
This half ensures that the aggregate model is attached to the document (so it doesn't get leaked), gets deleted when its component models are deleted, and is saved out into the session file. It should make no difference to any session that doesn't use aggregate models.
The other half will be to re-read it when the document is loaded, but I'm too nervous to make that change at this point in the release cycle.