FR: update juce::WavAudioFormat to read 64 bit double .wav files

On line 1694 of juce::WavAudioFormat:

if (r->sampleRate > 0 && r->numChannels > 0 && r->bytesPerFrame > 0 && r->bitsPerSample <= 32)

It would be great if Juce could read 64 bit double .wav files.

Almost all DAW’s and consumer music software players can read 64 bit .wav files. My convolution project requires both 32 bit float and 64 bit double FIR filter formats to be supported as these FIR filters are generated by 3rd party DSP products. While I understand Juce 6 convolver does not process 64 bit doubles (as the FFT used is 32 bit), a 3rd party convolver could, such as:

In the meantime, it there a workaround or a 3rd party library that could work in this scenario to read 64 bit double .wav files?

Kind regards,

Part of the issue here is that the pipeline for the codecs in JUCE would need to be upgraded to support double. As of now, it’s only capable of supporting float (among the integral to float inter-conversions).

Thanks @jrlanglois I appreciate your input. Looks like it is not a simple FR…

Have you looked at this?

@asimilon No, I have not. Thanks!