I am now trying to understand how juce writes the wav header. I have been following along with this tutoral
and the canonical wave file format. Ignoring the space taken up by the junk chunk we can see that "fmt " is 66 6d 74 20. Following this I can see that this subchunk has a size of 40 (28hex -> 40dec) the next section should be the AudioFormat. I was expecting to see 01 00 here but instead found fe ff as the hex (does fe ff represent LPCM?). This doesn’t seem to make sense unless the data is compressed in some way. the number of channel and sample rate following the Audioformat section seem to be correct.
My question is what AudioFormat is juce using and is there a way to set it to PCM (ie linear quantization)? Are LPCM and PCM the same thing? And why is the subchunk1ID so long, is it storing extra JUCE related data/ what is it storing? Is there somewhere that explains how juce writes headers?
Thanks in advance I know this is a lot of questions
