Re: HELP!!! read/write WAV files for pitch shifting



jin_ge_ling@xxxxxxxxxxx wrote:

1. DirectX SDK consists of examples of CSound CWaveFiles...etc. that

I've seen some example code using CWaveFile and it was pretty horrible.

2. using mmioXXX functions seems to be another solution but again is

Those mmioXXX functions are even worse.

Try libsndfile:

http://www.mega-nerd.com/libsndfile/

which reads much more than just WAV files and works on unix, Linux,
MacOSX and windows.

oopss....forgot, im working on VC++, so sample codes in VC++ would be
helpful

Download the precompiled windows binaries of libsndfile at the above
URL.

Erik
--
-----------------------------------------------------------------
Erik de Castro Lopo
-----------------------------------------------------------------
"life is too long to know C++ well" -- Erik Naggum
.