473,513 Members | 2,558 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to Create Simple Wav file playing "Hello World" ? Using C/C++

2 New Member
Hi everyone

i m new to this topic. i would like to know that, how we can create simple wave file of 8bit mono ?

can anybody guide me to learn out this wonderfull feature of C/C++?
Mar 12 '08 #1
4 2955
sicarie
4,677 Recognized Expert Moderator Specialist
Sure we can help, what do you have so far?
Mar 12 '08 #2
Sick0Fant
121 New Member
Are you programming on Windows? Also, your title makes it sound like you'd be playing the wav, and your question sounds like you're trying to "create" one. Which is it?
Mar 12 '08 #3
lakul
2 New Member
i m working on VC ++ IDE & coding in C, i want to know that how we can generate wav file using C.?
Mar 13 '08 #4
Sick0Fant
121 New Member
Well, I'm still not sure what you mean by "generate." Do you want your code to somehow create a sound file? I can't immediately imagine how that would work.

If you just want to play a sound, use PlaySound() in your wndproc when you handle whatever event will trigger it.
Mar 13 '08 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

9
6647
by: PG | last post by:
Hi gurus, I have AIX visual age C++ compiler version 5.0.2.3. I have a simple hello world program that gives compilation errors. Any help will be appreciated. Thanks PG ***test.cpp**** ...
6
4104
by: Matthew | last post by:
How would I go about creating a simple "hello world" program that will run in Unix. I am using MS Visual C++.
8
7549
by: vijay | last post by:
Hello, As the subject suggests, I need to print the string in the reverse order. I made the following program: # include<stdio.h> struct llnode { char *info;
4
3863
by: kiln | last post by:
I have a simple simple ws that runs fine locally. I'd like to put it up on a public asp.net website as a test. All of the examples seem to stop describing the creation of a bare bones ws with a...
0
1427
by: Thomas Blabb | last post by:
Sorry for this question but how do I write a simple "Hello world" HTML page from a perl script? In other words if I click in an already existing html page on a link like: .... <a...
5
1862
by: Greg Smith | last post by:
I am making the step from windows to web. The final destination is our production server running Server 2003 Web Edition. I am having problems using the BUILD | PUBLISH WEB SITE option. What...
2
2693
by: alberto | last post by:
I am Very new to .net but have experience with C++ and other languages. Can somebody point me to a "hello world" database program? Create one table (managed to do that with an .mdf database file...
0
4595
by: devito | last post by:
hi there, for some days i try to build the boost.python tutorial "hello world" without bjam on winxp by using mingw. so i wrote a *.bat-file like the following: // --- snip...
0
1469
by: Gerardo Herzig | last post by:
Hi all. Im having some "problems" with a small concurrent plpython function. Based on a small example about concurrent programming, there is some code which works fine under python: #!...
0
7160
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7384
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7537
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7099
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7525
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5685
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
1594
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
799
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
456
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.