aiff icon indicating copy to clipboard operation
aiff copied to clipboard

IsValidFile fails on aiff files generated by the Mac OSX `say` command.

Open ghost opened this issue 4 years ago • 1 comments

Thanks for your work in this, its great.

Here is a sample file, you can run it on the aifftowav sample code in this repository and IsValidFile returns false. I had to zip it, because GitHub doesnt allow aiff files.

If you comment out the IsValidFile check, the aifftowav command works fine.

melina~ακ.aiff.zip .

ghost avatar Apr 18 '22 04:04 ghost

i've filed a draft PR to try to resolve it,

it failed to read header - format not supported - [4]uint8{0x52, 0x49, 0x46, 0x46}

https://github.com/go-audio/aiff/pull/5

y-71 avatar Sep 22 '23 15:09 y-71