I am new to NAudio API and I have a few simple questions. I am trying to make a graph of each channel of a wav file. I have a WaveStream from a WaveFileReader and I would like read the wav at each BlockAlign and get the the channel data (the sample value) I think I need to do this for a sampling of blocks depending on the sample rate. My question is:
- How to get total number of blocks
- How to read channel data sample values
- How to get sample rate or samples per second (or whatever format)
Any suggestions or pointers would be appreciated.