Okay, I'm given the task to write a tool that gets the volume level of each audio channel within a .wav file with 4 channels. I don't know how the data is arranged (i.e. how the channels are aranged byte wise), but I do know how to read a .wav file from scratch. Let's say samples are 16-bit, do I ready every fourth word to get the data per channel?
And if you're thinking of saying "use .ogg instead", just know that I can't because the tool that we are using here for my automation testing generates .wav files, and I have to build my autmation around this and more, so I won't bother with that.
Thanks,
Shogun.