I'm currently trying to learn about how WAV files are processed and stored. Most of the resources I've looked at clearly explain how the head chunk is processed, but not the data (this is the one I've found the most helpful). From the WAV file I'm inspecting I get:
NumChannels = 2
SampleRate = 44100
BitsPerSample = 16
Subchunk2Size = 2056192 (11.65s audio file).
NumSamples = 514048
So from my understanding, 44100 samples are played in a second and each sample is 16-bits. There is a total of 514048 samples in this recording. But what about the number of channels? How does that effect reading the data? The resource I mentioned shows:
But I don't quite understand what this means. Isn't this showing a sample being 32-bit? And what about the right and left channels? Wouldn't they alternate? Why are they in groups of 2 before changing to the other channel?