|
Posted by amol (203.197.93.66) on September 19, 2003 at 23:46:17:
In Reply to: can i play or create wav files thru c or c++? posted by Murthy on September 08, 2003 at 12:33:42:
: : : 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).
|