*** Exception: bad PCM chunk size
- Dominant language
- Haskell
- Stars
- 4
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Description
I get
```
λ> w <- getWAVEFile "/tmp/32.wav"
*** Exception: bad PCM chunk size
CallStack (from HasCallStack):
error, called at ./Data/WAVE.hs:129:11 in WAVE-0.1.4-8i1KUwbYDI76VytDUuzQaO:Data.WAVE
```
when I export a file from Audacity using 32-bit float PCM. Is this library not meant to support the 32-bit float format?
(When I export as 16-bit signed PCM it works fine.)
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the failure with an Audacity-exported 32-bit float file such as /tmp/32.wav, then inspect Data/WAVE.hs around line 129 and the getWAVEFile entry point. Compare the failing format with the working 16-bit signed PCM case; done means 32-bit float PCM files are read without the bad PCM chunk size exception while existing 16-bit support remains working.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- haskell
- Domain
- audio-video-rtc
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100