ePanorama.net
[ index ][ back ][ site search ] [ acronyms ] [ discussion ] [ mail to a friend ] [ post message ]

ePanorama.net discussion forum archive 2001-2003

Re: can i play or create wav files thru c or c++?


[ Follow Ups ] [ Post Followup ] [ www.epanorama.net discussion index ] [ FAQ ]

Posted by babla (210.214.192.223) on October 14, 2003 at 09:31:14:

In Reply to: Re: can i play or create wav files thru c or c++? posted by s.somi reddy on February 16, 2003 at 07:31:03:

: : : : is it possible to create or play wav or midi files thru c or do i have to use some other format?

: : : You can create .WAV files from your own C or C++ program bu just simply writing the right codes from your own program to disk so that they make a valid .wav file. You can find a link to the specification of .wav file format at this site.
: : : The standard C or C++ language does not have any specific libraries for handling .WAV files, so you need to do your coding at very low level to handle those files unless you can find some source code for it written by some other people.

: : : You can play back .WAV files from C or C++ program in most operating systems. C or C++ standard does not have any standard libraries for this. How playing back this kind of files is operating system specific. So you need to specify your operating system to get more information on this.

: : : There are though some cross-platform libraries for media file playback (take a look at SDL SImple Directmedia Library, you should find link to it in this site).




Follow Ups:



Post a Followup


[ Follow Ups ] [ Post Followup ] [ www.epanorama.net discussion index ] [ FAQ ]

[ webmaster ] [ feedback ] [ friend ][ main index ] [ Disclaimer ] [ Legal Notice ]
Copyright 2004 ELH Communications Ltd. all rights reserved.