rochars / wavefile

Create, read and write wav files according to the specs. :star: :notes: :heart:
MIT License
226 stars 48 forks source link

Stereo to Mono and Mono to Stereo #12

Closed cdcv closed 5 years ago

cdcv commented 5 years ago

How can wavefile be used to change this? This is currently an important topic for speech recognition as data is often recorded as stereo, but needs to be submitted for recognition as mono.

Thanks!

rochars commented 5 years ago

The current version of wavefile does not support this. I will add this to the roadmap for a future release. Thanks!

itsalb3rt commented 4 years ago

Any notice ?

sandcobainer commented 4 years ago

Was this update completed? Although it's not a major roadblock in usage, it would be nice to provide a quick convertToMono function.

I believe wav.getSamples() already provides de-interleaved channel data and averaging the channels is a naive conversion to Mono from multi-channel audio

gokaybiz commented 8 months ago

Is there any update?