Thread: Microphone input

  1. #1
    Registered User
    Join Date
    Feb 2005
    Posts
    8

    Microphone input

    Hi all,

    I was thinking about somethings, and I wandered if it is possible to speak text in a microphone, and store it in some kind of var, or show it live on-screen. Is this possible with C++?

    MartijnG

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659
    Sure it is, but not without knowing which OS/Compiler/Graphics library you're using.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  3. #3
    Registered User
    Join Date
    Feb 2005
    Posts
    8
    Quote Originally Posted by Salem
    Sure it is, but not without knowing which OS/Compiler/Graphics library you're using.
    I'm using Dev C++ on a Windows XP machine. Sometimes I use M$ Visual C++. As graphic library I use OpenGL.

  4. #4
    Registered User
    Join Date
    Dec 2004
    Posts
    465
    Can't you only do that kind of stuff with DirectX since opengl is just low level rendering?
    My computer is awesome.

  5. #5
    Registered User
    Join Date
    Feb 2005
    Posts
    8
    Quote Originally Posted by cerin
    Can't you only do that kind of stuff with DirectX since opengl is just low level rendering?
    I don't know, but if so, I'm willing to learn DirectX

  6. #6
    Registered User
    Join Date
    Aug 2001
    Posts
    244
    well what you need is some audio library. direct x has one (direct sound).
    but direct x is a bad choice since its not platform independent.
    and better not start using platform dependent stuff - unless you really have to.

    i guess open al could do that.
    signature under construction

  7. #7
    Registered User Kybo_Ren's Avatar
    Join Date
    Sep 2004
    Posts
    136
    If you want to interpret microphone input (i.e. have the person say "fifteen" and a thing comes up on the screen that says, "15"), then you should *probably* get a bit more familiar with the language and libraries you plan to use.

    I'd have to recommend FMod for this if this is what you want to do. http://www.fmod.org

  8. #8
    Registered User
    Join Date
    Feb 2005
    Posts
    15
    Wouldn't you need to test the input for that type of stuff? Do some type of signal processing.... Or are you saying you already have a library to do that?
    -Sean

  9. #9
    Registered User
    Join Date
    Feb 2005
    Posts
    8
    Quote Originally Posted by coldfusion244
    Wouldn't you need to test the input for that type of stuff? Do some type of signal processing.... Or are you saying you already have a library to do that?
    No, I haven't got anything yet, because I don't know how to
    But I'll watch the content of the link given above, thanks!

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Input statement problem
    By une in forum C Programming
    Replies: 3
    Last Post: 05-29-2007, 11:16 PM
  2. For loop problems, input please.
    By xIcyx in forum C Programming
    Replies: 2
    Last Post: 04-22-2007, 03:54 AM
  3. I would love some input on my BST tree.
    By StevenGarcia in forum C++ Programming
    Replies: 4
    Last Post: 01-15-2007, 01:22 AM
  4. Stupid Question
    By digdug4life in forum C++ Programming
    Replies: 22
    Last Post: 05-17-2005, 11:43 AM
  5. Help with Input Checking
    By Derek in forum C Programming
    Replies: 7
    Last Post: 06-17-2003, 03:07 AM