sound in C/C++

Discussion in 'C++' started by sluox, Jul 1, 2006.

  1. sluox

    sluox Guest

    i need to implement a function that's analogous to MATLAB's "sound"
    function.

    i.e., converting a vector into a sound that gets played by the speaker.

    is there a crossplatform implementation of such functions in strictly
    C/C++? (for instance with OpenAL?)

    thanks

    Sean
     
    sluox, Jul 1, 2006
    #1
    1. Advertising

  2. sluox

    Alan Johnson Guest

    sluox wrote:
    > i need to implement a function that's analogous to MATLAB's "sound"
    > function.
    >
    > i.e., converting a vector into a sound that gets played by the speaker.
    >
    > is there a crossplatform implementation of such functions in strictly
    > C/C++? (for instance with OpenAL?)
    >
    > thanks
    >
    > Sean
    >


    No. Neither C nor C++ specify any method by which to control a
    computer's sound facilities.

    --
    Alan Johnson
     
    Alan Johnson, Jul 1, 2006
    #2
    1. Advertising

  3. sluox

    Luke Meyers Guest

    sluox wrote:
    > i need to implement a function that's analogous to MATLAB's "sound"
    > function.
    >
    > i.e., converting a vector into a sound that gets played by the speaker.
    >
    > is there a crossplatform implementation of such functions in strictly
    > C/C++? (for instance with OpenAL?)


    The answer would have to be no, since not all platforms have the
    capability for sound.

    Also, there is no such language as C/C++.

    Luke
     
    Luke Meyers, Jul 1, 2006
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. YeeCN

    How to beep or play any sound?

    YeeCN, May 10, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    555
    Guest
    May 13, 2004
  2. Vanessa
    Replies:
    1
    Views:
    599
    Jan Hyde
    Aug 4, 2005
  3. Bruce W.1

    Kill the tick sound on refresh?

    Bruce W.1, Feb 2, 2004, in forum: ASP .Net
    Replies:
    4
    Views:
    809
    charles
    Feb 3, 2004
  4. Luc The Perverse

    Sound Quality In Sound API

    Luc The Perverse, Oct 30, 2005, in forum: Java
    Replies:
    4
    Views:
    1,501
    Andrew Thompson
    Oct 31, 2005
  5. Replies:
    0
    Views:
    517
Loading...

Share This Page