Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / Managed C++ / September 2004

Tip: Looking for answers? Try searching our database.

saving a sound file

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Ehsan Sadeghi - 17 Sep 2004 11:53 GMT
Hello
can someone tell me how to save sound files and how to use them in a
program.
William DePalo [MVP VC++] - 17 Sep 2004 15:22 GMT
> can someone tell me how to save sound files and how to use them in a
> program.

You should post again in the multimedia group:

   microsoft.public.win32.programmer.mmedia

Just so you don't go away empty handed ...

Sound files (.wav) are comprised of a set of headers (called chunks) which
detail the size and presence of other chunks.
The last chunk is usually the "DATA" chunk which contains the digitized
audio samples. This should get you started:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/multimed/htm/_w
in32_multimedia_file_i_o.asp?frame=true


Regards,
Will
Lord2702 - 18 Sep 2004 06:14 GMT
Find out the Sound Recorder on your computer, somewhere in
Start->Accessories->Entertainment. Use this to record, sing a nice song, and
then save it as a file, it will save as .WAV format. Then you can use
playSound() windows API function to play this file.
Good Luck.

> Hello
> can someone tell me how to save sound files and how to use them in a
> program.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.