If I have an audio *WAV file or record and I want to extract this information from this audio by C# How I can do it? I want an easy way please Information I wanted to extract it
- Number of Samples
- Duration in seconds
- Sampling rate in Hertz
- Channels (Mono/Stereo)
- PCM
- Bit (8/16/24/32/64)
Here is the specification of the wav format header:
To inspect this data, you could read the file as a binary stream and then interpret the stream accordingly. This question should guide you.