changeset 321:89208e8af8cc

Load only pYin
author Lucas Thompson <dev@lucas.im>
date Tue, 16 May 2017 00:28:27 +0100
parents a16d968d646e
children 38886ce7e2e5
files src/app/feature-extraction-menu/feature-extraction-menu.component.ts src/app/services/feature-extraction/FeatureExtractionWorker.ts
diffstat 2 files changed, 6 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/src/app/feature-extraction-menu/feature-extraction-menu.component.ts	Mon May 15 23:52:23 2017 +0100
+++ b/src/app/feature-extraction-menu/feature-extraction-menu.component.ts	Tue May 16 00:28:27 2017 +0100
@@ -82,7 +82,7 @@
   ngOnInit() {
     this.piperService.list().then(this.populateExtractors).then(() => {
       this.piperService.load('pyin');
-      this.piperService.load('nnls-chroma');
+      // this.piperService.load('nnls-chroma');
     });
     this.librariesUpdatedSubscription =
       this.piperService.librariesUpdated$.subscribe(this.populateExtractors);
--- a/src/app/services/feature-extraction/FeatureExtractionWorker.ts	Mon May 15 23:52:23 2017 +0100
+++ b/src/app/services/feature-extraction/FeatureExtractionWorker.ts	Tue May 16 00:28:27 2017 +0100
@@ -37,10 +37,10 @@
 
   constructor() {
     this.services = new Map<LibraryKey, PiperStreamingService>();
-    this.services.set(
-      'vamp-example-plugins',
-      new PiperStreamingService(new PiperVampService(VampExamplePlugins()))
-    );
+    // this.services.set(
+    //   'vamp-example-plugins',
+    //   new PiperStreamingService(new PiperVampService(VampExamplePlugins()))
+    // );
   }
 
   addService(key: LibraryKey, service: PiperStreamingService): void {
@@ -112,7 +112,7 @@
               private requireJs: RequireJs) {
     this.workerScope = workerScope;
     this.remoteLibraries = new Map<LibraryKey, LibraryUri>([
-      ['nnls-chroma', 'assets/extractors/NNLSChroma.js'],
+      // ['nnls-chroma', 'assets/extractors/NNLSChroma.js'],
       ['pyin', 'assets/extractors/PYin.umd.js'],
     ]);
     this.service = new ThrottledReducingAggregateService();