Csound Csound-dev Csound-tekno Search About

Re: [programming] BMP <--> WAV

Date1999-08-03 16:30
FromWARD Giles
SubjectRe: [programming] BMP <--> WAV
> This has nothing to do with Csound, but since there are some pc/win95
> people
> here with sound and programming experience....I thought...
> 
> 
> My question is : I'm writing a tool for DOS that converts a BMP to WAV and
> vice
> versa. I have problems with the WAV header :  the dataheader (where the
> string
> "data" should be found has appearantly four (4) bytes to much...How can
> this
> be solved....instead of the string "DATA" I get a garbage ascii character.
> 
> 
> Has anyone experience with writing a WAV file reader/writer in PASCAL ???ยต
> I use Borland Pascal v7...
> 
Whilst we're on this subject, does the CSound source contain routines for
dealing with WAV/AIFF chunks?  Or does anyone know of good libraries for
doing so in C/VB/pascal?

Giles