View Single Post
  #2 (permalink)  
Old 09-24-2007, 01:21 PM
Clyde
Guest
 
Posts: n/a
Default Re: 32 bit integer WAV file writer?

Mikial Chubarov wrote:
> Hi All,
>
> Could someone please direct me to source code for generating 32 bit
> integer WAV files? Matlab C or C++ would be especially appreciated.
>
> Thanks,
>
> Mikial
>

In Matlab there's just a function (no source): wavwrite
http://www.mathworks.com/access/help.../wavwrite.html

(i don't think usually you need to rewrite a function like that in
matlab, so i doubt you can find any source in matlab source code)

in C/C++ there's a great open source library: libsndfile
http://www.mega-nerd.com/libsndfile/

otherwise you can just write yourself a routine, according to the wave
file format:
http://ccrma.stanford.edu/courses/42...ts/WaveFormat/

alternatively you can browse koders.com / google code search /
codeproject.com and search for an open source sw and learn how to do that

--

Clyde
Reply With Quote