This project has moved and is read-only. For the latest updates, please go here.

detect audio volume and pich in a song

Aug 28, 2014 at 9:49 AM
I have been looking all over he internet to find a way to detect the volume and pitch when audio is playing in my program. my audio is coming from cd drives, not using NAudio but I was wondering if you can still use it to detect volume and pitch. i'm a beginner so please don't bombard me with too complicated code plz. i'm using c# too.
Sep 2, 2014 at 12:22 PM
Well to get started, you can use WasapiCapture to record the audio. You'd need to turn the bytes into samples by using BitConverter.ToFloat (since they will be 32 bit floating point samples). That should get you started on detecting volume. Detecting pitch is a harder problem, and there are various different approaches