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

This is a discussion on is it possible to generate wav file using C Language? How ? within the C Programming forums, part of the General Programming Boards category; hi, i am using Microsoft Speech SDK 5.1, i can successfully generate Voice of given Text, i don't know how ...

  1. #1
    Registered User
    Join Date
    Mar 2008
    Posts
    2

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

    hi,

    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
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Posts
    23,021
    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
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    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.

    --
    Mats
    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, 05:27 PM
  2. opening empty file causes access violation
    By trevordunstan in forum C Programming
    Replies: 10
    Last Post: 10-22-2008, 12:19 AM
  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, 05:54 PM
  5. C++ std routines
    By siavoshkc in forum C++ Programming
    Replies: 33
    Last Post: 07-28-2006, 01:13 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21