Thread: is it possible to generate wav file using C Language? How ?

  1. #1
    Registered User
    Join Date
    Mar 2008

    Question is it possible to generate wav file using C Language? How ?


    i am using Microsoft Speech SDK 5.1, i can successfully generate Voice of given Text, i don't know how to generate wave file of that generated Voice.

    i am new in Multimedia area. i want to know that is it possible to generate Wave file using C code. can anybody guide me, or provide me link from where i can get better idea to generate wave file using C

    i am using windowsXP, VC++ IDE.

    can anyone guide me.

  2. #2
    Join Date
    Oct 2007
    Inside my computer
    It is possible? Yes. Of course it is.
    Now. What do you want to create? Do you want to record something? Do you want to generate instruments, an orchestra, or something?
    WAV is a format that is intended to store real sound waves in digital format.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  3. #3
    Kernel hacker
    Join Date
    Jul 2007
    Farncombe, Surrey, England
    It looks like the function ISpVoice::SetOutput() can be used to direct the output to a "stream", which could be a file if I understand things right - but I've never used this SDK at all, just looking at the help file.

    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Newbie homework help
    By fossage in forum C Programming
    Replies: 3
    Last Post: 04-30-2009, 04:27 PM
  2. opening empty file causes access violation
    By trevordunstan in forum C Programming
    Replies: 10
    Last Post: 10-21-2008, 11:19 PM
  3. Can we have vector of vector?
    By ketu1 in forum C++ Programming
    Replies: 24
    Last Post: 01-03-2008, 05:02 AM
  4. help with text input
    By Alphawaves in forum C Programming
    Replies: 8
    Last Post: 04-08-2007, 04:54 PM
  5. C++ std routines
    By siavoshkc in forum C++ Programming
    Replies: 33
    Last Post: 07-28-2006, 12:13 AM