Mercurial > hg > ugly-duckling
diff src/app/app.component.ts @ 63:dc07ec243491
Use Collect instead of Process.
author | Lucas Thompson <dev@lucas.im> |
---|---|
date | Fri, 09 Dec 2016 14:06:44 +0000 |
parents | f31b14e2132e |
children | f5072712ddf5 |
line wrap: on
line diff
--- a/src/app/app.component.ts Fri Dec 09 14:06:04 2016 +0000 +++ b/src/app/app.component.ts Fri Dec 09 14:06:44 2016 +0000 @@ -38,7 +38,7 @@ extractFeatures(outputInfo: ExtractorOutputInfo): void { if (!this.canExtract || !outputInfo) return; this.canExtract = false; - this.piperService.process({ + this.piperService.collect({ audioData: [...Array(this.audioBuffer.numberOfChannels).keys()] .map(i => this.audioBuffer.getChannelData(i)), audioFormat: {