Mercurial > hg > svapp
comparison framework/Document.cpp @ 57:eb596ef12041
* Factor out uses of "Sonic Visualiser" in "common" code to applicationName()
* Add ability to show work title + artist in top-left of pane (thinking of Vect
but may be useful in SV in future)
* A few other generalisations useful for Vect
author | Chris Cannam |
---|---|
date | Fri, 09 Nov 2007 17:46:58 +0000 |
parents | a798f5e6fc5e |
children | 621c2edd1693 |
comparison
equal
deleted
inserted
replaced
56:75ad3f8f65aa | 57:eb596ef12041 |
---|---|
735 | 735 |
736 TransformId id = "vamp:match-vamp-plugin:match:path"; | 736 TransformId id = "vamp:match-vamp-plugin:match:path"; |
737 | 737 |
738 ModelTransformerFactory *factory = ModelTransformerFactory::getInstance(); | 738 ModelTransformerFactory *factory = ModelTransformerFactory::getInstance(); |
739 | 739 |
740 PluginTransformer::ExecutionContext context = | |
741 factory->getDefaultContextForTransformer(id, aggregate); | |
742 // context.stepSize = context.blockSize/2; | |
743 | |
740 Model *transformOutput = factory->transform | 744 Model *transformOutput = factory->transform |
741 (id, aggregate, | 745 (id, aggregate, context, "<plugin param-serialise=\"1\"/>"); |
742 factory->getDefaultContextForTransformer(id, aggregate), | |
743 "<plugin param-serialise=\"1\"/>"); | |
744 | 746 |
745 SparseTimeValueModel *path = dynamic_cast<SparseTimeValueModel *> | 747 SparseTimeValueModel *path = dynamic_cast<SparseTimeValueModel *> |
746 (transformOutput); | 748 (transformOutput); |
747 | 749 |
748 if (!path) { | 750 if (!path) { |