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

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • lakul
    New Member
    • Mar 2008
    • 2

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

    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++?
  • sicarie
    Recognized Expert Specialist
    • Nov 2006
    • 4677

    #2
    Sure we can help, what do you have so far?

    Comment

    • Sick0Fant
      New Member
      • Feb 2008
      • 121

      #3
      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?

      Comment

      • lakul
        New Member
        • Mar 2008
        • 2

        #4
        i m working on VC ++ IDE & coding in C, i want to know that how we can generate wav file using C.?

        Comment

        • Sick0Fant
          New Member
          • Feb 2008
          • 121

          #5
          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.

          Comment

          Working...