By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,190 Members | 944 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,190 IT Pros & Developers. It's quick & easy.

sound in C/C++

P: n/a
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

Jul 1 '06 #1
Share this Question
Share on Google+
2 Replies


P: n/a
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
Jul 1 '06 #2

P: n/a
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

Jul 1 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.