# HG changeset patch # User Lucas Thompson # Date 1492776416 -3600 # Node ID 23db7139085a025f465937579261f54165f5e85a # Parent ac513d535be9364c5f0ffbade295a10702a818c2 rename, as a piper service is an implementation detail of the feature extraction service. diff -r ac513d535be9 -r 23db7139085a src/app/app.component.ts --- a/src/app/app.component.ts Fri Apr 21 13:00:24 2017 +0100 +++ b/src/app/app.component.ts Fri Apr 21 13:06:56 2017 +0100 @@ -26,7 +26,7 @@ private rootAudioUri: string; constructor(private audioService: AudioPlayerService, - private piperService: FeatureExtractionService, + private featureService: FeatureExtractionService, private iconRegistry: MdIconRegistry, private sanitizer: DomSanitizer) { this.analyses = []; @@ -53,7 +53,7 @@ } } ); - this.onProgressUpdated = this.piperService.progressUpdated$.subscribe( + this.onProgressUpdated = this.featureService.progressUpdated$.subscribe( progress => { const index = this.analyses.findIndex(val => val.id === progress.id); if (index === -1) return; @@ -107,7 +107,7 @@ progress: 0 }); - this.piperService.extract(`${this.countingId}`, { + this.featureService.extract(`${this.countingId}`, { audioData: [...Array(this.audioBuffer.numberOfChannels).keys()] .map(i => this.audioBuffer.getChannelData(i)), audioFormat: {