jstrait / wavefile

A Ruby gem for reading and writing sound files in Wave format (*.wav)
https://wavefilegem.com
MIT License
208 stars 24 forks source link

no support for wave_format_extensible (0xfffe) #11

Closed multi-io closed 7 years ago

multi-io commented 10 years ago

When trying to read a wav file with WAVEFORMATEX encoding (format code 0xfffe/65534), wavefile bails out with:

Audio format is 65534, but only format code 1 (PCM) or 3 (floating point) is supported. (WaveFile::UnsupportedFormatError)
jstrait commented 10 years ago

Thanks for opening the issue! This is a known limitation, but I plan to add support for WAVEFORMATEX in a future release. (At the moment, I can't give a specific time frame).

jstrait commented 7 years ago

@multi-io v0.8.0 of this gem was released today, and includes support for reading Wave files using WAVEFORMATEXTENSIBLE.

However, here are some notes/limitations about the current implementation:

Since this feature has been implemented, closing this issue - thanks for opening it!