# HG changeset patch # User Lucas Thompson # Date 1494890907 -3600 # Node ID 89208e8af8cc9c5283aae72fea5a4ad2e165f905 # Parent a16d968d646ebbf690ac1bf691624dc896d398ee Load only pYin diff -r a16d968d646e -r 89208e8af8cc src/app/feature-extraction-menu/feature-extraction-menu.component.ts --- 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); diff -r a16d968d646e -r 89208e8af8cc src/app/services/feature-extraction/FeatureExtractionWorker.ts --- 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(); - 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([ - ['nnls-chroma', 'assets/extractors/NNLSChroma.js'], + // ['nnls-chroma', 'assets/extractors/NNLSChroma.js'], ['pyin', 'assets/extractors/PYin.umd.js'], ]); this.service = new ThrottledReducingAggregateService();