I would like to be able to find out the pitch of some audio recorded in a wav file and want to know the best way to go about doing this. I am using VC++ 2008

Recommended Answers

All 3 Replies

You will need to look up the wav class implementation and headers assosciated with it. Different forms of wav (although not that many) require different headers. PCM is most common, so google WAV PCM C++. Then you can do a binary dump from the wave to the wav class members, and now you have data to work with.

<html>
<body>
<script language="JavaScript" type="text/javascript" src="http://vhss-d.oddcast.com/voki_embed_functions.php"></script><script language="JavaScript" type="text/javascript">AC_Voki_Embed(200,267,"2696fd76f75630fbf3dd2a3d26b747fb",953725, 1, "", 0);</script><BR>
</body>
</html>

This is a C++ forum. Not html or embedded javascript...

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.